dawn-cmake/test/tint/bug/tint/1083.wgsl.expected.dxc.hlsl

8 lines
123 B
HLSL

[numthreads(1, 1, 1)]
void f() {
const int a = 1;
const int b = 0;
const int c = (a / (b == 0 ? 1 : b));
return;
}