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

24 lines
344 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct S {
float2 field0;
uint field1;
int field2;
};
void main_1() {
float3x2 x_35 = float3x2(0.0f);
float3x2 const x_1 = x_35;
float3x2 x_2_1 = x_1;
x_2_1[2u] = float2(50.0f, 60.0f);
float3x2 const x_2 = x_2_1;
return;
}
kernel void tint_symbol() {
main_1();
return;
}