mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-22 06:45:13 +00:00
10 lines
195 B
Rust
10 lines
195 B
Rust
// build-fail
|
|
// compile-flags: -Ctarget-feature=+rayTracingKHR,+ext:SPV_KHR_ray_tracing
|
|
|
|
use spirv_std as _;
|
|
|
|
#[spirv(any_hit)]
|
|
pub fn main() {
|
|
unsafe { spirv_std::arch::terminate_ray() }
|
|
}
|