mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-12-20 04:25:19 +00:00
11 lines
128 B
Rust
11 lines
128 B
Rust
// build-pass
|
|
|
|
use spirv_std as _;
|
|
|
|
#[spirv(fragment)]
|
|
pub fn main(#[spirv(flat)] i: i32) {
|
|
if i > 0 {
|
|
} else {
|
|
}
|
|
}
|