Update wgpu to 0.16

This commit is contained in:
Héctor Ramón Jiménez 2023-05-02 06:31:22 +02:00 committed by Josh Groves
parent ddaaae295c
commit 80e8465af6
3 changed files with 4 additions and 6 deletions

View file

@ -76,7 +76,7 @@ fn vs_main(in_vert: VertexInput) -> VertexOutput {
f32((color & 0xff000000u) >> 24u),
) / 255.0;
var dim = vec2<u32>(0);
var dim: vec2<u32> = vec2(0u);
switch in_vert.content_type {
case 0u: {
dim = textureDimensions(color_atlas_texture);