nmzik
d6b2abe26f
Remove redundant command buffer checks
2026-09-23 15:41:02 +04:00
nmzik
79530b4c5e
Read indirect dispatch counts from GPU buffers
...
Co-authored-by: Mac <me@itsmemac.com>
2026-09-23 15:41:02 +04:00
nmzik
c997cdb837
Skip zero-valued indirect CX 0x24a
2026-09-21 00:49:54 +04:00
nmzik
79120d53ec
Handle chained PM4 buffers without recursion
2026-09-15 14:43:15 +04:00
nmzik
7e89b97daf
Handle front shader allocation state
2026-09-14 20:29:20 +04:00
nmzik
a9ae04c152
graphics: decode observed FSR setup registers
...
Inspired by https://github.com/KytyPS5/KytyPS5/pull/607
Co-authored-by: BlackCAT <52720489+psnwd@users.noreply.github.com>
2026-09-14 10:30:28 +04:00
nmzik
00a16f3120
gpu: retain fused hull shader user-data addresses
2026-09-14 06:58:32 +04:00
nmzik
25a44371e3
refactor(graphics)
2026-09-12 13:40:10 +04:00
nmzik
0b4e78c0b2
graphics: execute DB_RENDER_OVERRIDE depth and stencil copies
2026-09-09 15:26:52 +04:00
nmzik
9918dc2591
render: set merged GS user data from shader registers
...
Co-authored-by: shadowbeat070 <70843316+shadowbeat070@users.noreply.github.com>
2026-09-05 15:08:20 +04:00
nmzik
c28b71f8e0
gpu: centralize depth shading-rate handling
2026-09-04 05:55:28 +02:00
nmzik
f27a136430
Refactor(simplify) PM4 draw submission arguments
2026-09-03 22:23:13 +02:00
nmzik
fb4d97e8a9
graphics: fix PS5 NGG vertex and instance draw offsets
...
Refs: https://github.com/KytyPS5/KytyPS5/issues/130
2026-09-03 21:52:02 +02:00
nmzik
3b6b3c2040
pm4: handle reserved depth control fields
2026-09-01 20:50:57 +04:00
nmzik
7684c343d6
guest_gpu: fix private AGC register regression
2026-09-01 04:24:47 +04:00
nmzik
1df06e230d
guest_gpu: remove stale PS4/GCN era gpu registers
2026-08-31 20:58:35 +04:00
Mehmet Cambaz
cd0f0a428a
graphics: quiet two misleading render diagnostics ( #416 )
...
* graphics: quiet two misleading render diagnostics
The three PM4 register-offset normalization messages logged once per occurrence with no
limit. They are printed in the colour reserved for problems, and normalizing the offset is
routine, so a short session buries the log in them: PAC-MAN WORLD 2 Re-PAC (PPSA18189)
emitted 24969 of them in about a minute, a fifth of a megabyte and 1.9% of every line
written. Rate-limit all three the way the surrounding diagnostics in these files already
are, which keeps the first occurrences without drowning what follows.
The EQAA check warned whenever a control register was set, including on single-sample
targets where those controls do nothing. That title never multisamples -- all 128 of its
render targets are samples=1 -- yet it still produced the warning, pointing at a cause that
could not apply. Return early when multisampling is off, matching how the neighbouring
sample-location check already reads msaa_num_samples.
Log output only; no rendering behaviour changes.
* graphics: silence normalized offset diagnostics
---------
Co-authored-by: nmzik <Nmzik@mail.ru>
2026-08-31 03:33:32 +04:00
nmzik
65871a53a6
graphics: collapse redundant Vulkan and command buffer types
2026-08-27 06:22:15 +02:00
nmzik
fa891536df
graphics: do not copy PM4 streams & route executed packet interrupts properly
2026-08-25 23:22:54 +02:00
nmzik
c130d74efc
graphics: synthesize always-visible occlusion query results
2026-08-22 01:47:46 +02:00
nmzik
a44dd88806
agc: new ABI
2026-08-21 03:32:49 +02:00
nmzik
ebd47081ca
agc: initialize interpolant mapping registers
2026-08-21 03:32:49 +02:00
nmzik
1546e93d67
gpu: handle native blend-color register writes
2026-08-21 03:32:49 +02:00
nmzik
86dbf89188
agc: emit native wait-on-address packets
2026-08-21 03:32:48 +02:00
nmzik
f119e4baca
gpu: handle partial guard-band register ranges
2026-08-21 03:32:48 +02:00
nmzik
494467406a
gpu: route direct shader register ranges through handlers
2026-08-21 03:32:48 +02:00
Senaxx
a42e3bb09e
graphics: derive compute wave size from dispatch mode
2026-08-21 03:32:48 +02:00
nmzik
69156b2f0e
graphics: accept independent stencil mask writes
2026-08-21 03:32:48 +02:00
nmzik
6b306f64d5
graphics: execute valid PM4 rewind packets
2026-08-18 03:53:44 +02:00
nmzik
30d57bed06
graphics: honor primitive restart state
2026-08-18 03:53:42 +02:00
nmzik
34cf130e4d
Refactor PM4 control register decoding
2026-08-11 16:12:38 +02:00
nmzik
21aa7b66ce
graphics: replace raw GPU enum values with typed formats
2026-08-11 16:12:38 +02:00
nmzik
9c263a9886
gpu: accept disabled default clip planes
2026-08-09 05:23:43 +02:00
nmzik
e3890febaa
agc: new abi
2026-08-09 01:32:32 +02:00
nmzik
1d5f3c8f66
gpu emulation: remove unnecessary Vulkan synchronization
2026-08-08 01:21:03 +02:00
nmzik
26781e6fea
fix(windows): add experimental guest red-zone protection.
...
Port the static instruction patcher from shadPS4.
2026-08-07 05:19:14 +02:00
nmzik
e9f5da27f8
gpu: implement polygon offset
...
Co-authored-by: Pouare514 <julienaulycee@gmail.com>
2026-08-06 22:02:19 +02:00
nmzik
3052dac82e
gpu: correct HS, PS, GS and compute resource register decoding
2026-08-06 21:21:47 +02:00
nmzik
2bb0483473
shader: add missing attributes
2026-08-06 20:32:14 +02:00
nmzik
2f9fcc63c3
fix (agc): implement DCB context state operations
...
Co-authored-by: DeathWhispers <56944463+Death-Whispers-U@users.noreply.github.com>
2026-08-04 19:14:21 +02:00
nmzik
51d0e02543
perf: sync only GPU-dirty readbacks
2026-08-04 02:26:50 +02:00
nmzik
06cbd602c1
graphics: preserve indirect instance state
2026-08-03 00:35:02 +02:00
nmzik
c690aeea62
add HiS PM4 handler, accept Ngs2CustomMastering
2026-08-01 00:12:42 +02:00
nmzik
4b4e3bf3cf
pm4: implement missing selectors
2026-07-31 19:45:47 +02:00
nmzik
d8a4c83cc7
format src and tests with clang-format
2026-07-31 11:36:12 +02:00
nmzik
ec11f31aa6
fix graphical bug (PPSA17221)
2026-07-29 00:31:08 +02:00
nmzik
142b3c20fa
graphics: unify buffer bindings and depth target handling
2026-07-27 10:12:41 +02:00
nmzik
a20cf5d298
refactor renderer
2026-07-27 02:27:29 +02:00
nmzik
a720b28b7f
graphics: cleanup
2026-07-23 23:21:26 +02:00
nmzik
f60007e923
refactor(gpu): use a single ordered PM4 scheduler
2026-07-22 23:15:03 +02:00