#version 310 es | |
struct str { | |
int arr[4]; | |
}; | |
int[4] func(inout int pointer[4]) { | |
return pointer; | |
} | |
str P = str(int[4](0, 0, 0, 0)); | |
void tint_symbol() { | |
int r[4] = func(P.arr); | |
} | |
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; | |
void main() { | |
tint_symbol(); | |
return; | |
} |