Commit Graph
5353 Commits
Author SHA1 Message Date
gameblabla 7ef8e64303 Add missing header in Logmanager.h 2020-12-04 21:24:18 +01:00
gameblabla 4fe3786499 Fix headers in MIPSCPUDetect. 2020-12-04 21:23:36 +01:00
Halo-Michael cbcfbca895 sz must be longer than target string 2020-12-03 21:05:00 +08:00
Halo-Michael 95e6a1c7a5 Why not iOS? 2020-12-03 11:43:20 +08:00
Henrik Rydgård 9c8feefcdc M1: Correctly detect core count. 2020-12-02 21:59:18 +01:00
Henrik Rydgård 20d579c3b8 Cleaner way to flush the instruction cache on Mac ARM64 2020-12-02 19:15:08 +01:00
Henrik Rydgård 5077a004ff Mark ARM64 Macs as needing WX-exclusive memory protection 2020-12-02 19:13:52 +01:00
Henrik Rydgård c0a5fa3e8b Fix a crash if JIT space failed to allocate 2020-12-02 00:33:51 +01:00
Henrik Rydgård c0c2bfb293 D3D11: Fix shader module leak in thin3d.
Thanks Unknown.
2020-12-01 09:20:13 +01:00
Henrik Rydgård 032890803e Need to take renderArea into account when merging render passes.
Fixes #13664
2020-11-26 23:29:59 +01:00
iota97 a014d7c785 Remember game list scroll 2020-11-23 10:10:20 +01:00
Henrik Rydgård 3c2733d8eb Adreno/OpenGL: Limit shader depal to 6xx series GPUs. Should help #13668.
Also make a function static.
2020-11-22 18:00:07 +01:00
Henrik Rydgård 29b2f2c4ef Better GLSL version handling. Now specify the latest version supported by the device.
Correct the version check for our own implementations of packUnorm4x8 etc.
2020-11-16 23:30:07 +01:00
Henrik Rydgård 90cc325b53 Clears didn't always properly set the RenderArea. Should help #13664 2020-11-15 22:30:16 +01:00
Henrik Rydgård e14437cb3f OpenGL: Assorted shader-depal bugfixes and regression fixes.
Fixes #13517
2020-11-11 23:09:48 +01:00
Henrik Rydgård a3d06e366f OpenGL: Detect Adreno model number 2020-11-11 22:46:25 +01:00
Henrik Rydgård 34efa1281b More consistent use of GLSL precision modifiers, now use them in Vulkan too.
Might help #13464 ?
2020-11-10 22:42:41 +01:00
Henrik Rydgård d99cba7308 Outrun on OpenGL: Fix weird purple highlight seen on some devices
mediump int is just not enough.
2020-11-10 22:01:57 +01:00
Henrik Rydgård 5eea7435d0 Minor cleanup in GL backend, fixes #13647
Was a stray old texture in boundTextures_ in thin3d. Now makes sure to
invalidate them, and also make it possible to look up bound framebuffer
textures when checking for valid tex parameters.
2020-11-10 00:13:44 +01:00
Henrik RydgårdandGitHub 9f33a82b49 Merge pull request #13646 from hrydgard/framebuffer-fetch-fixes
Framebuffer fetch fixes
2020-11-09 19:30:35 +01:00
Henrik Rydgård ba139975e0 Linker fix - need to move init_resources along. 2020-11-09 15:39:46 +01:00
Henrik Rydgård 69108ab2e9 On GLES3, GL_EXT_shader_framebuffer_fetch works a little differently. 2020-11-09 13:32:49 +01:00
Henrik Rydgård 2384b7a17d Remove support for NV_shader_framebuffer_fetch extension, very old and rare.
Minor refactor.
2020-11-09 13:31:39 +01:00
Henrik Rydgård e77a9d7368 Reorganize the end of the fragment shader generator.
Thanks unknown.
2020-11-09 11:19:02 +01:00
Henrik Rydgård 864cc54aa4 Remove ForceGL2 flag. Add comments... hm. 2020-11-09 11:18:43 +01:00
Henrik Rydgård 766dbc5a9f Move ShaderTranslation.cpp/h to Common/GPU. 2020-11-09 11:18:43 +01:00
Henrik Rydgård 50619af71d Fix HLSL shader gen issue 2020-11-09 09:10:44 +01:00
Henrik RydgårdandGitHub b9dd866c2d Merge pull request #13640 from hrydgard/shader-color-write-mask
Fix car reflections in Outrun by implementing per-bit color masking
2020-11-09 08:45:28 +01:00
Henrik Rydgård 0c3ead1437 Temporarily disable GL frame-init error checks, see #13639 2020-11-09 00:30:24 +01:00
Henrik Rydgård 6310af25fa Get shader color write masking going on all backends. 2020-11-08 23:45:47 +01:00
Henrik Rydgård 9105249901 Add compat flag for reinterpret shader, also disable on platforms that can't support it yet 2020-11-08 11:32:55 +01:00
Henrik Rydgård 4e16fcaf1a Fix reinterpret shader for D3D11 2020-11-08 11:32:55 +01:00
Henrik Rydgård 96c36d5c10 More work on reinterpret. Get Vulkan running 2020-11-08 11:32:55 +01:00
Henrik Rydgård 1ccc8c129c Reinterpret code runs, no idea if it works 2020-11-08 11:32:55 +01:00
Henrik Rydgård f2e315b9a6 More shadergen work
Buildfix
2020-11-08 11:32:53 +01:00
Henrik Rydgård 19b4febbbf More reinterpret shader gen and test work.
More work on reinterpret

Buildsystem fixes
2020-11-08 10:41:20 +01:00
Henrik Rydgård d9ee06a60d Reorganize the DeviceLost code a little. FramebufferManagerCommon now sees it. 2020-11-07 10:51:54 +01:00
Henrik Rydgård e12c0fb205 Oops, what happened there.. 2020-11-06 23:20:02 +01:00
Henrik Rydgård 26e09c758b Some GL error logging improvements 2020-11-06 22:42:09 +01:00
Henrik Rydgård 6a1e669c45 Fix GLSL version detection bug. Fixes #13631 2020-11-06 21:55:16 +01:00
Henrik Rydgård 7a690f177e Move shader language feature detection to the draw context. 2020-11-06 09:11:57 +01:00
Henrik Rydgård 84037f448e Remove colorDepth property of framebuffers. They're all 8888. 2020-11-05 14:51:46 +01:00
Henrik Rydgård 7b2236778b Remove remnants of an old, no longer applicable readback optimization 2020-11-05 14:38:20 +01:00
Henrik Rydgård 6db943e831 Merge the two ShaderStage enums 2020-11-05 08:34:35 +01:00
Henrik Rydgård 207b76da6e Show an error on screen if a shader fails to compile.
Part of #1 investigation of #13541
2020-11-05 08:27:13 +01:00
Henrik Rydgård 03e8eac6ef Merge the two ShaderLanguage enums. 2020-11-04 09:40:11 +01:00
Henrik Rydgård 733a152c54 Move ShaderWriter to Common/GPU, along with some stuff from ShaderCommon.h. 2020-11-04 09:18:35 +01:00
Henrik Rydgård 0292d1719d GEDebugger: Use utf-8 internally. 2020-11-02 10:02:52 +01:00
Henrik Rydgård 291742535b Safety, comments 2020-11-02 10:02:52 +01:00
Henrik Rydgård d32fc34b2b Remove inPrefix. HLSL shaders gets slightly longer but probably no biggie.
The extra variable should be optimized out anyway.

Tried doing it with the preprocessor, couldn't get it to work.
2020-10-31 23:22:06 +01:00