Repository navigation
Conversation
|
Thanks for these. I measured #234, #242 and #243 on real recorded ProjectScarlett Setup: 83 requests translated with DXC CPU time, excluding the largest shader (it took either about 19 s or about 26 s whichever build compiled it):
So on these shaders the gains are much smaller than on the synthetic programs, and I wouldn't expect a noticeable startup change. #242 still looks like a reasonable cleanup. For startup time, it would help to base the next optimisations on stage timings from real shaders (#238 looks useful for that), with driver time included. Not checked: output correctness of the changed shaders, AMD, or any game run. |
Change
Lower a restricted subset of integer vector ALU instructions directly into paired VGPR assignments instead of duplicating shadow registers and copying them back. Require a single predicated destination assignment, no mask writes, and a closed operand/expression whitelist. All other forms keep the generic path. Both DPP source reads still precede either lane write, and row/bank gating is preserved. Native/any-host records are unchanged.
Measurements
Synthetic 512-exchange compute program; same base 3b8a220, production DXC flags and five alternating runs per version:
Validation
Draft pending full GPU suite on exact branch and AMD validation; actual retail performance not measured.