Commit graph

22 commits

Author SHA1 Message Date
nmzik
3df456675d shader: own control flow on IR blocks with direct targets 2026-10-09 01:59:41 +02:00
nmzik
dbe5353f3a shader: eliminate retained SRT lookup aliases 2026-10-09 01:44:34 +02:00
nmzik
95c89229ad Remove dead shader instruction cycles with linear liveness traversal 2026-10-02 15:49:43 +04:00
nmzik
28f29b8e6f Inline common IR operands and share storage with Phi pairs 2026-10-02 13:24:03 +04:00
nmzik
0791f921f6
UFC 5 in-game (#883)
* shader: release descriptor dependencies

* shader: simplify shared-exit control flow

* shader: fix scalar memory loads

* shader: fix LDS counter bounds

* renderer: skip inactive pixel shaders

* shader: respect FP32 mode in comparisons

* renderer: fix sampler border colors

* shader: resolve descriptors from control flow

* shader: resolve descriptors before resource planning

* shader: handle scalar guards for image bounds

* shader: handle reduced guards for image loops

* shader: fix wave guards and material indices

* shader: preserve scalar buffer offset alignment and carry

* shader: prove masked loop bounds across iteration transitions

* shader: preserve source and IR before resource tracking failures

* shader: track material keys selected from active lanes

* shader: remove obsolete post-dominator analysis

* shader: follow bounds guards through control-flow joins
2026-09-28 16:03:05 +04:00
nmzik
d30dca78be Read image descriptors in one bounded span 2026-09-23 15:41:02 +04:00
nmzik
13fcb3a133 Refresh cached resources in one SRT walk 2026-09-23 15:41:02 +04:00
nmzik
43de8bfaac shader: cache integer dependency checks 2026-09-05 20:35:18 +04:00
nmzik
3213934d42 shader: run merged geometry stages as mesh shaders
Co-authored-by: Brandon Strong <brandostrong@gmail.com>
Co-authored-by: fxpw <fxpw@outlook.com>
Co-authored-by: shadowbeat070 <70843316+shadowbeat070@users.noreply.github.com>
2026-09-05 08:32:23 +04:00
nmzik
c48a8bd6ae shader: evaluate uniform first-lane sampler descriptors 2026-09-03 03:04:17 +02:00
nmzik
af8aecfdde shader: remove recompiler error-string propagation 2026-08-31 05:31:41 +04:00
nmzik
ffa69d48de shader: remove second IR layer 2026-08-26 08:49:39 +02:00
nmzik
d581703ab4 shader: preserve folded control-flow values 2026-08-22 03:31:59 +02:00
nmzik
6e9f162bd4 refactor(shader): compact paired 64-bit lowering 2026-08-21 03:32:47 +02:00
nmzik
443bbcbf90 graphics: separate scalar address bindings 2026-08-18 03:53:43 +02:00
nmzik
b42380ced6 shader_recompiler: add SSA 2026-08-18 03:53:41 +02:00
nmzik
d8a4c83cc7 format src and tests with clang-format 2026-07-31 11:36:12 +02:00
nmzik
167da0abe0 shader: fix readlane/writelane for inactive host lanes 2026-07-31 11:36:12 +02:00
nmzik
832bc84100 fix(shader): stabilize scalar provenance phis in cyclic CFGs 2026-07-29 21:05:24 +02:00
nmzik
a6b61d7aa0 refactor(graphics): split renderer and recompiler into focused modules 2026-07-29 00:30:24 +02:00
nmzik
0a5f78c727 graphics: refactoring #2 2026-07-21 07:37:52 +02:00
nmzik
147188b143 Initial commit 2026-07-16 10:21:41 +02:00