blob: 1f0a3df48227f9b52b41a67d137d0d2500b03d53 [file] [log] [blame]
uint3 tint_div_v3u32(uint3 lhs, uint3 rhs) {
return (lhs / (((rhs == (0u).xxx)) ? ((1u).xxx) : (rhs)));
}
[numthreads(1, 1, 1)]
void f() {
uint a = 4u;
uint3 b = uint3(1u, 2u, 3u);
uint3 r = tint_div_v3u32(uint3((a).xxx), b);
}