Commit Graph
28482 Commits
Author SHA1 Message Date
Henrik Rydgård caa960ee8e GLSL ES compilers can be very picky about uint/int. Fixes #13628 - for real this time hopefully 2020-11-07 00:32:00 +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 381ca11561 Fix bugs caused by 44ec286ba4 2020-11-06 21:50:16 +01:00
Henrik Rydgård 9d7651e106 Merge pull request #13629 from hrydgard/move-shader-lang-detect
Move the shader language feature detection to the draw context
2020-11-06 11:09:14 +01:00
Henrik Rydgård 4dc7461b9d Merge pull request #13630 from iota97/qt-off-by-one-fix
Fix off by one in Qt
2020-11-06 11:08:58 +01:00
iota97 6cf261a0f7 Fix off by one 2020-11-06 10:53:57 +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 44ec286ba4 Framebuffer: Keep the render scale factor around, no need to recompute it. 2020-11-06 09:11:57 +01:00
Henrik Rydgård 225734c0b3 Partially revert "Remove remnants of an old, no longer applicable readback optimization"
This reverts commit 7b2236778b.

Fixes #13628
2020-11-06 09:09:18 +01:00
Henrik Rydgård b822c5d2a0 Merge pull request #13626 from hrydgard/more-framebuffer-cleanup
More framebuffer code cleanup
2020-11-05 18:25:50 +01:00
Henrik Rydgård 3c5a05acb3 Buildfix 2020-11-05 18:25:14 +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 65aacb854e Merge pull request #13624 from hrydgard/more-minor-cleanups
More minor cleanups
2020-11-05 11:17:41 +01:00
Henrik Rydgård 127cf41480 Fix bug in framebuffer naming 2020-11-05 08:51:29 +01:00
Henrik Rydgård d39badc8c1 Inline "OptimizeDownloadRange" to make the code more readable 2020-11-05 08:50:16 +01:00
Henrik Rydgård 6db943e831 Merge the two ShaderStage enums 2020-11-05 08:34:35 +01:00
Henrik Rydgård 3ca9847717 Merge pull request #13623 from hrydgard/show-gl-compile-errors-on-screen
Show an error on screen if a shader fails to compile.
2020-11-05 08:28:26 +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 28da9958e2 Merge pull request #13622 from hrydgard/move-shader-writer
Move ShaderWriter to Common
2020-11-04 11:44:08 +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 ad2ec61c98 Retry the masked memory experiment on iOS. Turns out it was the shader generator bug that broke things. 2020-11-03 21:04:03 +01:00
Henrik Rydgård 88e772cdf7 GLSL ES: Extensions must go first. Fixes #13620 2020-11-03 19:53:02 +01:00
Henrik Rydgård f429c97392 Disable masked memory on iOS again. The cure was worse than the disease apparently.
Needs more investigation before we re-enable.

See #13616
2020-11-03 15:46:21 +01:00
Henrik Rydgård 3e6d121016 Partially revert "Clarify some logic, improve framebuffer names"
I screwed up a couple things.

Fixes #13619

This reverts commit 32eb882bc6.
2020-11-03 11:39:12 +01:00
Henrik Rydgård 627be60529 Merge pull request #13616 from hrydgard/masked-memory-ios
Enable "masked memory" on iOS
2020-11-03 07:20:03 +01:00
Henrik Rydgård 7c3c45fd00 Merge pull request #13618 from unknownbrackets/gpu-minor
GPU: Correct shader blend equations
2020-11-03 07:19:41 +01:00
AdamN 043eb2459a Merge pull request #13617 from ANR2ME/adhoc_fix
[Adhoc] - Fixed Starting multiplayer mission issue on DBZ Team Tag
2020-11-03 13:15:20 +07:00
Unknown W. Brackets f3415f4f9c GPU: Correct shader blend equations.
This was wrong when ported to HLSL, and then ported back everywhere.
2020-11-02 21:56:43 -08:00
ANR2ME 755a5dd7d6 Fix Starting multiplayer issue on DBZ Team Tag 2020-11-03 09:32:00 +07:00
ANR2ME 5d0b6e83b2 Reducing the delay on GetPeerInfo 2020-11-03 09:31:25 +07:00
Henrik Rydgård f050d51973 Enable masked memory addressing on iOS
(removes the need for functioning memory mirrors)

I have a theory that this is related to the iOS 14 problems: #13451
2020-11-03 00:20:19 +01:00
Henrik Rydgård 1b596ef82b Fix/workaround ARM64 with the MASKED_PSP_MEMORY build flag. 2020-11-03 00:20:16 +01:00
Henrik Rydgård dd7983c8dd Fix a bad check, causing masked memory to fail on non-32-bit platforms even if desired. 2020-11-02 23:11:44 +01:00
Henrik Rydgård 21830d4984 Bugfix last commit 2020-11-02 16:22:20 +01:00
Henrik Rydgård bd066b4e55 Merge pull request #13613 from hrydgard/shader-writer
Shader writer utility, other cleanups
2020-11-02 13:32:35 +01:00
Henrik Rydgård ce4ee010ac Apparently only MSVC can handle the ambiguity. 2020-11-02 11:45:47 +01:00
Henrik Rydgård 97e8d5b93b Buildfix the rest of the platforms 2020-11-02 10:37:11 +01:00
Henrik Rydgård 0292d1719d GEDebugger: Use utf-8 internally. 2020-11-02 10:02:52 +01:00
Henrik Rydgård 39b5eb5b3d ShaderWriter, a replacement for the sprintf WRITE macro. 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 32eb882bc6 Clarify some logic, improve framebuffer names 2020-11-02 10:02:49 +01:00
Henrik Rydgård 085900adb5 Fix vertex shader generator bug. Got caught by the new test 2020-11-02 09:03:08 +01:00
Henrik Rydgård 34874238ac Merge pull request #13611 from hrydgard/merge-glsl-hlsl-vertex-shadergens
Merge GLSL and HLSL vertex shader generators
2020-11-01 21:51:25 +01:00
Henrik Rydgård f4ea3ccf22 Move the generic vertex shader generator into GPU/Common and rename it. 2020-11-01 19:58:54 +01:00
Henrik Rydgård be837912e1 Delete the HLSL shader generator, switch to the newly generic one. 2020-11-01 19:58:54 +01:00
Henrik Rydgård 30b1aafcde Another hlsl compatibility fix 2020-11-01 19:58:54 +01:00