Commit Graph

815 Commits

Author SHA1 Message Date
Henrik Rydgård
b86d26da42 Remove wrong assert. Should fix #13354 2020-08-30 10:13:16 +02:00
Henrik Rydgård
cb3ed8f4a1
Merge pull request #13343 from unknownbrackets/xxhash
Switch to XXH3
2020-08-28 12:20:26 +02:00
Unknown W. Brackets
184d4a1fc0 Vulkan: Type comparison warning fix. 2020-08-27 20:01:59 -07:00
Henrik Rydgård
0b8e377872 Address feedback from #13341. 2020-08-27 22:59:27 +02:00
Henrik Rydgård
f64d36664e Fix final subpass dependency for depth 2020-08-27 22:59:18 +02:00
Henrik Rydgård
b58f5e46ae Correctly update image layout to the final one after a render pass. 2020-08-27 22:59:18 +02:00
Henrik Rydgård
95a4cd37fc Improve LogSteps further. Break out PreprocessSteps. 2020-08-27 21:50:05 +02:00
Henrik Rydgård
4e841ca3a6 Naming fix, better names for temp fbos 2020-08-27 21:50:05 +02:00
Henrik Rydgård
6e9d5ffbd7 VulkanRenderManager: Improve logging. LogSteps output is much better.
More logging improvements
2020-08-27 21:50:05 +02:00
Henrik Rydgård
d54e0b3231 Fix longstanding depth/stencil view issue in Vulkan. Cleans up validation.
We didn't specify DEPTH|STENCIL as aspects for views we rendered to,
only DEPTH. Who knows how many of the driver bugs we "found" are this.

DEPTH|STENCIL views can't be sampled though, so we create a separate
DEPTH view for that. This keeps Katamari working.
2020-08-27 21:23:41 +02:00
Henrik Rydgård
b323397c54 Vulkan: Minor fix for depth/stencil pretransitions. Used DEPTH_ATTACHMENT_OPTIMAL by mistake in barrier. 2020-08-27 16:46:14 +02:00
Henrik Rydgård
de4778358e AspectMask fix 2020-08-27 16:39:15 +02:00
Henrik Rydgård
3be729bfc5 Vulkan: Silly typo fix in barrier 2020-08-27 14:46:02 +02:00
Henrik Rydgård
506a86300d More explicit invalidation of any cached state in Thin3D. Fixes #13307 2020-08-22 00:30:29 +02:00
Henrik Rydgård
06a528927e GL: Re-enable mipmaps for thin3d textures. 2020-08-18 12:57:43 +02:00
Henrik Rydgård
5313fc5b36 More work on GL state leaks. Some things really need a redesign. 2020-08-18 09:18:24 +02:00
Henrik Rydgård
5d64fc5ff1 Switch to PPSSPP's assert functions (don't use the system's) 2020-08-16 10:01:10 +02:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
b22083e7a6 Even more base/logging.h removal and fixes 2020-08-15 19:09:01 +02:00
Henrik Rydgård
c41f875df4 Remove base/logging.h in a whole lot more places. 2020-08-15 19:09:00 +02:00
Henrik Rydgård
5eb13378c6 Remove base/logging from a lot more files in native 2020-08-15 19:09:00 +02:00
Henrik Rydgård
8835728f87 Replace base/logging.h in VulkanContext and parts of native 2020-08-15 19:08:44 +02:00
Henrik Rydgård
5117ded378 Remove ELOG/ILOG/WLOG from the Android C++ code (mostly) 2020-08-15 19:08:39 +02:00
Henrik Rydgård
0fcc0994b4 Recategorize some logging, in preparation for what's to come. 2020-08-15 11:51:22 +02:00
Unknown W. Brackets
d90630c263
Merge pull request #13262 from hrydgard/depth-texturing
Implement texturing from depth buffers (Vulkan only so far)
2020-08-10 03:42:17 -04:00
Henrik Rydgård
0aa2ceb372 Address feedback 2020-08-10 09:16:28 +02:00
Henrik Rydgård
dd79d33f14 Minor: Initialize a struct. Decrease logging in sceMt19937. 2020-08-09 21:45:42 +02:00
Henrik Rydgård
86355779d7 Remove partial comment 2020-08-09 20:49:08 +02:00
Henrik Rydgård
ba0d04a142 Vulkan: Implement depth texturing through depal. 2020-08-09 20:31:04 +02:00
Henrik Rydgård
375da0a2fe Some fixes 2020-08-09 19:47:22 +02:00
Henrik Rydgård
cf122e9333 Vulkan/generic: Initial prep for depth texturing 2020-08-09 19:47:15 +02:00
Henrik Rydgård
fd41c9cd57 These convenience overloads don't work in 32-bit builds, remove them. 2020-08-09 10:28:37 +02:00
Henrik Rydgård
fbf6008a03 Set debug names for more framebuffers and textures 2020-08-09 09:36:54 +02:00
Henrik Rydgård
2f5de1987e Allow passing in an object name tag when creating framebuffers 2020-08-09 09:36:45 +02:00
Henrik Rydgård
11f9df33ba Vulkan: Start adding object names for easier validation debugging 2020-08-08 21:29:29 +02:00
Henrik Rydgård
6aa3681f7c Minor logging improvements 2020-08-02 15:41:00 +02:00
Henrik Rydgård
ce31d3e375 Update Vulkan headers to the latest, just to keep up. 2020-08-01 23:37:15 +02:00
Unknown W. Brackets
5c1bb52ce6
Merge pull request #13221 from hrydgard/android-minor-cleanup
Android: Various minor cleanup
2020-07-29 02:51:50 -04:00
Henrik Rydgård
73166def93 Android: Reduce asserts during startup. 2020-07-28 19:06:29 +02:00
Henrik Rydgård
06d57b1656 GL: Add some paranoid checks. Remove a useless option. 2020-07-28 14:24:36 +02:00
Henrik Rydgård
51f080dfd0 Remove unnecessary vector from thin3d_gl texture handling. 2020-07-27 18:22:23 +02:00
Henrik Rydgård
c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Henrik Rydgård
6560192d8e Support full VSync control in SDL OpenGL.
(Not yet Qt).

Forgot about iOS

SDL headless buildfix

Additional iOS buildfix
2020-07-19 12:07:16 +02:00
Henrik Rydgård
f5afb2dbbd Improve some logging, and print the line number from PanicAlerts. 2020-07-19 11:10:51 +02:00
Henrik Rydgård
b5e7220ed1 Switch to a fence instead for readbacks. Some sources suggest this is better than idling a queue or device.
Like https://stackoverflow.com/questions/39537176/in-what-situations-is-vkfence-better-than-vkqueuewaitidle-for-vkqueuesubmit .

Additionally, this is easier to refactor and loosen up if we can in the
future.
2020-07-14 09:06:07 +02:00
Henrik Rydgård
e66f034fb3 Readback: Downgrade from vkWaitDeviceIdle to vkWaitQueueIdle. Probably effectively pretty much the same. 2020-07-14 09:06:07 +02:00
Unknown W. Brackets
9ebb402e4f Vulkan: Buildfix. 2020-07-13 18:19:36 -07:00
Henrik Rydgård
131a1eedfb Vulkan: Make sure textures/samplers are unbound at the end of PresentationCommon::CopyToOutput.
Validation caught an issue where old stuff lingered in sampler 1 and texture 1.

Bug probably introduced in #12921, but could also be others.
2020-07-13 23:32:37 +02:00
Henrik Rydgård
bb6219e402
Merge pull request #12921 from unknownbrackets/postshader
Use less FBOs for chained post-processing shaders
2020-07-13 18:52:53 +02:00
Henrik Rydgård
e8370b94c0 Remove irrelevant comment 2020-07-13 18:14:12 +02:00