21 lines
321 B
Plaintext
21 lines
321 B
Plaintext
#include "../test_static.isph"
|
|
// rule: skip on arch=xe64
|
|
struct InnerUniform {
|
|
uniform int i;
|
|
};
|
|
|
|
struct f_sz {
|
|
uniform int type, temp[5];
|
|
int k[3];
|
|
InnerUniform u;
|
|
};
|
|
|
|
|
|
|
|
export void keep_struct_declared(varying f_sz * uniform s) {
|
|
}
|
|
|
|
task void result(uniform float RET[]) {
|
|
RET[0] = sizeof(f_sz);
|
|
}
|