mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 00:04:11 +00:00
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:
parent
869d0cf316
commit
ac160444ba
@ -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!(
|
||||
|
Loading…
Reference in New Issue
Block a user