Update dawn & use external OpenGL context hooks

This commit is contained in:
2022-08-29 17:07:21 -04:00
parent 99bb9e5f83
commit d8e41e4bcc
5 changed files with 40 additions and 13 deletions

View File

@@ -1311,14 +1311,14 @@ fn textureSamplePaletteI4(tex: texture_2d<f32>, samp: sampler, uv: vec2<f32>, tl
return mix(t0, t1, f.y);
}}
@stage(vertex)
@vertex
fn vs_main({5}
) -> VertexOutput {{
var out: VertexOutput;{9}{6}
return out;
}}
@stage(fragment)
@fragment
fn fs_main(in: VertexOutput) -> @location(0) vec4<f32> {{{8}{7}
return prev;
}}