Commit Graph

32618 Commits

Author SHA1 Message Date
Henrik Rydgård
79ee532609 Fix feature checks 2022-08-09 20:05:44 +02:00
Henrik Rydgård
252550fbd2 Enable framebuffer depth blits through raster. Fixes games like Jeanne D'Arc on D3D9. 2022-08-09 20:00:32 +02:00
Henrik Rydgård
131098c4d4 Some enum renaming, move RasterChannel to GPU.h. 2022-08-09 19:58:48 +02:00
Henrik Rydgård
1913930541 Careful with mipmaps on old OpenGL ES. Lost this check in the refactor, made it clearer than before at least.
Fixes Burnout rendering issue mentioned in #15818
2022-08-09 17:26:39 +02:00
Henrik Rydgård
6c46095c3a
Merge pull request #15820 from hrydgard/depal-shadergen-fix
Switch the depal shader generator to use the ShaderWriter, fix some issues
2022-08-09 16:34:25 +02:00
Henrik Rydgård
852c395fb7 Texcoord attrs must be called a_texcoord0, this should be fixed. Oh well.
Also small fix for depth in float-depal.
2022-08-09 16:07:02 +02:00
Henrik Rydgård
83fd8a2fd8 Convert depal shaders to use the ShaderWriter. Add tests for depal shaders. 2022-08-09 15:32:27 +02:00
Henrik Rydgård
9bd4201c83 Cleanup 2022-08-09 10:47:54 +02:00
Henrik Rydgård
46342ee92d Warning fix 2022-08-08 16:42:29 +02:00
Henrik Rydgård
9a678406b9 Remove BGRA color swap in depal for D3D, no longer needed (and breaks Simpsons) 2022-08-08 14:10:55 +02:00
Henrik Rydgård
8c56a00f1e
Merge pull request #15811 from xujibbs/patch-41
Update zh_CN.ini
2022-08-08 08:33:51 +02:00
xujibbs
7c6de44e57
Update zh_CN.ini 2022-08-08 13:25:36 +08:00
Henrik Rydgård
5434bd83ea
Merge pull request #15807 from unknownbrackets/gles-colors
GLES: Correct alpha check for depal framebuffers
2022-08-07 22:56:16 +02:00
Henrik Rydgård
0c5ff83890
Merge pull request #15809 from unknownbrackets/warnings
Headless: Cleanup unused/leak warnings
2022-08-07 22:55:30 +02:00
Henrik Rydgård
069559023b
Merge pull request #15808 from unknownbrackets/mac-warning
UI: Show better warning on MAC reset
2022-08-07 22:55:01 +02:00
Unknown W. Brackets
5246d901ce Headless: Cleanup unused/leak warnings. 2022-08-07 12:10:17 -07:00
Unknown W. Brackets
ade6be4052 UI: Show better warning on MAC reset. 2022-08-07 08:48:27 -07:00
Unknown W. Brackets
a0808dc75a Lang: Fix some mismatched lang keys. 2022-08-07 08:39:55 -07:00
Unknown W. Brackets
2ca696ea36 Build: Remove no-format. 2022-08-07 07:52:13 -07:00
Unknown W. Brackets
e3763d9c4e Common: Avoid format warning with log timestamp. 2022-08-07 07:51:27 -07:00
Unknown W. Brackets
e589b4506b GLES: Correct alpha check for depal framebuffers. 2022-08-07 07:43:10 -07:00
Henrik Rydgård
929266cc9e
Merge pull request #15805 from fp64/add-wformat
Add -Wformat (see issue #15792), no idea if ok.
2022-08-07 15:57:47 +02:00
fp64
48aed2fabc
Add -Wformat (see issue #15792), no idea if ok.
Unfamiliar with CMake, just added a couple of lines at relevant-looking place.

I did, at least, test that is compiles (and enables that flag) on my machine.
2022-08-07 09:12:58 -04:00
Henrik Rydgård
119137ee6a
Merge pull request #15804 from hrydgard/gles-fixes
Fix OpenGL ES crash in blit if copies not supported, fix raster blit
2022-08-07 12:51:36 +02:00
Henrik Rydgård
5bf7b56305 Oops, this iOS check was still required. 2022-08-07 12:04:41 +02:00
Henrik Rydgård
d61909ca91 More framebuffer blit fixes. 2022-08-07 12:02:06 +02:00
Henrik Rydgård
1dabb54df5 Improve the NPOT check 2022-08-07 11:50:23 +02:00
Henrik Rydgård
4ff8f85110 Forgot these... 2022-08-07 11:48:59 +02:00
Henrik Rydgård
6f1f482432 Make GLQueueRunner/RenderManager aware of device caps, use it to check for NPOT and some other stuff 2022-08-07 11:15:23 +02:00
Henrik Rydgård
b91ad1d2d7 Remove optimization in BlitUsingRaster that shouldn't have been there (redundant, lacked feature check) 2022-08-07 10:55:44 +02:00
Henrik Rydgård
1fb04a7d33
Merge pull request #15798 from unknownbrackets/gpu-minor
Cleanup some stencil upload things, clarify alpha skipping
2022-08-07 08:36:02 +02:00
Henrik Rydgård
ecf9974653
Merge pull request #15797 from raing3/improve_cheat_import_parsing
Fixed infinite loop and crash which could occur when using "Import fr…
2022-08-07 08:32:25 +02:00
Henrik Rydgård
14b3357045
Merge pull request #15801 from unknownbrackets/gles-draw2d
GLES: Correct semantic name for Draw2D
2022-08-07 07:41:56 +02:00
Unknown W. Brackets
b87854bc66 GLES: Correct semantic name for Draw2D.
Draw hardcodes the names.  Fixes #15799.
2022-08-06 22:13:03 -07:00
Unknown W. Brackets
c212bd0fec GPU: Clarify new framebuf stencil upload.
Actually, this doesn't need alpha either.
2022-08-06 21:18:48 -07:00
Unknown W. Brackets
71d66ae1ec Dialog: Add missing header for MSVC 2017. 2022-08-06 21:13:39 -07:00
Unknown W. Brackets
20c2ec1392 GPU: Skip alpha stencil upload when safe.
Otherwise, let's not do things that give different behavior at 1x or are
inconsistent.
2022-08-06 21:12:59 -07:00
Unknown W. Brackets
e6ea07bc9d GPU: Cleanup remnants of GLES-only stencil upload. 2022-08-06 20:33:34 -07:00
Richard Ainger
7506fc9f00 Fixed infinite loop and crash which could occur when using "Import from cheat.db". 2022-08-07 12:50:57 +10:00
Henrik Rydgård
ec3e2a11ee
Merge pull request #15796 from hrydgard/gl-tex-wrap-feature-check
Fix feature check for wrapping of non-pow-2 textures
2022-08-07 00:07:18 +02:00
Henrik Rydgård
77535c8132 Fix feature check for wrapping of non-pow-2 textures
May fix some problems with using 3x/5x upscaling or 3x/5x resolution on some
hardware.
2022-08-06 23:54:03 +02:00
Henrik Rydgård
8478a8c86d
Merge pull request #15789 from hrydgard/unify-texture-depal
Unify the framebuffer depal process
2022-08-06 18:49:37 +02:00
Henrik Rydgård
4658962b09 Feature detection fix on old GL, more compiler warning fixing 2022-08-06 18:47:12 +02:00
Henrik Rydgård
5987c355d3 D3D9: Fix a lot of stuff 2022-08-06 18:27:04 +02:00
Henrik Rydgård
ded8ba8806 More cleanup, fixes. 2022-08-06 18:27:04 +02:00
Henrik Rydgård
9a5893ce6e More cleanup 2022-08-06 18:27:04 +02:00
Henrik Rydgård
de10c1fddd Buildfixes 2022-08-06 18:27:04 +02:00
Henrik Rydgård
92a3d45340 Lock out shaderDepal from D3D for now, will implement later. 2022-08-06 18:27:03 +02:00
Henrik Rydgård
81c36578ca Feature detection fixes 2022-08-06 18:27:03 +02:00
Henrik Rydgård
4e3c258140 Delete all the duplicate implementations of ApplyTextureFramebuffer 2022-08-06 18:27:03 +02:00