12 lines
119 B
Plaintext
12 lines
119 B
Plaintext
|
|
struct Foo {
|
|
float f;
|
|
};
|
|
|
|
|
|
export float foo(Foo f[], int i, uniform int j) {
|
|
Foo x = f[i];
|
|
return x.f;
|
|
}
|
|
|