Skip to content

Commit c4ee5a8

Browse files
committed
wgsl: ignore wgsl in compile tests with unsupported extensions or instructions
1 parent 4821a5a commit c4ee5a8

File tree

60 files changed

+108
-50
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+108
-50
lines changed

tests/compiletests/ui/arch/all_memory_barrier.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// build-pass
22
// compile-flags: -C target-feature=+VulkanMemoryModelDeviceScopeKHR,+ext:SPV_KHR_vulkan_memory_model
33
// compile-flags: -C llvm-args=--disassemble-fn=all_memory_barrier::all_memory_barrier
4+
// ignore-wgsl
45

56
use spirv_std::spirv;
67

tests/compiletests/ui/arch/convert_u_to_acceleration_structure_khr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// build-pass
22
// compile-flags: -Ctarget-feature=+RayTracingKHR,+ext:SPV_KHR_ray_tracing
3+
// ignore-wgsl
34

45
use spirv_std::spirv;
56

tests/compiletests/ui/arch/debug_printf.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// build-pass
22
// compile-flags: -Ctarget-feature=+ext:SPV_KHR_non_semantic_info
3+
// ignore-wgsl
34

45
use spirv_std::spirv;
56
use spirv_std::{

tests/compiletests/ui/arch/demote_to_helper_invocation.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// build-pass
22
//
33
// compile-flags: -C target-feature=+DemoteToHelperInvocationEXT,+ext:SPV_EXT_demote_to_helper_invocation
4+
// ignore-wgsl
45

56
use spirv_std::spirv;
67

tests/compiletests/ui/arch/emit_stream_vertex.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// build-pass
22
// compile-flags: -C target-feature=+GeometryStreams
3+
// ignore-wgsl
34

45
use spirv_std::spirv;
56

tests/compiletests/ui/arch/emit_vertex.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// build-pass
22
// compile-flags: -Ctarget-feature=+Geometry
3+
// ignore-wgsl
34

45
use spirv_std::spirv;
56

tests/compiletests/ui/arch/end_primitive.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// build-pass
22
// compile-flags: -Ctarget-feature=+Geometry
3+
// ignore-wgsl
34

45
use spirv_std::spirv;
56

tests/compiletests/ui/arch/end_stream_primitive.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// build-pass
22
// compile-flags: -C target-feature=+GeometryStreams
3+
// ignore-wgsl
34

45
use spirv_std::spirv;
56

tests/compiletests/ui/arch/execute_callable.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// build-pass
22
// compile-flags: -Ctarget-feature=+RayTracingKHR,+ext:SPV_KHR_ray_tracing
3+
// ignore-wgsl
34

45
use spirv_std::spirv;
56

tests/compiletests/ui/arch/ignore_intersection_khr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// build-pass
22
// compile-flags: -Ctarget-feature=+RayTracingKHR,+ext:SPV_KHR_ray_tracing
3+
// ignore-wgsl
34

45
use spirv_std::spirv;
56

0 commit comments

Comments
 (0)