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

20 lines
445 B
Plaintext
Raw Normal View History

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