Skip to content

Commit ad56bf2

Browse files
committed
derivative: do not implicitly turn on OpCapability DerivativeControl, fix warnings
1 parent 877f800 commit ad56bf2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/spirv-std/src/arch/derivative.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ use glam::{Vec2, Vec3, Vec3A, Vec4};
33

44
macro_rules! cap_deriv_control {
55
() => {
6-
unsafe {
7-
core::arch::asm!("OpCapability DerivativeControl");
8-
}
6+
// unsafe {
7+
// core::arch::asm!("OpCapability DerivativeControl");
8+
// }
99
};
1010
}
1111

0 commit comments

Comments
 (0)