Commit Graph

25162 Commits

Author SHA1 Message Date
Henrik Rydgård
80e7f083e3
Merge pull request #11632 from orbea/gles
SDL: Allow toggling fullscreen for GLES2 on desktops.
2018-12-03 17:13:01 +01: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
orbea
2bbe0d7e65 SDL: Allow toggling fullscreen for GLES2 on desktops.
Fixes https://github.com/hrydgard/ppsspp/issues/11627
2018-12-02 20:03:54 -08: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
Henrik Rydgård
5bc7291d2b Merge branch 'stencil-skip' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-stencil-skip 2018-12-02 21:38:03 +01:00
Henrik Rydgård
066b4c68db
Merge pull request #11621 from unknownbrackets/gles-default
Vulkan: Avoid using Vulkan by default
2018-12-02 17:13:38 +01:00
Unknown W. Brackets
f109c820f2
Merge pull request #11622 from 6alileo/patch-1
Madcatz Fightpad SFvTekken / Hori Mini Wired 4
2018-12-01 19:05:19 -05:00
6alileo
c90ff6f59d
Madcatz Fightpad SFvTekken / Hori Mini Wired 4 2018-12-01 16:01:57 -08:00
Unknown W. Brackets
f88dc9e821 GE Debugger: Allow relative prim counts. 2018-12-01 15:50:20 -08:00
Unknown W. Brackets
8b6221e852 Vulkan: Avoid using Vulkan by default.
Bugs on Adreno, some issues on Intel and AMD.
Let's instead prefer Direct3D 11 or GLES for now.
2018-12-01 14:57:18 -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
Henrik Rydgård
c3bd375048
Merge pull request #11618 from unknownbrackets/io-error
Io: Ensure sign extension for error codes
2018-12-01 23:02:49 +01: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
ac6106af03 Io: Ensure sign extension for error codes.
The ternary `cond ? EnumValue : IntValue` was not sign extending
consistently across compilers, but we actually want it to always sign
extend in either case.
2018-12-01 09:43:02 -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
Henrik Rydgård
b95c76f3bb Update lang again 2018-12-01 12:30:31 +01:00
Unknown W. Brackets
d573bf9cc9 Headless: Fix compare for 16-bit output.
Most tests have been 32-bit output, so haven't run into this.  Enables
tests with softgpu to generate 16-bit output.
2018-11-30 17:46:47 -08: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
Henrik Rydgård
d1cf34cdf3
Merge pull request #11613 from unknownbrackets/cullmode
GPU: Force use of indexes on cull mode flip
2018-11-30 20:57:21 +01: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
Henrik Rydgård
636a7a2601 Update lang 2018-11-30 10:57:56 +01:00
Henrik Rydgård
3531284623
Merge pull request #11612 from unknownbrackets/cullmode
GPU: Properly flip cull on simple triangle lists
2018-11-30 07:26:40 +01: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
Henrik Rydgård
93bb96dbdb
Merge pull request #11609 from unknownbrackets/win-menu
Windows: Translate all items by id, not position
2018-11-29 08:33:41 +01:00
Unknown W. Brackets
db7cdce27c Windows: Define menu item text in menu only.
Except Run/Stop which changes, let's not use this parameter.
2018-11-28 22:06:47 -08:00
Unknown W. Brackets
46063961a8 Windows: Translate all items by id, not position.
Fixes #11571.
2018-11-28 21:46:55 -08:00
Henrik Rydgård
9bda7cb64e
Merge pull request #11600 from sum2012/yugioh-save-tool
yugioh save fix tool
2018-11-28 01:04:13 +01:00
sum2012
b82b42fab0 Use compat setting instead 2018-11-27 22:45:51 +08:00
Henrik Rydgård
a0c061a37d
Merge pull request #11602 from mrfixit2001/patch-1
Avoid possible compile error: conflicting defs
2018-11-26 22:54:16 +01: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
sum2012
ee34a73e80 yugioh save fix tool 2018-11-26 21:34:00 +08: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
8e56c62c28
Merge pull request #11592 from unknownbrackets/savestate
SaveState: Retry failed state screenshots
2018-11-25 19:02:21 +01:00
Unknown W. Brackets
38461ed821 UI: Allow sorting saves by date too. 2018-11-25 08:21:31 -08:00
Unknown W. Brackets
b8b4763ef2 SaveState: Retry failed state screenshots.
See #10815 - happens when the device is resized before the save state.
2018-11-25 08:20:23 -08:00
Unknown W. Brackets
2582e3e89e
Merge pull request #11590 from hrydgard/attempt-fix-glsl-depal
Attempt to fix glsl depal error reported in #11588 (ATI/AMD)
2018-11-25 09:18:40 -05:00
Henrik Rydgård
c5c1c46f38 Attempt to fix glsl depal error reported in #11588 (ATI/AMD) 2018-11-25 11:33:02 +01:00
Henrik Rydgård
04f57bd49b
Merge pull request #11584 from unknownbrackets/depal
D3D11: Allow shader blend to self
2018-11-24 22:23:10 +01:00
Unknown W. Brackets
c2e7263601 D3D11: Correct shader bounds apply. 2018-11-24 10:51:47 -08:00