mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 12:21:35 +00:00
Fix ComputeDispatchTests
BUG=dawn:710 Change-Id: I47dac524f66f84e2d5e3aa966935bd2ca9d03144 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44920 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
parent
cc84ee24fc
commit
f4496c14b7
@ -45,7 +45,7 @@ class ComputeDispatchTests : public DawnTest {
|
||||
fn main() -> void {
|
||||
const dispatch : vec3<u32> = input.expectedDispatch;
|
||||
|
||||
if (dispatch.x == 0 || dispatch.y == 0 || dispatch.z == 0) {
|
||||
if (dispatch.x == 0u || dispatch.y == 0u || dispatch.z == 0u) {
|
||||
output.workGroups = vec3<u32>(0xFFFFFFFFu, 0xFFFFFFFFu, 0xFFFFFFFFu);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user