mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2025-04-28 03:07:24 +00:00
10 lines
129 B
Rust
10 lines
129 B
Rust
![]() |
// Test that calling `panic!` works.
|
||
|
// build-pass
|
||
|
|
||
|
use spirv_std as _;
|
||
|
|
||
|
#[spirv(fragment)]
|
||
|
pub fn main() {
|
||
|
panic!("aaa");
|
||
|
}
|