Skip to content

Commit 03513e8

Browse files
committed
chore(tests): add issue links for TODOs
1 parent 7933dd7 commit 03513e8

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

naga/tests/in/glsl/bits.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
god_mode = true # requires F16_IN_F32
1+
# TODO(https://github.com/gfx-rs/wgpu/issues/8154): enable only `F16_IN_F32` capability
2+
god_mode = true
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
god_mode = true # TODO: replace with finer `DUAL_SOURCE_BLENDING` capability
1+
# TODO(https://github.com/gfx-rs/wgpu/issues/8154): enable only `DUAL_SOURCE_BLENDING` capability
2+
god_mode = true

naga/tests/in/wgsl/bits-optimized-msl.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
god_mode = true # requires F16_IN_F32
1+
# TODO(https://github.com/gfx-rs/wgpu/issues/8154): enable only `F16_IN_F32` capability
2+
god_mode = true
23
targets = "METAL"
34

45
[msl]

naga/tests/in/wgsl/bits.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
god_mode = true # requires F16_IN_F32
1+
# TODO(https://github.com/gfx-rs/wgpu/issues/8154): enable only `F16_IN_F32` capability
2+
god_mode = true
23

34
[msl]
45
fake_missing_bindings = false
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
god_mode = true # requires F16_IN_F32
1+
# TODO(https://github.com/gfx-rs/wgpu/issues/8154): enable only `F16_IN_F32` capability
2+
god_mode = true

naga/tests/naga/wgsl_errors.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ macro_rules! check_extension_validation {
10831083
// Second check, for the expected validation error when the capability is not present
10841084
let error = naga::valid::Validator::new(naga::valid::ValidationFlags::all(), !caps)
10851085
.validate(&module)
1086-
.map_err(|e| e.into_inner()); // TODO: Add tests for spans, too?
1086+
.map_err(|e| e.into_inner()); // TODO(https://github.com/gfx-rs/wgpu/issues/8153): Add tests for spans
10871087
#[allow(clippy::redundant_pattern_matching)]
10881088
if !matches!(&error, $val_err_pat) {
10891089
eprintln!(
@@ -1163,7 +1163,7 @@ fn validation_error(
11631163
};
11641164
naga::valid::Validator::new(naga::valid::ValidationFlags::all(), caps)
11651165
.validate(&module)
1166-
.map_err(|e| e.into_inner()) // TODO: Add tests for spans, too?
1166+
.map_err(|e| e.into_inner()) // TODO(https://github.com/gfx-rs/wgpu/issues/8153): Add tests for spans
11671167
}
11681168

11691169
#[test]

0 commit comments

Comments
 (0)