wip wide
This commit is contained in:
1 parent
35bd011453
commit
53abe45ad2
3 files changed
+222
-7
No files matched your search
@@ -52,10 +52,19 @@ pub const LOADS: u32 = 16;
|
||||
/// half has a lane where every lane is in EXEC (`lower.rs`,
|
||||
/// `v_readfirstlane_b32`).
|
||||
pub const FIRST: u32 = 32;
|
||||
/// Not a pass over the module either: the lowering reads the dwords of one
|
||||
/// 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.
|
||||
pub const WIDE: u32 = 64;
|
||||
/// The passes over the module.
|
||||
pub const MODULE: u32 = DEAD | FOLD | REUSE | FACTS | LOADS;
|
||||
/// Every pass.
|
||||
pub const ALL: u32 = MODULE | FIRST;
|
||||
pub const ALL: u32 = MODULE | FIRST | WIDE;
|
||||
/// The passes that run when nothing says which: every one but [`WIDE`],
|
||||
/// which no card has shown a gain for yet (`VICTORY_SHADER_OPT=127` asks
|
||||
/// for it).
|
||||
pub const DEFAULT: u32 = ALL & !WIDE;
|
||||
|
||||
/// What the instructions a module writes use, of the features a shader
|
||||
/// declares by flag (the validator's "flags must match usage").
|
||||
|
||||
Reference in new issue
Block a user