mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 08:14:12 +00:00
12 lines
218 B
Rust
12 lines
218 B
Rust
// build-pass
|
|
// compile-flags: -Ctarget-feature=+Geometry
|
|
|
|
use spirv_std::spirv;
|
|
|
|
#[spirv(geometry(input_lines = 2, output_points = 2))]
|
|
pub fn main() {
|
|
unsafe {
|
|
spirv_std::arch::end_primitive();
|
|
};
|
|
}
|