20 lines
311 B
HLSL
20 lines
311 B
HLSL
|
SKIP: FAILED
|
||
|
|
||
|
|
||
|
var<private> a : i32;
|
||
|
|
||
|
var<private> b : f32;
|
||
|
|
||
|
fn foo(maybe_zero : i32) {
|
||
|
a /= 0;
|
||
|
a %= 0;
|
||
|
a /= maybe_zero;
|
||
|
a %= maybe_zero;
|
||
|
b /= 0.0;
|
||
|
b %= 0.0;
|
||
|
b /= f32(maybe_zero);
|
||
|
b %= f32(maybe_zero);
|
||
|
}
|
||
|
|
||
|
Failed to generate: error: unknown statement type: tint::ast::CompoundAssignmentStatement
|