Shaders: model v_add_f64 whole-wave sums and s_mov_b32 copies

This commit is contained in:
Noname0202 committed 2026-11-24 20:39:19 +01:00
1 parent a721e87b03
commit 881c2ccb90
5 files changed
+410 -1

No files matched your search

+4
View File
@@ -73,6 +73,7 @@ pub const USER_VIEW_BIAS: u32 = 0x103;
/// `ShaderFlags` bits (metadata) and their `SFI0` feature bits.
pub(crate) mod flags {
pub const RAW_BUFFERS: u64 = 1 << 4;
pub const DOUBLES: u64 = 1 << 5;
pub const STENCIL_REF: u64 = 1 << 11;
pub const TYPED_UAV_LOADS: u64 = 1 << 13;
pub const WAVE_OPS: u64 = 1 << 19;
@@ -747,6 +748,9 @@ impl Shader {
dxil.extend(&bitcode);
let mut features = 0u64;
if self.flags & flags::DOUBLES != 0 {
features |= 0x1;
}
if self.flags & flags::STENCIL_REF != 0 {
features |= 0x200;
}