Skip to content

Commit 6303db1

Browse files
committed
Update fragment shader tests to use --allow-fragment-no-output flag
Updates 190 fragment shader test files to include the new --allow-fragment-no-output compiler flag, allowing them to compile successfully despite producing no output operations. Changes: - Add `--allow-fragment-no-output` flag to fragment shader tests - Handle both new compile-flags lines and comma-separated additions to existing llvm-args parameters - Update corresponding .stderr files to reflect new line numbers - Preserve issue-284-dead-fragment.rs test to validate error detection This ensures all existing fragment shader tests pass while maintaining the ability to detect genuine fragment shader output issues through the dedicated error test case.
1 parent b9f2ee0 commit 6303db1

File tree

215 files changed

+426
-266
lines changed

Some content is hidden

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

215 files changed

+426
-266
lines changed

tests/compiletests/ui/arch/all.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// build-pass
2+
// compile-flags: -C llvm-args=--allow-fragment-no-output
23

34
#![feature(repr_simd)]
45

tests/compiletests/ui/arch/all.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
warning: [Rust-GPU] temporarily re-allowing old-style `#[repr(simd)]` (with fields)
2-
--> $DIR/all.rs:16:1
2+
--> $DIR/all.rs:17:1
33
|
4-
16 | struct Vec2<T>(T, T);
4+
17 | struct Vec2<T>(T, T);
55
| ^^^^^^^^^^^^^^
66
|
77
= note: removed upstream by https://github.com/rust-lang/rust/pull/129403

tests/compiletests/ui/arch/any.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// build-pass
2+
// compile-flags: -C llvm-args=--allow-fragment-no-output
23

34
#![feature(repr_simd)]
45

tests/compiletests/ui/arch/any.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
warning: [Rust-GPU] temporarily re-allowing old-style `#[repr(simd)]` (with fields)
2-
--> $DIR/any.rs:16:1
2+
--> $DIR/any.rs:17:1
33
|
4-
16 | struct Vec2<T>(T, T);
4+
17 | struct Vec2<T>(T, T);
55
| ^^^^^^^^^^^^^^
66
|
77
= note: removed upstream by https://github.com/rust-lang/rust/pull/129403

tests/compiletests/ui/arch/control_barrier.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// build-pass
2+
// compile-flags: -C llvm-args=--allow-fragment-no-output
23

34
#![feature(adt_const_params)]
45
#![allow(incomplete_features)]

tests/compiletests/ui/arch/debug_printf.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// build-pass
2+
// compile-flags: -C llvm-args=--allow-fragment-no-output
23
// compile-flags: -Ctarget-feature=+ext:SPV_KHR_non_semantic_info
34

45
use spirv_std::spirv;

tests/compiletests/ui/arch/debug_printf_type_checking.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// compile-flags: -C llvm-args=--allow-fragment-no-output
12
// build-fail
23
// normalize-stderr-test "\S*/crates/spirv-std/src/" -> "$$SPIRV_STD_SRC/"
34
// compile-flags: -Ctarget-feature=+ext:SPV_KHR_non_semantic_info

tests/compiletests/ui/arch/debug_printf_type_checking.stderr

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,76 @@
11
error: Unterminated format specifier: missing type after precision
2-
--> $DIR/debug_printf_type_checking.rs:11:23
2+
--> $DIR/debug_printf_type_checking.rs:12:23
33
|
4-
11 | debug_printf!("%1");
4+
12 | debug_printf!("%1");
55
| ^^^^
66

77
error: Unterminated format specifier: missing type after decimal point
8-
--> $DIR/debug_printf_type_checking.rs:12:23
8+
--> $DIR/debug_printf_type_checking.rs:13:23
99
|
10-
12 | debug_printf!("%1.");
10+
13 | debug_printf!("%1.");
1111
| ^^^^^
1212

1313
error: Unrecognised format specifier: '.'
14-
--> $DIR/debug_printf_type_checking.rs:13:23
14+
--> $DIR/debug_printf_type_checking.rs:14:23
1515
|
16-
13 | debug_printf!("%.");
16+
14 | debug_printf!("%.");
1717
| ^^^^
1818

1919
error: Unrecognised format specifier: '.'
20-
--> $DIR/debug_printf_type_checking.rs:14:23
20+
--> $DIR/debug_printf_type_checking.rs:15:23
2121
|
22-
14 | debug_printf!("%.1");
22+
15 | debug_printf!("%.1");
2323
| ^^^^^
2424

2525
error: Unterminated format specifier: missing type after fraction precision
26-
--> $DIR/debug_printf_type_checking.rs:15:23
26+
--> $DIR/debug_printf_type_checking.rs:16:23
2727
|
28-
15 | debug_printf!("%1.1");
28+
16 | debug_printf!("%1.1");
2929
| ^^^^^^
3030

3131
error: Missing vector dimensions specifier
32-
--> $DIR/debug_printf_type_checking.rs:16:23
32+
--> $DIR/debug_printf_type_checking.rs:17:23
3333
|
34-
16 | debug_printf!("%1.1v");
34+
17 | debug_printf!("%1.1v");
3535
| ^^^^^^^
3636

3737
error: Invalid width for vector: 5
38-
--> $DIR/debug_printf_type_checking.rs:17:23
38+
--> $DIR/debug_printf_type_checking.rs:18:23
3939
|
40-
17 | debug_printf!("%1.1v5");
40+
18 | debug_printf!("%1.1v5");
4141
| ^^^^^^^^
4242

4343
error: Missing vector type specifier
44-
--> $DIR/debug_printf_type_checking.rs:18:23
44+
--> $DIR/debug_printf_type_checking.rs:19:23
4545
|
46-
18 | debug_printf!("%1.1v2");
46+
19 | debug_printf!("%1.1v2");
4747
| ^^^^^^^^
4848

4949
error: Unrecognised vector type specifier: 'r'
50-
--> $DIR/debug_printf_type_checking.rs:19:23
50+
--> $DIR/debug_printf_type_checking.rs:20:23
5151
|
52-
19 | debug_printf!("%1.1v2r");
52+
20 | debug_printf!("%1.1v2r");
5353
| ^^^^^^^^^
5454

5555
error: Unrecognised format specifier: 'r'
56-
--> $DIR/debug_printf_type_checking.rs:20:23
56+
--> $DIR/debug_printf_type_checking.rs:21:23
5757
|
58-
20 | debug_printf!("%r", 11_i32);
58+
21 | debug_printf!("%r", 11_i32);
5959
| ^^^^
6060

6161
error[E0308]: mismatched types
62-
--> $DIR/debug_printf_type_checking.rs:21:29
62+
--> $DIR/debug_printf_type_checking.rs:22:29
6363
|
64-
21 | debug_printf!("%f", 11_u32);
64+
22 | debug_printf!("%f", 11_u32);
6565
| --------------------^^^^^^-
6666
| | |
6767
| | expected `f32`, found `u32`
6868
| arguments to this function are incorrect
6969
|
7070
help: the return type of this call is `u32` due to the type of the argument passed
71-
--> $DIR/debug_printf_type_checking.rs:21:9
71+
--> $DIR/debug_printf_type_checking.rs:22:9
7272
|
73-
21 | debug_printf!("%f", 11_u32);
73+
22 | debug_printf!("%f", 11_u32);
7474
| ^^^^^^^^^^^^^^^^^^^^------^
7575
| |
7676
| this argument influences the return type of `spirv_std`
@@ -82,22 +82,22 @@ note: function defined here
8282
= note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
8383
help: change the type of the numeric literal from `u32` to `f32`
8484
|
85-
21 | debug_printf!("%f", 11_f32);
85+
22 | debug_printf!("%f", 11_f32);
8686
| ~~~
8787

8888
error[E0308]: mismatched types
89-
--> $DIR/debug_printf_type_checking.rs:22:29
89+
--> $DIR/debug_printf_type_checking.rs:23:29
9090
|
91-
22 | debug_printf!("%u", 11.0_f32);
91+
23 | debug_printf!("%u", 11.0_f32);
9292
| --------------------^^^^^^^^-
9393
| | |
9494
| | expected `u32`, found `f32`
9595
| arguments to this function are incorrect
9696
|
9797
help: the return type of this call is `f32` due to the type of the argument passed
98-
--> $DIR/debug_printf_type_checking.rs:22:9
98+
--> $DIR/debug_printf_type_checking.rs:23:9
9999
|
100-
22 | debug_printf!("%u", 11.0_f32);
100+
23 | debug_printf!("%u", 11.0_f32);
101101
| ^^^^^^^^^^^^^^^^^^^^--------^
102102
| |
103103
| this argument influences the return type of `spirv_std`
@@ -109,13 +109,13 @@ note: function defined here
109109
= note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
110110
help: change the type of the numeric literal from `f32` to `u32`
111111
|
112-
22 | debug_printf!("%u", 11u32);
112+
23 | debug_printf!("%u", 11u32);
113113
| ~~~
114114

115115
error[E0277]: the trait bound `{float}: Vector<f32, 2>` is not satisfied
116-
--> $DIR/debug_printf_type_checking.rs:23:9
116+
--> $DIR/debug_printf_type_checking.rs:24:9
117117
|
118-
23 | debug_printf!("%v2f", 11.0);
118+
24 | debug_printf!("%v2f", 11.0);
119119
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Vector<f32, 2>` is not implemented for `{float}`
120120
|
121121
= help: the following other types implement trait `Vector<T, N>`:
@@ -139,18 +139,18 @@ note: required by a bound in `debug_printf_assert_is_vector`
139139
= note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
140140

141141
error[E0308]: mismatched types
142-
--> $DIR/debug_printf_type_checking.rs:24:29
142+
--> $DIR/debug_printf_type_checking.rs:25:29
143143
|
144-
24 | debug_printf!("%f", Vec2::splat(33.3));
144+
25 | debug_printf!("%f", Vec2::splat(33.3));
145145
| --------------------^^^^^^^^^^^^^^^^^-
146146
| | |
147147
| | expected `f32`, found `Vec2`
148148
| arguments to this function are incorrect
149149
|
150150
help: the return type of this call is `Vec2` due to the type of the argument passed
151-
--> $DIR/debug_printf_type_checking.rs:24:9
151+
--> $DIR/debug_printf_type_checking.rs:25:9
152152
|
153-
24 | debug_printf!("%f", Vec2::splat(33.3));
153+
25 | debug_printf!("%f", Vec2::splat(33.3));
154154
| ^^^^^^^^^^^^^^^^^^^^-----------------^
155155
| |
156156
| this argument influences the return type of `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,4 +1,5 @@
11
// build-pass
2+
// compile-flags: -C llvm-args=--allow-fragment-no-output
23
//
34
// compile-flags: -C target-feature=+DemoteToHelperInvocationEXT,+ext:SPV_EXT_demote_to_helper_invocation
45

tests/compiletests/ui/arch/derivative.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// build-pass
2-
// compile-flags: -C llvm-args=--disassemble-fn=derivative::derivative
2+
// compile-flags: -C llvm-args=--disassemble-fn=derivative::derivative,--allow-fragment-no-output
33

44
use spirv_std::arch::Derivative;
55
use spirv_std::spirv;

tests/compiletests/ui/arch/derivative_control.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// build-pass
22
// compile-flags: -C target-feature=+DerivativeControl
3-
// compile-flags: -C llvm-args=--disassemble-fn=derivative_control::derivative
3+
// compile-flags: -C llvm-args=--disassemble-fn=derivative_control::derivative,--allow-fragment-no-output
44

55
use spirv_std::arch::Derivative;
66
use spirv_std::spirv;

tests/compiletests/ui/arch/index_unchecked.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// build-pass
2+
// compile-flags: -C llvm-args=--allow-fragment-no-output
23

34
use spirv_std::arch::IndexUnchecked;
45
use spirv_std::spirv;

tests/compiletests/ui/arch/integer_min_and_max.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// build-pass
2+
// compile-flags: -C llvm-args=--allow-fragment-no-output
23

34
use spirv_std::arch::{signed_max, signed_min, unsigned_max, unsigned_min};
45
use spirv_std::spirv;

tests/compiletests/ui/arch/kill.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// build-pass
2+
// compile-flags: -C llvm-args=--allow-fragment-no-output
23

34
use spirv_std::spirv;
45

tests/compiletests/ui/arch/memory_barrier.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// build-pass
2+
// compile-flags: -C llvm-args=--allow-fragment-no-output
23

34
#![feature(adt_const_params)]
45
#![allow(incomplete_features)]

tests/compiletests/ui/arch/ray_query_confirm_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_intersection_barycentrics_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_intersection_candidate_aabb_opaque_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_intersection_front_face_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_intersection_geometry_index_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_intersection_instance_custom_index_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_intersection_instance_id_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_intersection_object_ray_direction_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_intersection_object_ray_origin_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_intersection_object_to_world_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_intersection_primitive_index_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_intersection_shader_binding_table_record_offset_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_intersection_t_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_intersection_type_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_ray_flags_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_ray_t_min_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_world_ray_direction_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_get_world_ray_origin_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=+RayQueryKHR,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

tests/compiletests/ui/arch/ray_query_initialize_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,+RayQueryKHR,+ext:SPV_KHR_ray_tracing,+ext:SPV_KHR_ray_query
3+
// compile-flags: -C llvm-args=--allow-fragment-no-output
34

45
use glam::Vec3;
56
use spirv_std::ray_tracing::{AccelerationStructure, RayFlags, RayQuery};

0 commit comments

Comments
 (0)