Commit graph

33501 commits

Author SHA1 Message Date
Unknown W. Brackets
fc39f042ae softgpu: Avoid unnecessary flushing for curves.
We don't need to flush all drawing between curves in softgpu, let them
queue up.
2022-09-22 00:08:38 -07:00
Unknown W. Brackets
337518415e
Merge pull request #16076 from hrydgard/clut-gpu-scale-fix
Don't try to replace or scale CLUT8-on-GPU textures.
2022-09-21 18:22:39 -07:00
Henrik Rydgård
a92aaf9311 Dirty more state after depal 2022-09-21 23:57:19 +02:00
Henrik Rydgård
8ed1694a2f Don't try to replace or scale CLUT8-on-GPU textures.
See #8509
2022-09-21 23:50:03 +02:00
Henrik Rydgård
c8c6b945bc
Merge pull request #16073 from hrydgard/rectangular-clut-copy
CLUTs can be loaded from small rectangular textures. Need to linearize.
2022-09-21 23:34:34 +02:00
Henrik Rydgård
4eeeae8a70
Merge pull request #16074 from lvonasek/hotfix_openxr_stereo
OpenXR - Stereo for most games fixed
2022-09-21 18:54:34 +02:00
Henrik Rydgård
78ab013914 Shouldn't 'floor' there 2022-09-21 18:37:40 +02:00
Henrik Rydgård
94ae0fabfa CLUTs can be loaded from small rectangular textures. Need to linearize.
Fixes #8406, although technically, we should wrap by bufw, not the
texture width.
2022-09-21 18:33:15 +02:00
Lubos
bbc5a7cf4b OpenXR - Stereo mirroring fixed, disable stereo when no world scale defined 2022-09-21 16:44:31 +02:00
Henrik Rydgård
1971fc49de
Merge pull request #16070 from unknownbrackets/tls-minor
Kernel: Match index lookup behavior for tls
2022-09-21 11:53:36 +02:00
Henrik Rydgård
3ff400e40e
Merge pull request #16069 from unknownbrackets/depth-clamp
GPU: Simplify depth clamped clip planes
2022-09-21 10:01:49 +02:00
Henrik Rydgård
95ea0450fc
Merge pull request #16066 from unknownbrackets/softgpu-fastrect
softgpu: Narrow blend check for fast path further
2022-09-21 10:01:04 +02:00
Henrik Rydgård
61593dd896
Merge pull request #16071 from unknownbrackets/vulkan-headless
Vulkan: Avoid crash in headless on finish
2022-09-21 09:27:39 +02:00
Henrik Rydgård
7f0405b777
Merge pull request #16067 from unknownbrackets/lines
GPU: Account for w properly in lines, fixing width
2022-09-21 09:13:39 +02:00
Unknown W. Brackets
30454f8dc7 Vulkan: Avoid crash in headless on finish. 2022-09-21 00:09:34 -07:00
Unknown W. Brackets
79c5c93d35 Kernel: Match index lookup behavior for tls.
It might be the uids it returns always follow this format.
This makes the test almost pass, outside psplink using more memory (test
should be adjusted to compensate.)
2022-09-20 19:25:32 -07:00
Unknown W. Brackets
f8d29fdc1a GPU: Simplify depth clamped clip planes.
There's no need to think about the scaled Z if we're using w anyway, just
use the existing Z clipping.
2022-09-20 16:23:19 -07:00
Henrik Rydgård
a223e2a572
Merge pull request #16068 from unknownbrackets/depth-clamp
GPU: Clip clamped depth accounting for perspective
2022-09-21 01:15:12 +02:00
Unknown W. Brackets
2fc7f72d72 GPU: Clip clamped depth accounting for perspective. 2022-09-20 15:55:39 -07:00
Unknown W. Brackets
0a24004eac GPU: Account for w properly in lines, fixing width.
See #15756.
2022-09-20 15:12:16 -07:00
Unknown W. Brackets
cefef3b4f9 softgpu: Narrow blend check for fast path further.
See #15756, frame was largely black because of a full screen blend
rectangle intended to brighten the screen slighty (I assume.)
2022-09-20 14:29:33 -07:00
Henrik Rydgård
0c39c434d0
Merge pull request #16065 from unknownbrackets/softgpu-tests
Correct some minor issues shown in a few tests
2022-09-20 23:27:41 +02:00
Unknown W. Brackets
1dc1b2c35b headless: Use display buf for compare screenshot.
This is what the test actually uses too.
2022-09-20 14:05:50 -07:00
Unknown W. Brackets
bf86f00df8 GPU: Correct display framebuffer reading.
The displayFramebuf_ might not be set yet, but that doesn't mean we want
an INVALID format and zero stride.  We might also be rendering to a
different target, but still want the display.
2022-09-20 14:01:36 -07:00
Unknown W. Brackets
78a3925198 softgpu: Fix display framebuffer read. 2022-09-20 13:43:19 -07:00
Henrik Rydgård
355c18512f Fix BGRA issue on D3D with GPU CLUT textures 2022-09-20 22:31:54 +02:00
Unknown W. Brackets
7483923d07 softgpu: Correct clear rect off by one issues. 2022-09-20 12:57:05 -07:00
Henrik Rydgård
dc22fd2205
Merge pull request #16064 from unknownbrackets/ui-tags
UI: Fix controller autoconf list result
2022-09-20 21:11:27 +02:00
Henrik Rydgård
6e9ad58de2
Merge pull request #16062 from unknownbrackets/sysmem-volatile
Allow volatile memory for more objects
2022-09-20 20:25:25 +02:00
Unknown W. Brackets
d19138f157 UI: Fix controller autoconf list result. 2022-09-20 11:12:55 -07:00
Unknown W. Brackets
67055ff270 headless: Update tests. 2022-09-20 10:49:59 -07:00
Unknown W. Brackets
d665b2b6ca Kernel: Disallow partitions 8/10 to match tests.
I think these might be accessible only in kernel mode.
2022-09-20 10:46:43 -07:00
Unknown W. Brackets
cd2fc94c1b
Merge pull request #16061 from hrydgard/vulkan-submit-main-before-acquire
Vulkan: Submit main command buffer before acquiring the swapchain image
2022-09-20 10:43:53 -07:00
Henrik Rydgård
3244e99fd1
Merge pull request #16063 from lvonasek/hotfix_openxr_ipd
OpenXR - Support for all headset's IPDs fixed
2022-09-20 19:43:17 +02:00
Lubos
39fae4cfcb OpenXR - Support for all headset's IPDs fixed 2022-09-20 18:57:58 +02:00
Unknown W. Brackets
251cc73afd Kernel: Allow volatile for MsgPipe buffers. 2022-09-20 09:20:05 -07:00
Unknown W. Brackets
56f2d7cdac Kernel: Allow volatile for Tlspl objects. 2022-09-20 09:05:39 -07:00
Henrik Rydgård
85d1f28997 Throw in assorted warning fixes 2022-09-20 18:04:08 +02:00
Unknown W. Brackets
3c80bd94a2 Kernel: Allow kernel/volatile VPLs as well. 2022-09-20 08:57:24 -07:00
Henrik Rydgård
f6cb6c7695 Submit main command buffer before acquire. Fix sync bug. 2022-09-20 17:52:48 +02:00
Henrik Rydgård
fff080202f When taking screenshots, make sure that the readback command happens on the right cmdbuf. 2022-09-20 17:48:19 +02:00
Unknown W. Brackets
fd232a0e3c
Merge pull request #16060 from hrydgard/vulkan-framedata-refactor
Vulkan FrameData refactor
2022-09-20 08:39:38 -07:00
Unknown W. Brackets
fca9b77bd2 Kernel: Allow allocating FPLs in volatile memory. 2022-09-20 08:32:01 -07:00
Henrik Rydgård
c1d1c85116 Minor code cleanups (hasBegun is now redundant, for example) 2022-09-20 17:05:53 +02:00
Henrik Rydgård
b190c33cc7 Rewrite some present logic for slightly more clarity. Fixes bad logic and a minor race condition. 2022-09-20 17:05:53 +02:00
Henrik Rydgård
c7322edf7b Various refactoring 2022-09-20 17:05:45 +02:00
Unknown W. Brackets
25c0a55ccf
Merge pull request #16058 from unknownbrackets/sysmem-volatile
Allow allocating against volatile memory
2022-09-20 07:27:03 -07:00
Unknown W. Brackets
6cfde01858
Merge pull request #16059 from hrydgard/unify-gpu-feature-flags
Unify many GPU feature flags
2022-09-20 07:05:02 -07:00
Henrik Rydgård
aa19712fc3 Unify depth texture and framebuffer fetch checks 2022-09-20 10:47:49 +02:00
Henrik Rydgård
09bcf3ec13 Unify range culling detection 2022-09-20 10:15:04 +02:00