Files
SPIRV-Interpreter/example/shader.nzsl
2026-01-11 23:40:50 +01:00

16 lines
219 B
Plaintext

[nzsl_version("1.1")]
module;
struct FragOut
{
[location(0)] color: vec4[f32]
}
[entry(frag)]
fn main() -> FragOut
{
let output: FragOut;
output.color = vec4[f32](4.0, 3.0, 2.0, 1.0);
return output;
}