1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-06-30 08:24:05 +00:00
Commit Graph

3628 Commits

Author SHA1 Message Date
Sergey Lipskiy
ca68dc3675 Do not fail if indices of barycoords attributes are greater or equal to max vertex attributes. 2020-12-27 13:11:32 +07:00
S2S
2f8372c113 Cleanup coverage calculation 2020-12-27 12:20:46 +07:00
S2S
a214ab822e Standarize the number of barycentric coordinate vertex attributes.
Use only two coordinates as vertex attributes for triangles to match the number of coordinates rectangles use. The third one can be computed in the vertex shader.
2020-12-27 12:20:42 +07:00
Sergey Lipskiy
47054eabc0 Add enableCoverage setting.
Not implemented for GLideNUI-wtl yet.
2020-12-27 12:20:39 +07:00
Sergey Lipskiy
2233cf9f04 Support 'barycoords' vertex attribute in unbuffered drawer. 2020-12-27 12:20:35 +07:00
S2S
61172283c1 Update blender to use coverage 2020-12-27 12:20:19 +07:00
S2S
fa848dc3f9 Fix issue with dual source blending 2020-12-27 12:01:16 +07:00
S2S
fdf3bc4f21 Compute coverage value 2020-12-27 12:01:16 +07:00
S2S
486cf59614 Load barycentric coordinates as vertex attributes 2020-12-27 12:01:16 +07:00
Sergey Lipskiy
192317955e Limit maxMSAALevel by 16. 2020-12-26 10:24:00 +07:00
Rosalie Wanders
ddec3866a7 Implement cross-platform max MSAA level detection 2020-12-26 10:23:54 +07:00
Sergey Lipskiy
f04ac8296d Implement max MSAA level detection.
Zilmar spec and Windows only.

Fixes #2216 MSAA max not 16x in UI
2020-12-26 09:51:32 +07:00
Rosalie Wanders
deb84826e4 Implement linux support for OSD font settings 2020-12-25 20:19:54 +07:00
Rosalie Wanders
6d47fa5c48 GLideNUI: attempt to mkdir texture pack directories 2020-12-25 20:03:52 +07:00
Rosalie Wanders
1833971dc5 GLideNUI: correct macro in saveCustomRomSettings 2020-12-25 19:59:42 +07:00
Sergey Lipskiy
8d028a9eaf Add debug option to force enable unbuffred drawer. 2020-12-23 17:09:55 +07:00
fzurita
3b6aa38b14 Disable "draw_elements_base_vertex" extension if renderer is PowerVR and
GLES is < 3.2
2020-12-21 12:02:04 +07:00
fzurita
c39df6b8c2 Fix issues with post processing and scaling changes 2020-12-20 18:38:20 +07:00
fzurita
8f387f2d08 Enable blast corps hack for frame buffer fetch blending 2020-12-20 18:26:58 +07:00
fzurita
02e6ccb3ef Fix missing check for frame buffer fetch in unemulated blending modes 2020-12-20 18:26:58 +07:00
fzurita
895401f981 Cleanup unneeded code 2020-12-17 17:57:37 +07:00
retropieuser
37a3d6e75b Update GLideN64.custom.ini
Disabling Depth compare option on DK64 to fix camera bug
2020-12-06 21:25:28 +07:00
Sergey Lipskiy
8500bc08e2 Add hotkey for "force gamma correction" setting.
Fixed #2318 Request: Keyboard shortcut to enable Custom Gamma Correction Levels
2020-12-05 17:35:02 +07:00
Sergey Lipskiy
22842a56fc Disable all hotkey by default.
Fixes #2394 Can't disable or change default hotkeys for GLideN64
2020-12-05 16:02:06 +07:00
Sergey Lipskiy
93524b65f7 Fix compilation of GLideNUI-WTL.
Hotkeys are not supported in wtl ui yet.
2020-12-02 18:14:08 +07:00
Rosalie Wanders
1e07bbcbb0 osal_keys_unix: add linux support 2020-12-02 18:14:08 +07:00
Sergey Lipskiy
abb9108f14 Implement configurable hotkeys. 2020-12-02 18:14:08 +07:00
Sergey Lipskiy
7a38e80448 Correct TxFilter::TxFilter - remove colon in rom name. 2020-11-25 16:58:48 +07:00
dankcushions
cb76d2f39d Added check for GL_EXT_draw_elements_base_vertex 2020-11-25 12:49:27 +07:00
dankcushions
0e228e9109 Removed GLES version check for glBufferStorage, allowing for any device that supports it. 2020-11-25 12:47:03 +07:00
Rosalie Wanders
3df9b2c312 DisplayWindowMupen64plus: disable WithRate function on any failure 2020-11-23 14:51:28 +07:00
Rosalie Wanders
07ce8f7bcb FrameBuffer: don't resolve multisampled texture when m_pResolveTexture is null 2020-11-23 14:48:58 +07:00
Rosalie Wanders
5f1803ab29 Introduce pluginNameWithRevision 2020-11-19 16:50:32 +07:00
S2S
bb05409c16 Disable clamping for special textures 2020-11-16 10:40:47 +07:00
fzurita
e89f5fedcc Fix build error and warning with Android 2020-11-16 10:39:10 +07:00
Sergey Lipskiy
78c89fbbfd Fix some of PVS-Studio warnings. 2020-11-14 20:00:19 +07:00
Sergey Lipskiy
46c65776a0 Code refactor and cleanup:
* type cast fixes
* signed/unsigned fixes
* code formatting fixes
* class members initialization fixes
2020-11-14 16:54:28 +07:00
Sergey Lipskiy
ddd93673d8 Fixed some undefined behaviour errors found in #2364 2020-11-14 16:50:50 +07:00
gizmo98
ec02cc722f Spread bayer matrix
Multiplay matrix values with 2.0f so values are better spread between
1.0 and 0.0.
2020-11-13 10:08:04 +07:00
gizmo98
93ddc890e2 Use angrylion's magic square matrix
We use a precalculated matrix for float color values. It’s angrylion’s
matrix divided bei 16.0f * 2.0f.
2020-11-13 10:08:04 +07:00
Sergey Lipskiy
039581d882 Remove 'branches:' section from appveyor.yml 2020-11-12 15:15:06 +07:00
fzurita
9aec59056f Fix some shader compilation issues 2020-11-11 13:34:45 +07:00
S2S
ff62e3cf18 Cleanup blending code
Abstract extension specific code to fragment shader header
2020-11-11 13:34:45 +07:00
fzurita
f01405bc75 Implement N64 blending using framebuffer fetch extensions 2020-11-11 13:34:45 +07:00
fzurita
d509758b6f Disable dual source blending for Adreno, it causes GPU driver crashes 2020-11-11 13:34:45 +07:00
fzurita
1b70d5b145 Fix shader compilation errors with Adreno GPUs with hybrid filter 2020-11-11 13:34:45 +07:00
Sergey Lipskiy
e81022ad71 Correct _calculateCRC:
tile tmem address can be set to a value greater than 512, that is above TMEM size.
It should be used with proper mask for tileTmemInBytes calculation.

Fixed #2360 Castlevania 64 Crash
2020-11-10 15:41:35 +07:00
IlDucci
a11a0208c9 Updating Spanish translation with the latest changes. 2020-11-09 14:22:03 +07:00
Jj0YzL5nvJ
d51ced969e Ugly script for power users and practical folk, lazy ones too 2020-11-09 14:10:00 +07:00
Sergey Lipskiy
b6e030c8b8 [Code cleanup] Fix spaces. 2020-10-31 15:40:03 +07:00