SPIRV-Cross/shaders-msl/comp/functions.comp

13 lines
94 B
Plaintext

#version 450
shared int foo[1337];
void myfunc()
{
foo[0]=13;
}
void main()
{
myfunc();
}