Silenced dead code warning

Little unsure about this though, scary that it pops up all of a sudden while obviously being used by the functions below.
This commit is contained in:
Sylvester Hesp 2022-08-29 21:01:27 +02:00 committed by Eduard-Mihai Burtescu
parent 869d0cf316
commit ac160444ba

View File

@ -188,6 +188,7 @@ pub unsafe fn read_clock_uvec2_khr<V: Vector<u32, 2>, const SCOPE: u32>() -> V {
}
#[spirv_std_macros::gpu_only]
#[allow(dead_code)]
unsafe fn call_glsl_op_with_ints<T: Integer, const OP: u32>(a: T, b: T) -> T {
let mut result = T::default();
asm!(