Commit Graph
45601 Commits
Author SHA1 Message Date
Unknown W. Brackets 770fdbeece Kernel: Add reason to reported stop error. 2022-10-15 21:38:08 -07:00
Unknown W. Brackets 1b5e5e2556 Windows: Improve reporting of WASAPI errors. 2022-10-15 21:23:49 -07:00
Unknown W. Brackets 8fa24045b1 Io: Fail open earlier from ms0: w/ no access flags.
The PSP returns this error code if you use 0 for the open flags on ms0:/.
2022-10-15 20:55:26 -07:00
Unknown W. Brackets 0226d95000 jit: Run invalidates immediately.
Previously, I thought we might clear native code when invalidating - we
don't.  We only do that when clearing.
2022-10-15 18:52:46 -07:00
Unknown W. Brackets fa5f9d5e74 jit: Consistently check range on invalidate.
We did this on x86, we should do it everywhere or nowhere.
2022-10-15 18:30:13 -07:00
Unknown W. Brackets c4bf2cb5c0 jit: Ignore zero byte icache invalidates.
These were getting marked pending and were clearing all cache, causing
performance concerns in for example LittleBigPlanet.
2022-10-15 18:27:52 -07:00
sum2012 0e52856faf Merge remote-tracking branch 'upstream/master' into Font-ltn12-hack 2022-10-16 07:27:12 +08:00
Henrik Rydgård cd0cef7aa1 Merge pull request #16219 from catsout/fix-vulkan-wayland
Vulkan: fix wayland swapchain size 1x1
2022-10-15 22:51:48 +02:00
Henrik Rydgård 06401e52ee Merge pull request #16231 from unknownbrackets/softgpu-cullw
softgpu: Cull a triangle with all negative w
2022-10-15 22:33:52 +02:00
Henrik Rydgård b58f79333d Merge pull request #16232 from unknownbrackets/d3d9-scissor
D3D9: Correct scissor state cache in Draw
2022-10-15 22:12:07 +02:00
Unknown W. Brackets 8156f6fe28 D3D9: Correct scissor state cache in Draw.
Gets reset when updating the render target.  This fixes UI scissors.
2022-10-15 12:50:27 -07:00
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