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

24 lines
289 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct S {
float2 field0;
uint field1;
int field2;
};
void main_1() {
S x_35 = {};
S const x_1 = x_35;
S x_2_1 = x_1;
x_2_1.field2 = 30;
S const x_2 = x_2_1;
return;
}
kernel void tint_symbol() {
main_1();
return;
}