Commit Graph
33694 Commits
Author SHA1 Message Date
Henrik Rydgård 9ec41436d1 ES2 crash fix: Don't draw depth if lacking fragment shader depth write. 2022-10-01 19:28:52 +02:00
Henrik Rydgård 16f93a2684 Merge pull request #16133 from unknownbrackets/softgpu-debugger
GE Debugger: Correct rounded coords in vertex list
2022-09-30 10:45:31 +02:00
Unknown W. Brackets 77696573f4 GE Debugger: Correct rounded coords in vertex list.
Were previously rounding to pixel, not subpixel.  Also, show out of range
values for clarity on clamping/culling.
2022-09-30 00:19:21 -07:00
Henrik Rydgård 89dab444c4 Merge pull request #16132 from unknownbrackets/softgpu-blend
softjit: Fix dst blend shift
2022-09-30 08:39:10 +02:00
Unknown W. Brackets 6468e0f03e softjit: Fix dst blend shift.
Example: src * dst.a + dst * one, still requires a shift back.
2022-09-29 22:31:50 -07:00
Unknown W. Brackets dc90a5a851 softgpu: Avoid projecting textures in common case.
Several games appear to intentionally set the matrix flat.
2022-09-29 22:31:49 -07:00
Unknown W. Brackets 7cf05d0a46 GPU: Fix missed dirtying when fast loading tgen. 2022-09-29 22:31:07 -07:00
Unknown W. Brackets 904fb38003 GPU: Restore matrices with dirtying.
Without this, it's possible we might not notice or apply a change
whether in uniforms or etc.
2022-09-29 22:31:02 -07:00
Henrik Rydgård a72a425df6 Use compat.ini to avoid readbacks in Silent Hill: Shattered Memories as well.
NOTE: I'm not 100% convinced this is ok, there might be CPU graphics manipulations here.
But in practice, in the current state where shadows don't work, it'll do.

Thanks mrfixit2001.
2022-09-30 00:03:00 +02:00
Henrik Rydgård 8afbf513be Merge pull request #16130 from hrydgard/show-menu-bar-setting
Add hidden ini file setting that you can use to hide the menu bar on Windows
2022-09-29 21:37:26 +02:00
Henrik Rydgård f8f52565b9 Remove redundant call to SetMenu 2022-09-29 21:36:20 +02:00
Henrik Rydgård d31f129407 Add hidden ini file setting that you can use to hide the menu bar.
Windows-only. Useful together with some video recording software.

Might make some actual UI later.
2022-09-29 18:51:21 +02:00
Henrik Rydgård 7a4830ed4c Merge pull request #16127 from hrydgard/silent-hill-fixes
Fixes for Silent Hill: Origins (depth buffer reassignment, eliminate readback)
2022-09-28 17:00:56 +02:00
Henrik Rydgård 8534b8d7ca Typo fix 2022-09-28 16:44:40 +02:00
Henrik Rydgård ef7900fc7a Merge pull request #16128 from lvonasek/docs-openxr-readme
OpenXR - SDK readme
2022-09-28 16:43:32 +02:00
Luboš Vonásek 088272c0c4 Update README.md 2022-09-28 16:24:26 +02:00
Lubos d2de89e778 OpenXR - Add README.md about the SDK 2022-09-28 16:22:59 +02:00
Henrik Rydgård 6c7703b67f Merge pull request #16125 from stuken/vk_compute_alpha_fix
Remove alpha ignore in xbrz texture shaders.
2022-09-28 14:16:28 +02:00
Henrik Rydgård bd759790b0 Update the Vulkan debug names when reassigning depth buffers. 2022-09-28 14:09:40 +02:00
Henrik Rydgård 3adad176cc Add Silent Hill: Origins to compatibility setting BlockTransferAllowCreateFB.
Eliminates a readback with (so far) no perceptible bad effects.
2022-09-28 13:56:03 +02:00
Henrik Rydgård de51d067f2 If a framebuffer starts using a different depth buffer than before, re-point.
Fixes depth artifacts in Silent Hill: Origins. See issue #16126
2022-09-28 13:41:41 +02:00
Henrik Rydgård 34d1661c48 Quiet the Vulkan miniprofiler (for texture uploads etc) a bit 2022-09-28 13:40:57 +02:00
Henrik Rydgård f52c9650e1 Merge pull request #16097 from lvonasek/platform_openxr_pico
OpenXR - Support for Pico headsets
2022-09-28 10:56:18 +02:00
Henrik Rydgård 30c7b45ac8 Merge pull request #16123 from unknownbrackets/gpu-matrix
softgpu: Correct matrix value update wrapping
2022-09-28 09:39:27 +02:00
Henrik Rydgård 181179a6d8 Merge pull request #16121 from unknownbrackets/debugger
Debugger: Add API to scan memory for funcs
2022-09-28 09:35:33 +02:00
Henrik Rydgård 46e7f5ab17 Merge pull request #16122 from unknownbrackets/gles-colortest
GLES: Fix colortest/logicop uint/int conversion
2022-09-28 09:31:46 +02:00
Unknown W. Brackets 6b20c0318d softgpu: Correct matrix value update wrapping.
The values read back when saving a context or getting matrix data are set
differently than the actual values used for rendering.

This implements the wrapping and bleeding between matrices within softgpu,
but leaves hardware rendering to only use the rendering registers for
speed.
2022-09-27 22:29:55 -07:00
Unknown W. Brackets 95d2083f04 Ge: Move matrix reading into GPU.
Let's keep managing its state / registers internal.
2022-09-27 22:23:02 -07:00
Unknown W. Brackets 38818f9f6e GLES: Fix colortest/logicop uint/int conversion.
Shown well in #16119.
2022-09-27 19:24:54 -07:00
Unknown W. Brackets 3b0c0f2916 Debugger: Add API to scan memory for funcs.
For example, when you know a range is being used or when you've deleted
the functions.
2022-09-27 19:14:32 -07:00
Unknown W. Brackets b60217d962 Debugger: Fix doc typo for disasm/assemble names. 2022-09-27 19:02:33 -07:00
Unknown W. Brackets ebbd17540c Merge pull request #16120 from hrydgard/better-pass-naming
Vulkan: Better debug names for RENDER passes.
2022-09-27 18:22:06 -07:00
Lubos 0c2120d596 Merge branch 'master' into platform_openxr_pico 2022-09-28 00:11:02 +02:00
Lubos 464fc446e3 OpenXR - Fix FBO colors on Pico 2022-09-28 00:10:30 +02:00
Lubos 409b9234d7 OpenXR - Fix the build on Quest 2022-09-28 00:01:18 +02:00
Lubos 05de5c7f3d OpenXR - Support for Pico controllers 2022-09-27 23:54:46 +02:00
Henrik Rydgård ca5c69d3dd Vulkan: Better debug names for RENDER passes. 2022-09-27 23:41:09 +02:00
Stuart Kenny 1d5fc2feaa Remove alpha ignore in xbrz texture shaders. 2022-09-27 20:22:58 +01:00
Lubos de1d829d47 Merge branch 'master' into platform_openxr_pico 2022-09-27 18:44:40 +02:00
Lubos a7542e0320 OpenXR - Initialization on Pico fixed 2022-09-27 18:44:15 +02:00
Lubos a9b6001daa OpenXR - Code formatting 2022-09-27 18:04:21 +02:00
Henrik Rydgård afe3ba01fc Merge pull request #16118 from hrydgard/vertex-cache-hash-improvement
Better bit scrambling when computing draw call IDs for vertex cache.
2022-09-27 10:28:16 +02:00
Henrik Rydgård e538f5a441 Better bit scrambling when computing draw call IDs for vertex cache.
Fixes #13324
2022-09-27 10:09:52 +02:00
Henrik Rydgård 29d8f40c28 Merge pull request #16117 from unknownbrackets/softgpu-texgen
Correct texture projection issues, mainly in softgpu
2022-09-27 09:02:27 +02:00
Unknown W. Brackets 23af9be9f4 softgpu: Handle rectangle texture projection. 2022-09-26 18:44:39 -07:00
Unknown W. Brackets faa6c2d461 softgpu: Implement triangle texture projection. 2022-09-26 18:12:20 -07:00
Unknown W. Brackets 6282f8b05f softgpu: Expand texture coords to include q.
We'll need this to correctly project.
2022-09-26 17:13:14 -07:00
Unknown W. Brackets 8376176b2f softgpu: Split clippos out of rasterization vert.
We don't use it, except w, at all in rasterization, so no need to keep it
in the bin queue.
2022-09-26 16:50:40 -07:00
Unknown W. Brackets 97ae4ae712 GPU: Correct flat normal projection mapping. 2022-09-26 15:11:11 -07:00
Unknown W. Brackets 34a8056017 GPU: Correct normalized zero normal proj map.
Unlike lighting, this does not use 0, 0, 1.
2022-09-26 15:11:11 -07:00