Skip to content

Commit 9fc52bb

Browse files
WIP: wtf y local bindings of same sampled texture type no work
1 parent d3cc2f8 commit 9fc52bb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

in.wgsl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@group(0) @binding(0)
2+
var writeTex: texture_storage_2d<rgba8unorm, write>;
3+
4+
fn write_black_to_storage_texture(
5+
// writeTex: texture_storage_2d<rgba8unorm, write>, // BUG: uncomment this, and this won't compile
6+
) {
7+
textureStore(writeTex, vec2(0), vec4(0.));
8+
}

0 commit comments

Comments
 (0)