better wgsl code style
This commit is contained in:
parent
a88155b2a2
commit
390e2a2d34
4 changed files with 11 additions and 11 deletions
|
|
@ -21,12 +21,12 @@ var<private> uvs: array<vec2<f32>, 6> = array<vec2<f32>, 6>(
|
|||
|
||||
struct VertexInput {
|
||||
@builtin(vertex_index) vertex_index: u32,
|
||||
};
|
||||
}
|
||||
|
||||
struct VertexOutput {
|
||||
@builtin(position) position: vec4<f32>,
|
||||
@location(0) uv: vec2<f32>,
|
||||
};
|
||||
}
|
||||
|
||||
@vertex
|
||||
fn vs_main(input: VertexInput) -> VertexOutput {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue