Skip to content

Commit

Permalink
Simple stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald committed Sep 28, 2023
1 parent 4ef17b8 commit e0596e1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
CARGO_TERM_COLOR: always
RUST_LOG: info
RUST_BACKTRACE: full
MSRV: 1.70
MSRV: "1.70"
PKG_CONFIG_ALLOW_CROSS: 1 # allow android to work
RUSTFLAGS: --cfg=web_sys_unstable_apis -D warnings
RUSTDOCFLAGS: -Dwarnings
Expand Down
5 changes: 1 addition & 4 deletions tests/src/infra/single.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ impl SingleTest {
let running_msg = if let Some(reasons) = skip_reason {
skip = true;

let names: ArrayVec<_, 4> = reasons
.iter_names()
.map(|(name, _)| name)
.collect();
let names: ArrayVec<_, 4> = reasons.iter_names().map(|(name, _)| name).collect();
let names_text = names.join(" | ");

format!("Skipped Failure: {}", names_text)
Expand Down
5 changes: 0 additions & 5 deletions tests/tests/bind_group_layout_dedup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,6 @@ static BIND_GROUP_LAYOUT_DEDUPLICATION: GpuTestConfiguration = GpuTestConfigurat
ctx.queue.submit(Some(encoder.finish()));
});

#[test]
fn bind_group_layout_deduplication() {
initialize_test(TestParameters::default(), |ctx| {})
}

const SHADER_SRC: &str = "
@vertex fn vs_main() -> @builtin(position) vec4<f32> { return vec4<f32>(1.0); }
@fragment fn fs_main() -> @location(0) vec4<f32> { return vec4<f32>(1.0); }
Expand Down
6 changes: 2 additions & 4 deletions tests/tests/device.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
use wgpu_test::{
fail, gpu_test, infra::GpuTestConfiguration, FailureCase, TestParameters,
};
use wgpu_test::{fail, gpu_test, infra::GpuTestConfiguration, FailureCase, TestParameters};

#[gpu_test]
static BIND_GROUP_LAYOUT_DEDUPLICATION: GpuTestConfiguration = GpuTestConfiguration::new()
static CROSS_DEVICE_BIND_GROUP_USAGE: GpuTestConfiguration = GpuTestConfiguration::new()
.parameters(TestParameters::default().skip(FailureCase::always()))
.run_sync(|ctx| {
// Create a bind group uisng a layout from another device. This should be a validation
Expand Down
5 changes: 1 addition & 4 deletions tests/tests/shader/zero_init_workgroup_mem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ static ZERO_INIT_WORKGROUP_MEMORY: GpuTestConfiguration = GpuTestConfiguration::
Backends::VULKAN,
"swiftshader",
))
.skip(FailureCase::backend_adapter(
Backends::VULKAN,
"llvmpipe",
))
.skip(FailureCase::backend_adapter(Backends::VULKAN, "llvmpipe"))
.limits(Limits::downlevel_defaults()),
)
.run_sync(|ctx| {
Expand Down

0 comments on commit e0596e1

Please sign in to comment.