dawn-cmake/test/unittest/reader/spirv/SpvParserCFGTest_EmitBody_L...

31 lines
517 B
Plaintext

#include <metal_stdlib>
using namespace metal;
void main_1(thread uint* const tint_symbol_1) {
*(tint_symbol_1) = 10u;
while (true) {
*(tint_symbol_1) = 20u;
if (false) {
*(tint_symbol_1) = 30u;
{
*(tint_symbol_1) = 90u;
}
continue;
} else {
*(tint_symbol_1) = 40u;
}
{
*(tint_symbol_1) = 90u;
}
}
*(tint_symbol_1) = 99u;
return;
}
fragment void tint_symbol() {
thread uint tint_symbol_2 = 0u;
main_1(&(tint_symbol_2));
return;
}