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

22 lines
277 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct S {
float2 field0;
uint field1;
int field2;
};
void main_1() {
float2 x_1_1 = float2(50.0f, 60.0f);
x_1_1.y = 70.0f;
float2 const x_1 = x_1_1;
return;
}
kernel void tint_symbol() {
main_1();
return;
}