dawn-cmake/test/tint/statements/decrement/for_loop_continuing.wgsl.ex...

21 lines
316 B
Plaintext
Raw Normal View History

#version 310 es
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void unused_entry_point() {
return;
}
struct i_block {
uint inner;
};
layout(binding = 0, std430) buffer i_block_1 {
uint inner;
} i;
void tint_symbol() {
{
for(; (i.inner < 10u); i.inner = (i.inner - 1u)) {
}
}
}