Commit Graph
47140 Commits
Author SHA1 Message Date
Unknown W. Brackets 49eb100d1a headless: Update tests. 2022-10-15 12:16:34 -07:00
Unknown W. Brackets d33986a5ad softgpu: Cull a triangle with all negative w.
Per tests, this seems to happen but only when all points are below zero.
2022-10-15 11:49:28 -07:00
Unknown W. Brackets 4f5e821ce2 softgpu: Fix crash on screenshot w/o display. 2022-10-15 11:49:05 -07:00
Nemoumbra 4a967966ef Removed the bugged part of hle.func.scan + new comments 2022-10-15 16:01:12 +03:00
catsout b0ceeede79 Vulkan: fix wayland swapchain size 1x1
From Vulkan spec,
surfaceCapabilities.currentExtent can be 0xFFFFFFFF(-1)

Define a callback to get drawsize from window creator

relate:
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSurfaceCapabilitiesKHR.html
https://github.com/KhronosGroup/Vulkan-Docs/issues/590#issuecomment-347932321
2022-10-15 19:02:42 +08:00
Henrik Rydgård cbe31af8cf Merge pull request #16217 from lvonasek/hotfix_openxr_killapp
OpenXR - Ensure the app gets unloaded when killed by OS
2022-10-14 19:51:39 +02:00
Lubos 7b058a534c typo 2022-10-14 18:32:45 +02:00
Lubos e1924be464 OpenXR - Ensure the app gets unloaded when killed by OS 2022-10-14 18:28:22 +02:00
Lubos de41650318 OpenXR - Disable VUlkan for now 2022-10-14 16:47:54 +02:00
Unknown W. Brackets b3ac533fa2 Merge pull request #16214 from hrydgard/vulkan-validation-error-work
Revert on-demand depth buffer creation. Also adds a couple new debugging utils
2022-10-13 16:29:15 -07:00
Henrik Rydgård f269137c78 Revert "Vulkan: Create depth/stencil buffers on demand"
This reverts commit be37de106c.
2022-10-13 22:39:47 +02:00
Henrik Rydgård a605366254 Add ShaderId utility function to be used for some sanity checking. 2022-10-13 22:39:47 +02:00
Henrik Rydgård 4d1da5859c Add simple way to add debug annotation in the middle of the command stream. Vulkan-only. 2022-10-13 22:39:44 +02:00
Lubos d0431e494a OpenXR - Create VR framebuffer for Vulkan 2022-10-12 19:16:17 +02:00
Lubos ade606bc3c OpenXR - Hookup VR API into Vulkan 2022-10-12 16:21:54 +02:00
Nemoumbra a772e87072 Comments updated, default value for parameter "recreate" set to false 2022-10-12 12:09:05 +03:00
Nemoumbra acdaaae7a4 Added optional parameter to hle.func.scan, improved code of hle.func.removeRange 2022-10-12 11:55:01 +03:00
Henrik Rydgård 61e7c3e62c Merge pull request #16208 from unknownbrackets/gpu-writemask
GPU: Respect stencil state in shader blend
2022-10-12 08:10:56 +02:00
Unknown W. Brackets 2f9392083a GPU: Respect stencil state in shader blend. 2022-10-11 22:26:31 -07:00
Henrik Rydgård 26f6afbfa7 Followup to #16205, fix one more instance of the problem. 2022-10-12 01:02:54 +02:00
Henrik Rydgård e0e29a1556 Merge pull request #16197 from hrydgard/more-uniform-optimization
More uniform optimization, fixes
2022-10-12 01:00:27 +02:00
Henrik Rydgård e179e466ed Merge pull request #16206 from hrydgard/remove-fragment-tex-cache-option
Remove the OpenGL bFragmentTestCache ini option, autodetect instead
2022-10-11 19:59:46 +02:00
Henrik Rydgård d30d8bf35c Removes the option, autodetect instead - only enable if the GPU doesn't support bitwise ops. 2022-10-11 16:09:57 +02:00
Unknown W. Brackets e092137c18 Merge pull request #16205 from hrydgard/better-arm32-forcecheck-fix
Better arm32 forcecheck fix
2022-10-11 07:07:55 -07:00
Henrik Rydgård df5b51990d ArmJit: Save/restore downcount where needed, we missed a few cases. 2022-10-11 15:50:37 +02:00
Henrik Rydgård a34e32abe1 Revert "Disables "ForceCheck" on jit invalidation on ARM32, introduced in #16194"
This reverts commit bc28f54612.
2022-10-11 15:42:59 +02:00
Henrik Rydgård c819f79664 Merge pull request #16204 from hrydgard/mac-mousewheel-menus
Improve touchpad/mousewheel scrolling on Mac (due to 0 deltas)
2022-10-11 14:59:40 +02:00
Henrik Rydgård 44f61c0cee Merge pull request #16089 from ANR2ME/adhoc_matching
[AdhocMatching] Fix assertion issue when playing Cars over public adhoc server.
2022-10-11 14:14:00 +02:00
Henrik Rydgård b0cf97cf4d Touchpad/mousewheel scrolling acted very weirdly on Mac due to 0 deltas. Make it work better.
Ignoring the 0 deltas helps a lot for the feel, even though it still isn't that smooth feel yet.
2022-10-11 14:00:46 +02:00
Henrik Rydgård 901f698a10 Merge pull request #16201 from unknownbrackets/gedebugger
GE Debugger: Normalize framebuffer texture preview
2022-10-11 11:33:19 +02:00
Henrik Rydgård 804220afb1 Merge pull request #16198 from unknownbrackets/gles-stencil
Readback stencil buffer for debugger on GLES
2022-10-11 10:55:38 +02:00
Henrik Rydgård f9e736b01b Merge pull request #16202 from hrydgard/workaround-arm32-forcecheck-issue
Workaround ARM32 forcecheck issue
2022-10-11 10:52:48 +02:00
Henrik Rydgård bc28f54612 Disables "ForceCheck" on jit invalidation on ARM32, introduced in #16194
I'm not sure if we should call it at all here, but at least this makes
games work again on ARM32. Will need more investigation.
2022-10-11 10:10:52 +02:00
Henrik Rydgård baa9451cb7 Warning fixes 2022-10-11 09:55:53 +02:00
Unknown W. Brackets 416265431b GE Debugger: Display if tex is framebuf.
Rather than guessing based on size, let's show explicitly.
2022-10-10 22:35:42 -07:00
Unknown W. Brackets a4bd0af3f2 GE Debugger: Use a modern GL context.
Note: still a separate context from Draw, since it's drawn to an entirely
separate window.

This stops RenderDoc from getting angry.
2022-10-10 22:13:16 -07:00
Unknown W. Brackets fb6b2514f2 GE Debugger: Remove ancient unecessary GL calls. 2022-10-10 21:59:54 -07:00
Unknown W. Brackets 48c39543af GE Debugger: Normalize framebuffer texture preview.
Previously, we would show the render-to-texture with its original
dimensions.  While useful, this skewed the preview coordinates and was
sometimes confusing.  Additionally, depth texturing didn't preview.

This pads and subsets the texture preview so it's the right size.
2022-10-10 21:54:24 -07:00
Unknown W. Brackets fc9f200224 GE Debugger: Centralize current fb tex fetch code. 2022-10-10 21:50:53 -07:00
Unknown W. Brackets 999055791d D3D9: Remove block transfer code overrides.
We can just use Draw now.  Keep depth, though, since it applies scale.
2022-10-10 21:48:38 -07:00
Henrik Rydgård b7c5c4ec51 Merge pull request #16199 from unknownbrackets/mips-offset
MIPS: Fix non standard layout offsets
2022-10-11 06:46:25 +02:00
Henrik Rydgård 8b2e7d6e2f Merge pull request #16200 from unknownbrackets/vulkan-depth
Vulkan: Fix initial depth copy w/o existing depth
2022-10-11 06:45:21 +02:00
Unknown W. Brackets c89cf1cde7 D3D9: Implement CopyFramebufferToMemorySync().
This works like other backends, including D3D11.  This allows us to get
rid of the old implementation and reuse more code.
2022-10-10 21:28:14 -07:00
Unknown W. Brackets 26fd063cd1 Vulkan: Fix initial depth copy w/o existing depth. 2022-10-10 19:14:34 -07:00
Unknown W. Brackets 728748b108 MIPS: Fix non standard layout offsets. 2022-10-10 17:30:15 -07:00
Unknown W. Brackets fc68cd9457 GLES: Add debug readback of stencil data.
This allows the existing gpu.buffer.renderStencil to snapshot the state.
2022-10-10 17:09:14 -07:00
Unknown W. Brackets c03d327ddd GLES: Refactor depth pipeline create.
So we can reuse for stencil as well.
2022-10-10 16:55:30 -07:00
Unknown W. Brackets 59cc7a8000 GPU: Rename stencil write pipeline. 2022-10-10 16:54:29 -07:00
Unknown W. Brackets b991a84b91 GLES: Allow stencil texturing if supported. 2022-10-10 16:43:19 -07:00
Henrik Rydgård 5318452e76 it_IT - Italian localization: Apply giona888's latest changes 2022-10-10 19:16:25 +02:00