nmzik
5af370c257
shader: add BUFFER_STORE_FORMAT_D16_X opcode
2026-10-07 16:22:30 +04:00
nmzik
bb98f26433
shader: add missing I64/U64 compare variants
2026-10-07 05:03:09 +04:00
NeySlim
7492cb9577
shader: emulate DS_ORDERED_COUNT as a GDS atomic ( #1117 )
...
* feat(shader): emulate DS_ORDERED_COUNT as a GDS atomic
* fix(shader): issue one ordered-count atomic per wave
* shader: correct ordered-count addressing and wave results
Use the M0 base and pixel packer offset for the GDS counter. Broadcast the
previous value to every lane and preserve the counter when EXEC is empty.
Add GPU regressions for add/exchange with full, partial, and empty EXEC in
wave32 and wave64. The targeted DS and buffer atomic suite passes 63 cases.
---------
Co-authored-by: nmzik <Nmzik@mail.ru >
2026-10-07 01:45:37 +04:00
Henrique Reis Neves
6ef406542c
tests: make kyty_tests build and run every test without LTO ( #1110 )
...
avplayer_file_tests compiles libs/avPlayer.cpp into the test, and its
PRINT_NAME() calls Loader::Timer::GetTimeMs(). Add loader/timer.cpp to the
target, like the other tests that compile HLE library sources. CI links the
test with LTO, which drops the unused reference, so the failure only shows
in non-LTO builds such as the README's no-Qt instructions.
Clang with libstdc++ rejects optional<IndirectDescriptor>::emplace() with
no arguments in ShaderRecompilerComputeTests.cpp. Assign the descriptor the
same way the neighbouring test does.
trophy_system is registered with ctest but kyty_tests did not build its
executable, so ctest reported it as Not Run.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com >
2026-10-06 21:56:48 +04:00
nmzik
ae1e92621d
shader: sample mixed bindless images through contiguous native arrays
2026-10-06 14:53:17 +04:00
Claxten
5601861d67
shader: implement RDNA2 scalar 16-bit sign extension
2026-10-06 14:53:17 +04:00
Claxten
cd06601022
shader: replace CPU selector chains with direct image-table lookup
2026-10-06 14:53:17 +04:00
nmzik
c23de62184
shader: resolve nested descriptor selector tables with exact scalar offsets
2026-10-06 14:53:17 +04:00
Claxten
9caec9f2c8
shader: preserve RDNA2 DLC coherence for flat address loads
2026-10-06 14:53:17 +04:00
nmzik
cdb64bfd4f
graphics: share indirect draw handling and honor indexed sources
2026-10-06 00:35:02 +04:00
nmzik
e5dcfdb87b
graphics: bound unbounded buffer reads and writes ( #1066 )
...
Co-authored-by: João Lobo <joaodlobo@gmail.com >
2026-10-06 00:35:02 +04:00
nmzik
984010227f
graphics: make depth bounds dynamic to reuse pipelines
...
Co-authored-by: TheCruZ <thecruzwtf@gmail.com >
2026-10-06 00:35:02 +04:00
TheCruZ
57c97ebd86
Decode 16-bit color clears ( TheCruZ/KytyPS5-GTA@b8dcd826 )
2026-10-06 00:35:02 +04:00
nmzik
e6fce45d3a
gpu: skip drains for CPU-only memory unmaps
2026-10-05 21:00:12 +04:00
nmzik
5b826c6e4a
shader: emit native 64-bit operations where compatible
2026-10-05 20:41:03 +04:00
nmzik
266c12cec6
Revert "shader: keep scalar data native and preserve raw addresses"
...
This reverts commit cd9fc6ff2d .
2026-10-05 18:39:31 +04:00
nmzik
7a0e1dafd7
shader: classify native half values with shared operand decoding
2026-10-05 18:39:31 +04:00
nmzik
1d41ddb378
shader: allow RDNA2 SDWA partial destinations for i24 multiply
2026-10-05 18:39:31 +04:00
fxpw
1d55272467
shader: support V_CMPX_NE_U16
2026-10-05 09:25:19 +04:00
nmzik
2b1b7ed0e4
shader: FLAT opcode=0x24
2026-10-05 08:48:20 +04:00
nmzik
af3011cd69
shader: add missing 64-bit integer image atomics
...
Co-authored-by: shadowbeat070 <70843316+shadowbeat070@users.noreply.github.com >
2026-10-05 04:12:06 +04:00
nmzik
de9c15fa79
shader: encode SNORM and scaled formatted buffer stores
...
Co-authored-by: shadowbeat070 <70843316+shadowbeat070@users.noreply.github.com >
2026-10-05 04:11:48 +04:00
nmzik
e85279ea7b
shader: correct DS float min/max operands and special values
...
Co-authored-by: shadowbeat070 <70843316+shadowbeat070@users.noreply.github.com >
2026-10-05 04:11:48 +04:00
nmzik
d8be245c22
shader: separate legacy FP32 MAD rounding from fused FMA
...
Co-authored-by: shadowbeat070 <70843316+shadowbeat070@users.noreply.github.com >
2026-10-05 04:11:48 +04:00
nmzik
8e46a3ccfa
gpu: add packed unsigned-scaled vertex formats
...
Co-authored-by: Çağatay Güçlü <33038942+defektu@users.noreply.github.com >
2026-10-05 02:24:51 +04:00
Çağatay Güçlü
b27b89f513
shader: fix VOP2 DPP8 decoding
2026-10-05 02:24:51 +04:00
nmzik
0885f43a6a
gpu: keep 2D and 3D texture aliases separate
...
Co-authored-by: Çağatay Güçlü <33038942+defektu@users.noreply.github.com >
2026-10-05 02:24:51 +04:00
Çağatay Güçlü
a98a39c575
gpu: accept partially resident depth flags
2026-10-05 02:24:51 +04:00
nmzik
94e7d239dd
gpu: fix zero-source alpha blending on swizzled targets
...
Co-authored-by: Çağatay Güçlü <33038942+defektu@users.noreply.github.com >
2026-10-05 02:24:51 +04:00
nmzik
8274e517b2
shader: add FP64 min, max and rounding
...
Co-authored-by: Çağatay Güçlü <33038942+defektu@users.noreply.github.com >
2026-10-05 02:24:51 +04:00
nmzik
96011cc5c9
gpu: share pipelines when color and alpha blend equations match
2026-10-05 02:24:51 +04:00
nmzik
b0bbaef1eb
gpu: store large compute shared memory in device buffers
2026-10-05 02:24:51 +04:00
nmzik
0ee8800905
shader: read image descriptors indexed by workgroup
...
Co-authored-by: Çağatay Güçlü <33038942+defektu@users.noreply.github.com >
2026-10-05 02:24:51 +04:00
nmzik
0bef3fc0d3
gpu: fix separate alpha blending on swizzled render targets
...
Co-authored-by: Çağatay Güçlü <33038942+defektu@users.noreply.github.com >
2026-10-05 02:24:51 +04:00
Çağatay Güçlü
a2f851788f
gpu: create texture views before rebinding overlapping images
2026-10-05 02:24:51 +04:00
nmzik
5940e623d5
gpu: fix 10-11-11 render-target storage
...
Co-authored-by: Çağatay Güçlü <33038942+defektu@users.noreply.github.com >
2026-10-05 02:24:51 +04:00
nmzik
96c067d0fb
shader: fix filtering for scaled 8-bit textures
...
Co-authored-by: Çağatay Güçlü <33038942+defektu@users.noreply.github.com >
2026-10-05 02:24:51 +04:00
nmzik
98557a83b6
shader: implement RDNA2 DS masked OR through shared atomic updates
...
Co-authored-by: shadowbeat070 <70843316+shadowbeat070@users.noreply.github.com >
2026-10-04 18:39:34 +04:00
nmzik
c3f4962715
shader: use native narrow storage for byte-aligned PS5 buffers
...
Co-authored-by: MehmetCambaz <mcambaz18@gmail.com >
2026-10-04 18:39:34 +04:00
nmzik
0ce84e59b6
gpu: limit buffer readback to requested dirty pages
2026-10-04 18:39:34 +04:00
nmzik
efbaa17f71
shader: preserve raw EXEC and VCC bits in 64-bit scalar selects
2026-10-04 18:39:34 +04:00
nmzik
783d9f8d6b
shader: read descriptor dependencies from the native raw buffer source
2026-10-04 18:39:34 +04:00
nmzik
57cf086886
shader: synchronize GPU-written descriptor dependencies through buffer cache
2026-10-04 18:39:34 +04:00
nmzik
dbf66b7f4f
shader: support RDNA2 BVH64 ray intersections with shared traversal
2026-10-04 18:39:34 +04:00
nmzik
3ba0e971e9
shader: materialize exact buffer capacity through shared clean reads
...
Co-authored-by: shadowbeat070 <70843316+shadowbeat070@users.noreply.github.com >
2026-10-04 18:39:34 +04:00
nmzik
8b05b6730e
shader: bind dispatch spans while keeping GPU record counts native
...
Co-authored-by: TheCruZ <thecruzwtf@gmail.com >
2026-10-04 18:39:34 +04:00
nmzik
cd9fc6ff2d
shader: keep scalar data native and preserve raw addresses
2026-10-04 18:39:34 +04:00
nmzik
c17fa5b936
shader: implement RDNA2 DS forward lane permute
...
Co-authored-by: shadowbeat070 <70843316+shadowbeat070@users.noreply.github.com >
2026-10-04 18:39:34 +04:00
nmzik
1f6be3d570
shader: preserve descriptor key SSA across native-resolved image uses
...
Co-authored-by: TheCruZ <thecruzwtf@gmail.com >
2026-10-04 18:39:34 +04:00
nmzik
b183cb1011
shader: share bounded material-key scans across scalar and vector loads
2026-10-04 18:39:34 +04:00