Add missed level value to textureLoad
Caught by the bots running SwiftShader BUG=tint:516 Change-Id: I4e93c2f73cf48242b49c8aea1f5f29a21ac6b8e7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/43600 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
parent
29f0bd7e6a
commit
b9eec93172
|
@ -95,8 +95,8 @@ class CopyTextureForBrowserTests : public DawnTest {
|
|||
srcTexCoord.y = size.y - dstTexCoord.y - 1;
|
||||
}
|
||||
|
||||
var srcColor : vec4<f32> = textureLoad(src, srcTexCoord);
|
||||
var dstColor : vec4<f32> = textureLoad(dst, dstTexCoord);
|
||||
var srcColor : vec4<f32> = textureLoad(src, srcTexCoord, 0);
|
||||
var dstColor : vec4<f32> = textureLoad(dst, dstTexCoord, 0);
|
||||
var success : bool = all(srcColor == dstColor);
|
||||
|
||||
var outputIndex : u32 = GlobalInvocationID.y * size.x + GlobalInvocationID.x;
|
||||
|
|
Loading…
Reference in New Issue