Commit Graph
33136 Commits
Author SHA1 Message Date
Unknown W. Brackets efee79fd71 Debugger: Don't break during startup. 2020-05-23 10:26:27 -07:00
Unknown W. Brackets 0ff922c3e0 Android: Buildfix.
Not sure why the linker is having trouble with VulkanDebug.cpp.
2020-05-23 08:29:21 -07:00
Henrik Rydgård da2f83b110 Merge pull request #12951 from unknownbrackets/vulkan-safety
GPU: Never set safe size larger than the buffer
2020-05-23 10:51:09 +02:00
Unknown W. Brackets 1432cc9431 GPU: Try a bit harder to determine safe size. 2020-05-23 00:54:22 -07:00
Unknown W. Brackets ea1f0a1195 Vulkan: Match safe size behavior on all backends.
Before, we would not mark a safe size for some Vulkan clears where depth
was not cleared, deviating from other backends.  We also never detected
that on PowerVR.  This makes things more consistent.
2020-05-23 00:25:39 -07:00
Unknown W. Brackets 3a1bc6a86b GPU: Never set safe size larger than the buffer.
Maybe this indicates the buffer size is wrong, but a safe size larger than
the buffer will make us try to download outside the buffer and lose the
Vulkan device.
2020-05-23 00:12:22 -07:00
Henrik Rydgård bff3c15d6f Merge pull request #12948 from Florin9doi/v4l_jpeg_multi_buf
[Camera/V4L] Add support for jpeg and multiple buffers
2020-05-22 15:43:58 +02:00
Florin9doi 5c552771fc [Camera/V4L] Add support for jpeg and multiple buffers
required for Sony EyeToy
2020-05-22 15:50:01 +03:00
Henrik Rydgård c861bc0d7c Merge pull request #12947 from unknownbrackets/wasapi-format
Windows: Avoid a WASAPI crash for a mono output format
2020-05-22 12:33:45 +02:00
Unknown W. Brackets 4bd60ed791 Io: Fix LBN timing for virtual discs. 2020-05-22 00:31:17 -07:00
Henrik Rydgård 23bdc40715 Merge pull request #12942 from unknownbrackets/vulkan-debug
When debugging, expose pass tags to RenderDoc
2020-05-22 09:28:09 +02:00
Henrik Rydgård 34b5d531da Merge pull request #12946 from unknownbrackets/ge-minor
Ge: Check stack depth based on args struct size
2020-05-22 09:25:59 +02:00
Unknown W. Brackets 0f1f3507f6 Windows: Ask for a specific device on failure.
In case the new rules make things fail unexpectedly.
2020-05-22 00:19:59 -07:00
Unknown W. Brackets 9d1e31f6a0 Windows: Avoid WASAPI init for a bad format. 2020-05-21 23:39:29 -07:00
Unknown W. Brackets cd90fb4d69 Windows: Avoid crash for a mono output format.
Let's just assume we're only going to get stereo formats.
2020-05-21 23:37:27 -07:00
Unknown W. Brackets 5507116d3f Ge: Check stack depth based on args struct size.
Matches tests against firmware.
2020-05-21 22:16:13 -07:00
Unknown W. Brackets d7ad43b1d9 Io: Cleanup access bits for files.
Also, we default a lot of these members, so don't need to reset.
2020-05-21 18:58:24 -07:00
Unknown W. Brackets 9b112efa0b Headless: Handle umd mapping with block devices. 2020-05-21 18:58:24 -07:00
Unknown W. Brackets 49abe9ed6c Io: Open sce_lbn references and whole ISO faster. 2020-05-21 18:58:24 -07:00
Unknown W. Brackets 91427c1f4e Io: Account for OpenAsync timing. 2020-05-21 18:58:24 -07:00
Unknown W. Brackets 5e1adcdbd2 Io: Fail without fd on bad device in OpenAsync. 2020-05-21 18:58:24 -07:00
Unknown W. Brackets 52283a50dc Io: Improve non-async open timing. 2020-05-21 18:58:22 -07:00
Unknown W. Brackets c829ccb87d Io: Track whether the game is on a UMD or storage. 2020-05-21 18:57:46 -07:00
Unknown W. Brackets 67416e5919 Io: Simulate VFAT bug only when simulating FAT32.
And cleanup flag handling a bit.
2020-05-21 18:57:46 -07:00
Unknown W. Brackets 51db9f0f85 Io: Improve timing of sceIoOpen().
Currently ignores filesystem, but this is more accurate.
2020-05-21 18:57:44 -07:00
Unknown W. Brackets 3777d32ac8 Io: Cleanup sceIoOpen errors and logging. 2020-05-21 18:56:57 -07:00
Henrik Rydgård 1dec772145 Merge pull request #12944 from unknownbrackets/gpu-minor
GPU: Ignore viewport for scissor of 481
2020-05-21 22:47:42 +02:00
Unknown W. Brackets 6ad9cb9e0c Merge pull request #12941 from hrydgard/vulkan-more-framebuffer-stuff
Vulkan: Deal with the reformat clear better
2020-05-21 15:32:01 -04:00
Unknown W. Brackets cd869d469d GPU: Ignore viewport for scissor of 481.
Assume it's still wrong in this case and take 480x272.  See #12746.
2020-05-21 11:37:36 -07:00
Unknown W. Brackets 2dbb7a598d Vulkan: Label render passes in RenderDoc/etc. 2020-05-21 08:55:36 -07:00
Unknown W. Brackets e9e0ea9d05 Vulkan: Cleanup some duplicate code. 2020-05-21 08:55:36 -07:00
Henrik Rydgård 4aec10d04f Correct an issue where reformat didn't work if no renderpass was active due to the use of clear.
Also instantly convert to a clear when binding the framebuffer in cases
when we know it's the optimal thing. The QueueRunner would have later merged
anyway hopefully, but I like the simplicity of this.
2020-05-21 12:01:15 +02:00
Henrik Rydgård 192164c5f8 Merge pull request #12939 from hrydgard/tag-renderpasses
Add a name tag for all render steps (GL/Vulkan).
2020-05-21 12:01:01 +02:00
Henrik Rydgård 7d10a0c609 Remove a redundant framebuffer bind in CopyDisplayToOutput 2020-05-21 11:54:08 +02:00
Henrik Rydgård fabe987c8f Add a name tag for all render steps (GL/Vulkan). Helps with debugging and should be cheap enough (a single pointer per "step"). 2020-05-21 11:24:05 +02:00
Henrik Rydgård e8b7372263 Merge pull request #12938 from hrydgard/toca-fix-attempt
Move the check from #12908 into the firmware version check.
2020-05-20 12:04:07 +02:00
Henrik Rydgård 52a3c2248d Move the check from #12908 into the firmware version check.
The original change took care of #11660, let's hope it stay fixed. This fixes
Toca (#12936).
2020-05-20 11:47:55 +02:00
Henrik Rydgård 5367cdfdc9 Merge pull request #12935 from unknownbrackets/vulkan-bugs
Cleanup some Vulkan bug checks
2020-05-20 09:13:02 +02:00
Unknown W. Brackets 86bbb447d3 Vulkan: Avoid stencilAction != depthAction.
This is the only place we do it, and apparently there can be bugs on some
drivers when you do that.  Let's not.
2020-05-19 22:14:47 -07:00
Unknown W. Brackets 8d900bb432 Vulkan: Check driver version for Adreno 5xx bug.
It's now fixed at least as of this version (possibly earlier.)
2020-05-19 22:13:15 -07:00
Unknown W. Brackets 2e05d22eb7 Vulkan: Move Harvest Moon fix to Draw::Bugs.
Also, make it so you can skip using ini settings.
2020-05-19 22:12:30 -07:00
Henrik Rydgård 79299e19f9 Merge pull request #12934 from hrydgard/mali-stencil-workaround
Vulkan: Stencil initialization: Use the adreno path for Mali as well.
2020-05-19 23:37:48 +02:00
Henrik Rydgård 3a5e07ad4f Vulkan: Stencil initialization: Use the adreno path for Mali as well.
Appears to fix the Star Ocean issue and maybe more reported in #12890.

Strange though...
2020-05-19 23:29:33 +02:00
Henrik Rydgård b001ca1e06 Merge pull request #12933 from hrydgard/vulkan-32bit-fix
Fix a case of pointer truncation in Vulkan on 32-bit. Fixes #12932
2020-05-19 21:50:56 +02:00
Henrik Rydgård e64fdfa0c3 Fix a case of pointer truncation in Vulkan on 32-bit. Fixes #12932 2020-05-19 20:53:51 +02:00
Henrik Rydgård 69c092dce1 Vulkan crashfix (pNext was uninitialized) 2020-05-19 20:52:47 +02:00
Henrik Rydgård f1b9943947 Merge pull request #12930 from unknownbrackets/gpu-stencil
GPU: Avoid unnecessary clear on stencil upload
2020-05-19 09:05:58 +02:00
Henrik Rydgård 886fff0990 Merge pull request #12931 from unknownbrackets/vulkan-postshader
Vulkan: Create FB compatible pipelines in Draw
2020-05-19 09:03:41 +02:00
Unknown W. Brackets 966ac4458a Vulkan: Fix leak and remove extra allocator.
The leak was because we restored immediately after initializing, and
therefore leaked several pipelines.

This allocator isn't used right now, so just using up memory.
2020-05-18 23:07:44 -07:00
Unknown W. Brackets cb23c0c01d Vulkan: Create FB compatible pipelines in Draw.
The easiest way is just to create both and support both.  Perhaps we could
optimize out the creation of the framebuffer one.

Fixes #12928.
2020-05-18 22:45:20 -07:00