Fix incorrect WGSL u32 != i32 comparison in a test
Bug: tint:354 Change-Id: I4eef469334072aac606d6ed7384eb066986c2db1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45400 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
6a366e3f47
commit
ad8772dfb2
src/tests/end2end
|
@ -160,7 +160,7 @@ TEST_P(VertexBufferRobustnessTest, UIntClamp) {
|
|||
wgpu::Buffer vertexBuffer = utils::CreateBufferFromData(device, kVertices, sizeof(kVertices),
|
||||
wgpu::BufferUsage::Vertex);
|
||||
|
||||
DoTest("[[location(0)]] var<in> a : u32;", "a == 473", vertexState, vertexBuffer, 4, true);
|
||||
DoTest("[[location(0)]] var<in> a : u32;", "a == 473u", vertexState, vertexBuffer, 4, true);
|
||||
}
|
||||
|
||||
TEST_P(VertexBufferRobustnessTest, Float2Clamp) {
|
||||
|
|
Loading…
Reference in New Issue