mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-13 00:26:00 +00:00
FXC errors on these, and they are undefined behavior in WGSL. Bug: tint:1083 Change-Id: I7643fdc6991f8729f274535b603b761398412398 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60500 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com>
10 lines
223 B
HLSL
10 lines
223 B
HLSL
SKIP: FAILED
|
|
|
|
[numthreads(1, 1, 1)]
|
|
void f() {
|
|
const int c = (1 / 0);
|
|
return;
|
|
}
|
|
O:\src\chrome\src\third_party\dawn\third_party\tint\test\Shader@0x000002477B82F5C0(3,18-22): error X4010: Unsigned integer divide by zero
|
|
|