Scalar buffer loads four dwords a call (VICTORY_SHADER_OPT=127; off): fxceless c36971b2's shader part
What53abe45a("wip wide") brought in: opt bit 64, smem's loads through raw_dwords, its test and switch test as they are there (the global loads of this tree were wide already). Yard capture, turn by turn: 18.47 -> 18.45 ms (12 loops) and 18.23 -> 18.16 (5): nothing, so not on. With the bit off the code written is that of before. Not run yet: scalar_buffer_loads_read_the_same_dwords_one_call_or_four and the gpu tests on the second merge of local/next (2be0515c); the diagnostics build of393e74fbfinished. Belobug ae75a66a is this tree's own opt.rs (both from the fork at ba8697aa) without its first-lane pass; 7263339c is a trace: nothing to take. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
52ee4a18a1
commit
3931fbbbad
1 file changed
+3
@@ -56,6 +56,9 @@ pub const FIRST: u32 = 32;
|
||||
/// console load (`s_buffer_load_dwordx2` to `x16` from an SRV, a
|
||||
/// `global_load_dwordx2` to `x4`) by one call for every four of them, not
|
||||
/// by a call each (`lower.rs`, `raw_dwords`). The same bytes are read.
|
||||
/// From fxceless/victory-fork c36971b2. On an RX 7900 XTX it is worth nothing:
|
||||
/// the yard's frame replayed turn by turn, dispatches and draws 18.47 -> 18.45
|
||||
/// ms (12 loops) and 18.23 -> 18.16 (5 loops): the driver joins the loads.
|
||||
pub const WIDE: u32 = 64;
|
||||
/// The passes over the module.
|
||||
pub const MODULE: u32 = DEAD | FOLD | REUSE | FACTS | LOADS;
|
||||
|
||||
Reference in new issue
Block a user