add temporary fix for image wgsl

This commit is contained in:
Dispersia 2021-04-12 23:07:58 -07:00
parent c719091c3d
commit 0722d5e3ec
4 changed files with 11 additions and 9 deletions

View file

@ -40,4 +40,4 @@ fn vs_main(input: VertexInput) -> VertexOutput {
[[stage(fragment)]]
fn fs_main(input: VertexOutput) -> [[location(0)]] vec4<f32> {
return textureSample(u_texture, u_sampler, input.uv);
}
}