Update wgpu
to 0.16
This commit is contained in:
parent
ddaaae295c
commit
80e8465af6
3 changed files with 4 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue