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

16 lines
318 B
Plaintext

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