chore(tests): add issue links for TODOs

This commit is contained in:
Andy Leiserson 2025-08-26 14:29:24 -07:00
parent 7933dd78aa
commit 03513e8f90
6 changed files with 12 additions and 7 deletions

View File

@ -1 +1,2 @@
god_mode = true # requires F16_IN_F32
# TODO(https://github.com/gfx-rs/wgpu/issues/8154): enable only `F16_IN_F32` capability
god_mode = true

View File

@ -1 +1,2 @@
god_mode = true # TODO: replace with finer `DUAL_SOURCE_BLENDING` capability
# TODO(https://github.com/gfx-rs/wgpu/issues/8154): enable only `DUAL_SOURCE_BLENDING` capability
god_mode = true

View File

@ -1,4 +1,5 @@
god_mode = true # requires F16_IN_F32
# TODO(https://github.com/gfx-rs/wgpu/issues/8154): enable only `F16_IN_F32` capability
god_mode = true
targets = "METAL"
[msl]

View File

@ -1,4 +1,5 @@
god_mode = true # requires F16_IN_F32
# TODO(https://github.com/gfx-rs/wgpu/issues/8154): enable only `F16_IN_F32` capability
god_mode = true
[msl]
fake_missing_bindings = false

View File

@ -1 +1,2 @@
god_mode = true # requires F16_IN_F32
# TODO(https://github.com/gfx-rs/wgpu/issues/8154): enable only `F16_IN_F32` capability
god_mode = true

View File

@ -1083,7 +1083,7 @@ macro_rules! check_extension_validation {
// Second check, for the expected validation error when the capability is not present
let error = naga::valid::Validator::new(naga::valid::ValidationFlags::all(), !caps)
.validate(&module)
.map_err(|e| e.into_inner()); // TODO: Add tests for spans, too?
.map_err(|e| e.into_inner()); // TODO(https://github.com/gfx-rs/wgpu/issues/8153): Add tests for spans
#[allow(clippy::redundant_pattern_matching)]
if !matches!(&error, $val_err_pat) {
eprintln!(
@ -1163,7 +1163,7 @@ fn validation_error(
};
naga::valid::Validator::new(naga::valid::ValidationFlags::all(), caps)
.validate(&module)
.map_err(|e| e.into_inner()) // TODO: Add tests for spans, too?
.map_err(|e| e.into_inner()) // TODO(https://github.com/gfx-rs/wgpu/issues/8153): Add tests for spans
}
#[test]