Last nzsl version update

This commit is contained in:
SirLynix
2022-06-07 20:18:16 +02:00
parent 510ef8c41e
commit c7b6d83bbc
16 changed files with 38 additions and 20 deletions

View File

@@ -11,7 +11,6 @@ external
struct FragIn
{
[builtin(fragcoord)] fragcoord: vec4[f32],
[location(0)] uv: vec2[f32]
}

View File

@@ -46,7 +46,7 @@ external
struct FragIn
{
[builtin(fragcoord)] fragcoord: vec4[f32]
[builtin(frag_coord)] fragcoord: vec4[f32]
}
struct FragOut

View File

@@ -18,7 +18,7 @@ struct VertOut
struct FragOut
{
[location(0)] color: vec4[f32],
[builtin(fragdepth)] depth: f32
[builtin(frag_depth)] depth: f32
}
[entry(frag)]