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

13 lines
94 B
Plaintext
Raw Normal View History

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