Commit Graph
45601 Commits
Author SHA1 Message Date
Unknown W. Brackets c397b0287a Merge pull request #16050 from hrydgard/buffer-frames-fix
Fix the UI setting "Buffer graphics commands". Was off by 1.
2022-09-18 16:05:16 -07:00
Henrik Rydgård 9d4351b484 Fix the UI setting "Buffer graphics commands". Was off by 1. 2022-09-19 00:45:08 +02:00
Unknown W. Brackets a2a7e8258b GPU: Clip depth properly when also clamping.
Helps situations like #11216, where only one side should be clamped.
Keeps depth clamp (i.e. #7932) working.  See #11399.
2022-09-18 13:18:02 -07:00
Unknown W. Brackets c08c873462 GLES: Support more clip distances.
Will be used later, for now just the enable/disable logic.
2022-09-18 13:16:59 -07:00
Henrik Rydgård a23fe93ad8 Merge pull request #16048 from unknownbrackets/softgpu-earlyz
softgpu: Correct line early z checks
2022-09-18 22:07:31 +02:00
Unknown W. Brackets 7d4aa3eb2d softgpu: Correct line early z checks.
Was looking at completely wrong pixels, hadn't removed subpixels yet.
2022-09-18 11:44:01 -07:00
Unknown W. Brackets a0b44c52b8 GE Debugger: Allow search by state name.
Since adding breakpoint as the first column, the default search behavior
stopped working.  This restores it, searching for any matching column.
2022-09-18 10:49:32 -07:00
Unknown W. Brackets 5b5529b390 GE Debugger: Show time spent stepping. 2022-09-18 09:52:15 -07:00
Unknown W. Brackets f2beafe769 Merge pull request #16046 from unknownbrackets/tests-update
headless: Add some new and passing tests
2022-09-18 09:00:40 -07:00
Unknown W. Brackets ca248e1201 softgpu: Fix s8 primitives in throughmode.
Also always cull no-position verts, hardware too.  Matches tests.
2022-09-18 07:46:18 -07:00
Unknown W. Brackets c65880fa90 headless: Add some new and passing tests. 2022-09-18 06:40:15 -07:00
Unknown W. Brackets 91d9c69d42 Merge pull request #16042 from unknownbrackets/softgpu-prim
softgpu: Refactor imm prim handling to support fog/color1
2022-09-18 06:39:26 -07:00
Unknown W. Brackets 9f84cde062 GPU: Fix crash on imm vert triangles.
Was crashing because the frag and vert shaders didn't match up.
2022-09-18 06:16:26 -07:00
Unknown W. Brackets 97002692c4 softgpu: Correct secondary color on imm verts.
Only with through set, and we have to ignore position.
2022-09-18 06:16:26 -07:00
Unknown W. Brackets 6877ff1af2 softgpu: Fix state/continuation for imm prims. 2022-09-18 06:16:26 -07:00
Unknown W. Brackets 596b07bd2e softgpu: Support fog and color1 on imm verts. 2022-09-18 06:16:26 -07:00
Unknown W. Brackets 35ba01e01f softgpu: Refactor imm draws to bypass vert read. 2022-09-18 06:16:25 -07:00
Unknown W. Brackets 799a9ae95b softgpu: Simplify vertex reading. 2022-09-18 06:16:25 -07:00
Unknown W. Brackets de080e2594 softgpu: Simplify vertex range culling.
The previous logic was harder to understand and easier to get wrong.
Just drop them when clipping the primitive.
2022-09-18 06:16:25 -07:00
Unknown W. Brackets 028a341cc8 softgpu: Explicitly flush on sync and output.
We could in theory skip flush on FinishDeferred, and allow some CPU/GPU
overlap.  If we did, we'd still want to flush at these times.
2022-09-18 06:16:25 -07:00
Unknown W. Brackets f740fcdbe7 GPU: Minor cleanup of unnecessary virtual. 2022-09-18 06:16:25 -07:00
Henrik Rydgård fc84f25818 Quick GE debugger stepping fix, after the recent vulkan swapchain acquire change 2022-09-18 12:10:23 +02:00
Henrik Rydgård 0e6e1eb93c Merge pull request #16043 from hrydgard/improve-stencil-bug-workaround
Consider the Adreno and Mali stencil-discard bugs the same.
2022-09-18 10:57:56 +02:00
Henrik Rydgård 3b1893600c Update pspautotest submodule 2022-09-18 10:38:37 +02:00
Henrik Rydgård 3493e722f0 Update ffmpeg submodule (no big news, just readme updates and a gcc buildfix) 2022-09-18 10:37:42 +02:00
Henrik Rydgård 4045de8d56 Consider the Adreno and Mali stencil-discard bugs the same. Use the better check from the Mali bug.
Should fix #11980
2022-09-18 10:34:43 +02:00
Henrik Rydgård 915b734cde Show GPU device ID in system information if available. 2022-09-18 10:11:01 +02:00
Henrik Rydgård c80cc1e87a Merge pull request #16038 from unknownbrackets/headless
Switch headless screenshot error to MSE, add benchmarking
2022-09-17 23:35:15 +02:00
Unknown W. Brackets 749268c7f7 headless: Benchmark a test or frame dump.
This outputs the average time for comparison.
2022-09-17 14:14:08 -07:00
Unknown W. Brackets 25d92c8a84 headless: Add option for MSE pass threshold.
This makes it easier to allow a certain amount of deviation across
devices.
2022-09-17 14:14:08 -07:00
Unknown W. Brackets f32e8e11ab headless: Switch screenshot error to MSE.
This is more useful than 1/0 on whether a pixel doesn't match, when many
are close but not exact.
2022-09-17 14:13:26 -07:00
Unknown W. Brackets d703c934dd Headless: Small cleanup of options handling.
To be able to add additional options.
2022-09-17 14:13:22 -07:00
Henrik Rydgård cd2c977836 Merge pull request #16039 from unknownbrackets/softgpu-earlyz
softgpu: Run early Z tests in fast rect path
2022-09-17 22:57:59 +02:00
Henrik Rydgård dae8d51256 Merge pull request #16037 from unknownbrackets/ui-tags
UI: Fix some logic dependent on screen tags
2022-09-17 22:54:22 +02:00
Unknown W. Brackets 9b01fce5b5 softgpu: Run early Z tests in fast rect path.
Needed for some 2D games, like Criminal Girls.
2022-09-17 13:37:54 -07:00
Unknown W. Brackets 6576b853e4 UI: Fix some logic dependent on screen tags.
9f38516 changed various tags but not code referencing them.
2022-09-17 13:36:25 -07:00
Henrik Rydgård bf59640aa5 Merge pull request #16035 from hrydgard/vk-acquire-late
Vulkan: "Acquire" the image from the swapchain as late as possible in the frame
2022-09-17 09:58:34 +02:00
Henrik Rydgård 48162858d8 Remove assert (this happens when playing framedumps) 2022-09-17 09:30:08 +02:00
Henrik Rydgård 9d9f2c539e Finish the switch to late acquire, moving the swapchain responsibility to the queue runner. 2022-09-17 08:43:13 +02:00
Henrik Rydgård a369252a29 RunSteps cleanup 2022-09-17 01:41:26 +02:00
Henrik Rydgård fabd50b178 Move FrameData out of VulkanRenderManager 2022-09-17 01:34:38 +02:00
Henrik Rydgård 415a795b11 Move back buffer rendering to a separate "present" command buffer 2022-09-17 01:11:41 +02:00
Henrik Rydgård 242efba6f7 Remove splitSubmit setting. Now we submit init commands before the acquire. 2022-09-17 01:07:30 +02:00
Henrik Rydgård 143be816cc Merge pull request #15944 from hrydgard/vulkan-shader-blending
Shader blending in Vulkan through input attachments
2022-09-16 23:31:56 +02:00
Henrik Rydgård 262a306b9a Flag shader blending as broken on Adreno for now. 2022-09-16 19:19:42 +02:00
Henrik Rydgård 5f5277a409 Need to have input attachments in the descriptor pool. 2022-09-16 19:19:42 +02:00
Henrik Rydgård a0f7a4ee2f Remove logspam 2022-09-16 19:19:42 +02:00
Henrik Rydgård eadb144cc4 Show render pass types in GPU profiler 2022-09-16 19:19:42 +02:00
Henrik Rydgård ce82fce8de Use subpass dependencies to implement shader framebuffer read in Vulkan. 2022-09-16 19:19:42 +02:00
Henrik Rydgård 30e3f3b47a Add two more extensions to device extension lookup 2022-09-16 19:19:42 +02:00