Files
SPIRV-Interpreter/example/shader.nzsl
2025-12-25 02:34:41 +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](1.0, 1.0, 1.0, 1.0);
return output;
}