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

20 lines
436 B
Plaintext

#include <metal_stdlib>
using namespace metal;
void main_1(thread uint* const tint_symbol_1) {
uint const x_2 = *(tint_symbol_1);
return;
}
void tint_symbol_inner(uint x_1_param, thread uint* const tint_symbol_2) {
*(tint_symbol_2) = x_1_param;
main_1(tint_symbol_2);
}
fragment void tint_symbol(uint x_1_param [[sample_id]]) {
thread uint tint_symbol_3 = 0u;
tint_symbol_inner(x_1_param, &(tint_symbol_3));
return;
}