Henrik Rydgård
683a4e0fb2
Merge pull request #11676 from unknownbrackets/gles-depth
...
WIP - GLES: Download depth values via shader
2018-12-19 09:58:38 +01:00
Unknown W. Brackets
08d71cef50
GLES: Simplify depth download shader.
...
Fixes it on Adreno, no need to do the constant math in the shader.
2018-12-18 21:47:21 -08:00
Henrik Rydgård
9fd8d3b911
Fix bug in #11681
2018-12-18 17:01:16 +01:00
Henrik Rydgård
a73c569bf6
Add check for GL_FRAGMENT_PRECISION_HIGH for GLES in stencil code.
2018-12-18 14:30:05 +01:00
Henrik Rydgård
a2cc2b39ca
Additional raw string shaders
2018-12-18 10:42:29 +01:00
Henrik Rydgård
de4dec2a80
Use raw strings for more shaders
2018-12-18 10:37:45 +01:00
Henrik Rydgård
2d01db805e
Remove no-op DrawBuffer::End()
2018-12-18 10:10:53 +01:00
Unknown W. Brackets
27e8720e14
GLES: Download depth values via shader.
...
Working on desktop, but not on mobile...
2018-12-16 17:34:16 -08:00
Unknown W. Brackets
e49568f67d
GLES: Move depth packing code to dedicated file.
2018-12-16 17:34:16 -08:00
Henrik Rydgård
b2e1e3c84d
Merge pull request #11675 from unknownbrackets/softgpu
...
SoftGPU: Respect stencil write mask on test fail
2018-12-17 00:08:43 +01:00
Henrik Rydgård
3ad168e1a9
Merge pull request #11674 from unknownbrackets/spline-cull
...
GPU: Fix curve breakage due to cull flipping
2018-12-16 22:38:26 +01:00
Unknown W. Brackets
aa3b026bfe
SoftGPU: Fix crash on garbage index data.
2018-12-16 13:16:05 -08:00
Unknown W. Brackets
0f880696be
SoftGPU: Respect stencil write mask on test fail.
2018-12-16 13:13:54 -08:00
Unknown W. Brackets
8a7ec4fc19
GPU: Fix curve breakage due to cull flipping.
2018-12-16 13:00:36 -08:00
Unknown W. Brackets
ebdecb6583
Merge pull request #11656 from hrydgard/disable-vendor-checks
...
VK: Add INI options to disable some vendor checks
2018-12-15 07:39:08 -08:00
Henrik Rydgård
d82ec339ee
Remove the DisableShaderCache setting, rename the other
2018-12-15 10:44:05 +01:00
Henrik Rydgård
749163beca
Merge pull request #11667 from hrydgard/remove-truecolor
...
Remove outdated TrueColor setting.
2018-12-14 18:58:24 +01:00
Henrik Rydgard
56bc7b1d52
Remove outdated TrueColor setting.
2018-12-14 16:13:44 +01:00
Henrik Rydgard
3f8aec5147
Remove the "Disable stencil test" hack. Doesn't seem to serve much purpose anymore.
2018-12-14 13:54:03 +01:00
Henrik Rydgård
60a81a6144
Merge pull request #11658 from unknownbrackets/ui-minor
...
Windows: Hide Vulkan/D3D11 if not available
2018-12-11 12:13:00 +01:00
Unknown W. Brackets
bb7d9646f2
GE Debugger: Fix dump replay ticks accounting.
...
Sometimes a list ends earlier than now, we don't need to eat cycles then.
Fixes #11655 .
2018-12-10 23:05:42 -08:00
Henrik Rydgård
25b2ba013b
VK: Add INI options to disable some vendor checks, and to disable the shader cache.
2018-12-11 00:36:15 +01:00
xebra
070e29d921
Disable "Edit & Continue" with VS debug mode.
2018-12-07 13:01:16 +09:00
Henrik Rydgård
ab7bd6fc67
Merge pull request #11624 from unknownbrackets/shaderid
...
GPU: Ignore light params for shade mapping in shader id
2018-12-03 09:35:10 +01:00
Unknown W. Brackets
482487dd8d
GPU: Ignore light params for shade mapping.
...
They aren't part of the equation, so this simplifies and slightly reduces
number of shaders.
2018-12-02 14:11:19 -08:00
Henrik Rydgård
95ffa15a84
Merge pull request #11616 from unknownbrackets/debugger
...
GE Debugger: Allow jumping to a specific prim
2018-12-02 22:15:52 +01:00
Henrik Rydgård
d9cfa3a8fa
Bump shader caches
2018-12-02 21:49:20 +01:00
Unknown W. Brackets
f88dc9e821
GE Debugger: Allow relative prim counts.
2018-12-01 15:50:20 -08:00
Unknown W. Brackets
9a7ee41191
Vulkan: Avoid OpKill workaround with no stencil.
...
It seems like depth gets messed up either way on discard, but behaves
sorta better without the write to depth.
2018-12-01 14:10:47 -08:00
Unknown W. Brackets
5932cbabc3
GPU: Avoid stencil emulation if possible.
...
This reduces use of replaceAlpha, and reduces use of more complicated
blend states. This simplifies fragment shaders a little.
2018-12-01 14:05:29 -08:00
Unknown W. Brackets
d8c80afe59
GPU: Dirty stencil on stencil mask change.
...
Otherwise it doesn't always apply.
2018-12-01 14:00:32 -08:00
Unknown W. Brackets
b1e68c653c
GPU: Avoid a missing virtual destructor warning.
2018-12-01 13:59:47 -08:00
Unknown W. Brackets
e029168be2
GE Debugger: Allow jumping to a specific prim.
...
This will make the most sense when frames are relatively stable, and works
great for GE dumps.
2018-12-01 06:40:27 -08:00
Unknown W. Brackets
4d5c8fcff4
GE Debugger: Track a counter of prims.
2018-12-01 06:26:35 -08:00
Henrik Rydgård
571ea0eec5
Merge pull request #11614 from unknownbrackets/headless
...
Headless: Allow startup using NULL draw context
2018-12-01 12:47:52 +01:00
Unknown W. Brackets
6d8b78f523
Headless: Allow startup using NULL core.
...
Or maybe we should have a dummy Draw context...
2018-11-30 17:45:54 -08:00
Unknown W. Brackets
7b815af331
GPU: Force use of indexes on cull mode flip.
...
Since we flip in the index, it can't be pure in this case.
2018-11-30 07:22:28 -08:00
Unknown W. Brackets
d3db565344
GPU: Maintain a bit more state in inner-prim loop.
...
Trying to make dumps properly trigger this optimization, but they still
sometimes get flattened and don't.
2018-11-29 19:28:10 -08:00
Unknown W. Brackets
1517d66d4e
GPU: Properly flip cull on simple triangle lists.
...
Fixes #11601 .
2018-11-29 19:03:38 -08:00
mrfixit2001
53e6fbadf4
fix ifdef vs if defined
2018-11-26 16:02:25 -05:00
mrfixit2001
0ab6c59fbe
Avoid possible compile error: conflicting defs
...
In some cases, depending on the build flags, these two lines can be actively compiled at the same time, resulting in a conflicting definitions error:
https://github.com/hrydgard/ppsspp/blob/master/GPU/Common/DrawEngineCommon.h#L41
https://github.com/hrydgard/ppsspp/blob/master/GPU/Common/TextureDecoder.h#L88
I believe all that's necessary here is to add these "or" clauses to avoid it and safeguard against the error.
2018-11-26 14:59:14 -05:00
Henrik Rydgård
d08a2eed6d
Merge pull request #11594 from unknownbrackets/cullmode
...
GPU: Correctly flush on cull mode change
2018-11-26 09:29:15 +01:00
Henrik Rydgård
a3bf2ee626
Merge pull request #11597 from unknownbrackets/softgpu-texmtx
...
SoftGPU: Calculate texcoords in transform
2018-11-26 09:28:44 +01:00
Unknown W. Brackets
3c5455f85b
SoftGPU: Calculate texcoords in transform.
...
No need to do it in rasterization, and should be faster to do it on the
verts, anyway. This fixes the software issue of #11595 , presumably
because of the w handling.
2018-11-25 19:19:11 -08:00
Unknown W. Brackets
1f898e3b70
GPU: Correctly flush on cull mode change.
...
Fixes #11593 and fixes #11591 .
2018-11-25 16:56:39 -08:00
Henrik Rydgård
c5c1c46f38
Attempt to fix glsl depal error reported in #11588 (ATI/AMD)
2018-11-25 11:33:02 +01:00
Unknown W. Brackets
c2e7263601
D3D11: Correct shader bounds apply.
2018-11-24 10:51:47 -08:00
Unknown W. Brackets
fd97d82c71
D3D9: Correct shader bounds apply.
...
Also, use triangle strip like D3D11.
2018-11-24 10:47:49 -08:00
Unknown W. Brackets
d9510f8824
D3D11: Allow shader blend to self.
...
It was forcing from black before. See #9616 .
2018-11-24 10:19:28 -08:00
Unknown W. Brackets
e664e1c1dd
SoftGPU: Oops, properly apply pixel mask in 16-bit.
2018-11-23 07:57:39 -08:00