Commit Graph
32600 Commits
Author SHA1 Message Date
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
Henrik Rydgård b5597d1013 Remove Vulkan2D 2022-08-06 18:27:03 +02:00
Henrik Rydgård 45def772ee Move the depal cache instance ownership to TextureCacheCommon 2022-08-06 18:27:03 +02:00
Henrik Rydgård 87b128ecaf Compiles on Vulkan, but doesn't yet work. 2022-08-06 18:27:03 +02:00
Henrik Rydgård 7085861aad Switch over D3D9 as well. Buggy, will debug after unification 2022-08-06 18:27:03 +02:00
Henrik Rydgård e345a6ba3c Works with D3D11, except the depth texturing case 2022-08-06 18:27:03 +02:00
Henrik Rydgård 2fa9b0d0c7 Simplify 2022-08-06 18:27:03 +02:00
Henrik Rydgård 8d23c5ecfb Fixy fix 2022-08-06 18:27:03 +02:00
Henrik Rydgård da65af832a D3D11 prep 2022-08-06 18:27:03 +02:00
Henrik Rydgård 7800bfdf72 Move the TextureShaderApplier out to DepalettizeCommon 2022-08-06 18:27:03 +02:00
Henrik Rydgård ab560d9224 Move more stuff to Common 2022-08-06 18:27:03 +02:00
Henrik Rydgård 4e89174b85 OpenGL: Fix shader depal too. 2022-08-06 18:27:03 +02:00
Henrik Rydgård 37555fd442 Move to Common 2022-08-06 18:27:02 +02:00
Henrik Rydgård d3070005a2 Mostly works for OpenGL. 2022-08-06 18:27:02 +02:00
Henrik Rydgård 8aebf0dca4 Port the OpenGL depal path to thin3d 2022-08-06 18:27:02 +02:00
Henrik Rydgård 5f230ee998 Fix some compiler warnings 2022-08-06 18:19:27 +02:00
Henrik Rydgård b71c745275 ShaderWriter: Fix GLSL 1.0 output 2022-08-06 18:19:11 +02:00
Henrik Rydgård fafe727870 Fix corrupted colors when using software upscaling with OpenGL.
Fixes #15779
2022-08-06 18:04:45 +02:00
Henrik Rydgård 7cb6b11a95 Merge pull request #15793 from ANR2ME/inet
Fix logging warning issue.
2022-08-06 16:55:22 +02:00