Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
  • Loading branch information
sagudev committed Feb 16, 2025
1 parent 7d48696 commit d9033b1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions t.wgsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@group(0) @binding(0u)
var image_2d_array: texture_2d_array<f32>;
@group(0) @binding(1u)
var sampler_reg: sampler;

fn texture_sample() {
const tc = vec2(0.5f);

let e = textureSample(image_2d_array, sampler_reg, tc, 0u, vec2<i32>(3i, 1i));
return;
}

0 comments on commit d9033b1

Please sign in to comment.