Update wgpu from 0.4 to 0.5 (currently it's not rendering)

This commit is contained in:
Keavon Chambers
2020-05-02 14:44:28 -07:00
parent b30ee294a6
commit 323a951362
12 changed files with 562 additions and 388 deletions
+2 -1
View File
@@ -7,5 +7,6 @@ layout(location=0) out vec4 f_color;
layout(set = 0, binding = 0) uniform sampler2D t_texture;
void main() {
f_color = texture(t_texture, v_uv / textureSize(t_texture, 0) * 100);
// f_color = texture(t_texture, v_uv / textureSize(t_texture, 0) * 100);
f_color = vec4(0.0, 1.0, 0.0, 1.0);
}