Commit Graph

4989 Commits

Author SHA1 Message Date
Henrik Rydgård
97bdc72d90 Vulkan: Only call EndCreate on the texture if it actually exists.. Though not having one would be bad. 2017-12-03 10:21:51 +01:00
Unknown W. Brackets
0dee041002 D3D11: Change state caches to DenseHashMaps. 2017-12-02 18:55:02 -08:00
Unknown W. Brackets
243304a5e8 Hashmaps: Fix missing maintain calls in non-GLES.
Should only matter if vertex cache is enabled.
2017-12-02 18:27:18 -08:00
Unknown W. Brackets
681ce953ec GLES: Log shader cache filesize error better. 2017-12-02 10:20:44 -08:00
Unknown W. Brackets
9c52155d3f GPU: Minor cleanup. 2017-12-02 09:47:59 -08:00
Unknown W. Brackets
e50ec2c350 GLES: Validate shader cache filesize on preload. 2017-12-02 09:14:19 -08:00
Unknown W. Brackets
4731a2918c GPU: Use more typesafe shader IDs.
Since they really are fairly distinct, let's make sure we can't mix them
accidentally.
2017-12-02 09:07:27 -08:00
Unknown W. Brackets
5c5dd5c4c4 GPU: Annotate free shader ID bits.
Some ere missing.
2017-12-02 08:52:36 -08:00
Henrik Rydgård
734d9c494c Fix bug in Vulkan non-buffered where clears could extend outside the frame, since Vulkan clears do not respect scissors. 2017-12-02 11:05:10 +01:00
Henrik Rydgård
a67357db05
Merge pull request #10223 from unknownbrackets/minor
Reporting: Use a different link message on preload
2017-12-01 20:28:37 +01:00
Unknown W. Brackets
2a540de329 Reporting: Use a different link message on preload.
May help us determine if this only happens from a corrupt cache.
2017-12-01 11:17:51 -08:00
Unknown W. Brackets
be6343612f GPU: Add missing shader id to short desc. 2017-12-01 11:17:12 -08:00
Henrik Rydgård
6eb8630526 Improve reporting for imm buffer exceeded. Reset the immCount_ every frame to avoid getting "stuck" permanently in case some garbage is executed.. 2017-12-01 20:01:13 +01:00
Henrik Rydgård
8a0645859e
Merge pull request #10222 from unknownbrackets/minor
A few more reporting cleanups
2017-12-01 19:40:11 +01:00
Unknown W. Brackets
a0e4b6ad0b Reporting: Improve bezier/spline morph/skin data.
Most of these are probably garbage?
2017-12-01 09:50:31 -08:00
Henrik Rydgård
46ffa8cc0b Try to help Mali 400 shader reg alloc by reusing variables. It's still commonly reported. 2017-12-01 18:47:01 +01:00
Unknown W. Brackets
db300da1d7 Reporting: Improve no pos verts message. 2017-12-01 09:45:58 -08:00
Unknown W. Brackets
f9ce1587cb Reporting: Skip reporting reused depthbuffers.
Basically all games do it, no longer interesting.
2017-12-01 09:38:37 -08:00
Henrik Rydgård
97ab91c3d5
Merge pull request #10221 from unknownbrackets/minor
Reporting: Disallow feedback for fake game ids
2017-12-01 18:36:20 +01:00
Unknown W. Brackets
d5ae666725 Reporting: Remove unused code. 2017-12-01 09:32:23 -08:00
Henrik Rydgård
b87f447e76 Buildfix, oops 2017-12-01 16:53:54 +01:00
Henrik Rydgård
d2fe42ea90 Vulkan: Fix crash bug when post processing shaders failed to compile. 2017-12-01 13:44:45 +01:00
Henrik Rydgård
f8b70fe185 Clean up all the FBOs in DestroyAllFBOs. Missing any can have bad consequences after app switching on Android/Vulkan where we recreate stuff. 2017-12-01 12:17:10 +01:00
Henrik Rydgård
8a58b768f1 Check for HW-transform and through when loading GL shader cache. 2017-12-01 11:32:16 +01:00
Henrik Rydgård
be115822f7 Minor cleanup. Add a debug assert in shader ID calculation 2017-12-01 11:23:09 +01:00
Henrik Rydgård
24e5fbc115
Merge pull request #10215 from unknownbrackets/minor
Improvements for things found in reporting
2017-12-01 00:54:39 +01:00
Unknown W. Brackets
7339c6c0fd Vulkan: Report more info on texture from target. 2017-11-30 15:42:21 -08:00
Unknown W. Brackets
0b61ffad08 GPU: Try to avoid FB download without an FBO. 2017-11-30 15:37:43 -08:00
Unknown W. Brackets
e0ccbd31b6 GLES: Report shader errors with shader desc. 2017-11-30 15:34:29 -08:00
Henrik Rydgård
7b2ad5fe72 Add some debug asserts, useful for debugging shader mismatches locally (though haven't found any..) 2017-12-01 00:28:07 +01:00
Henrik Rydgård
3e011238c5 Fix minor discrepancy in shader ID calculation, I don't think this will fix anything though. Bumping shader cache version and doing minor cleanup too. 2017-11-30 22:44:39 +01:00
Henrik Rydgård
d884eeda99 DX9: Revert a bad optimization, hopefully fixing #10205. Vulkan: Add a missing check. 2017-11-30 15:28:15 +01:00
Henrik Rydgård
4129459495 Avoid an assert in ARM64 emitter, seen in Google Play crash logs 2017-11-29 21:31:42 +01:00
Henrik Rydgård
04913be779 Move pushbuffer map/unmap to the .cpp file to avoid inlining (for stack traces) 2017-11-29 20:13:38 +01:00
Henrik Rydgård
5fff54e804 Fix another possible Vulkan shutdown bug 2017-11-29 19:15:08 +01:00
Henrik Rydgård
bc959470e5 Loosen up some asserts that seem to trigger unexpectedly... need investigation. 2017-11-29 19:07:07 +01:00
Henrik Rydgård
6ea669368c Crash reports from 5% rollout of 1.5: Make some asserts dbg_asserts for now, try to fix an issue with framebuffers when postproc is enabled. 2017-11-29 18:53:52 +01:00
Henrik Rydgård
f50dadb284 Fix the fix for Thrillville. See #7459 2017-11-26 21:02:33 +01:00
Unknown W. Brackets
bd1ed897cf Global: Fix some warnings. 2017-11-25 14:08:49 -08:00
Unknown W. Brackets
dd6886aa38 GPU: Fix block transfer write breakpoint. 2017-11-25 11:32:02 -08:00
Henrik Rydgård
b52b8b1329 Unbreak save states, fix other minor issues from review 2017-11-25 12:13:02 +01:00
Henrik Rydgård
5c9436f276 Fix some comments 2017-11-24 21:58:55 +01:00
Henrik Rydgård
ed2028aa5e Add safety check. 2017-11-24 21:55:25 +01:00
Henrik Rydgård
f2db0339ad Hack that converts immediate draws to through-mode draws. This won't
work correctly in all cases - but it's enough for Thrillville which uses
it to clear only. Works around #7459.
2017-11-24 21:50:54 +01:00
Henrik Rydgård
28b60a724f Process immediate draw commands. Not yet sending to graphics backends. 2017-11-24 17:54:56 +01:00
Henrik Rydgård
ce818263a1 Fix D3D11 push buffer overflow 2017-11-24 17:53:42 +01:00
Henrik Rydgård
0646dc749b Vulkan vertex cache: Fix memory leak 2017-11-24 13:53:23 +01:00
Henrik Rydgård
543bb34dbc Yet another buildfix, sorry :/ 2017-11-22 15:35:01 +01:00
Henrik Rydgård
e6be86ce74 ARM buildfix 2017-11-22 11:01:42 +01:00
Henrik Rydgård
b6911d2764 Add a hidden debug option [Graphics]GfxDebugSplitSubmit to try to narrow down some Vulkan issues, see #10163. Also improve some asserts. 2017-11-22 10:47:04 +01:00