engine
engine copied to clipboard
The code in the ShaderLab macro cannot determine whether it is a vertex or a fragment.
#ifdef test
void test(){}
#endif
vert(){
}
frag(){
test()
}