22 lines
304 B
Plaintext
22 lines
304 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
struct S {
|
|
float2 field0;
|
|
uint field1;
|
|
int field2;
|
|
};
|
|
|
|
void main_1() {
|
|
uint2 const x_1 = uint2(10u, 20u);
|
|
int2 const x_2 = int2(30, 40);
|
|
float2 const x_3 = float2(50.0f, 60.0f);
|
|
return;
|
|
}
|
|
|
|
kernel void tint_symbol() {
|
|
main_1();
|
|
return;
|
|
}
|
|
|