Add cfg features wgsl-in and wgsl-out to spv atomic upgrade test. Fixes #5816

This commit is contained in:
Schell Carl Scivally
2024-06-15 08:01:45 +12:00
committed by Jim Blandy
parent 702c8cb693
commit e78c33b309

View File

@@ -5686,6 +5686,7 @@ mod test {
let _ = super::parse_u8_slice(&bin, &Default::default()).unwrap();
}
#[cfg(all(feature = "wgsl-in", feature = "wgsl-out"))]
#[test]
fn atomic_i_inc() {
let _ = env_logger::builder()