Skip to content

Commit

Permalink
fixup! feat(vulkan): enable GPU-based validation for Vulkan backend
Browse files Browse the repository at this point in the history
WIP: maybe valid squelch of instrumentation failure for `uniform_input`?
  • Loading branch information
ErichDonGubler committed Feb 9, 2024
1 parent c3df032 commit b595c1d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/tests/shader/struct_layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,11 @@ static UNIFORM_INPUT: GpuTestConfiguration = GpuTestConfiguration::new()
FailureCase::backend(wgpu::Backends::VULKAN)
.validation_error("a matrix with stride 8 not satisfying alignment to 16"),
)
.expect_fail(
FailureCase::backend(wgpu::Backends::VULKAN).validation_error(
"Failure to instrument shader. Proceeding with non-instrumented shader.",
),
)
.limits(Limits::downlevel_defaults()),
)
.run_async(|ctx| {
Expand Down

0 comments on commit b595c1d

Please sign in to comment.