Fix issues
This commit is contained in:
parent
5cc94805f1
commit
5feb7c929d
12 changed files with 190 additions and 113 deletions
12
src/utils/full-screen-quad.wgsl
Normal file
12
src/utils/full-screen-quad.wgsl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
struct VertexOutput {
|
||||
@builtin(position) position : vec4<f32>,
|
||||
@location(0) uv : vec2<f32>,
|
||||
}
|
||||
|
||||
@vertex
|
||||
fn vertex(
|
||||
@location(0) position : vec2<f32>,
|
||||
@location(1) uv : vec2<f32>
|
||||
) -> VertexOutput {
|
||||
return VertexOutput(vec4(position, 0.0, 1.0), uv);
|
||||
}
|
||||
Loading…
Reference in a new issue