Skip to content

Commit cd72b11

Browse files
ben-claytondalecurtis
authored andcommitted
Update WGSL of renderer_webgpu.js
This `textureSampleLevel()` overload was moved to a new `textureSampleBaseClampToEdge()` builtin
1 parent 6b3c09e commit cd72b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/video-decode-display/renderer_webgpu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class WebGPURenderer {
5252
5353
@fragment
5454
fn frag_main(@location(0) uv : vec2<f32>) -> @location(0) vec4<f32> {
55-
return textureSampleLevel(myTexture, mySampler, uv);
55+
return textureSampleBaseClampToEdge(myTexture, mySampler, uv);
5656
}
5757
`;
5858

0 commit comments

Comments
 (0)