rust-gpu/tests/ui/arch/end_primitive.rs
2022-10-19 14:12:11 +03:00

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();
};
}