engine icon indicating copy to clipboard operation
engine copied to clipboard

The code in the ShaderLab macro cannot determine whether it is a vertex or a fragment.

Open zhuxudong opened this issue 10 months ago • 2 comments

#ifdef test
    void test(){}
#endif

vert(){
}

frag(){
    test()
}

zhuxudong avatar Apr 30 '24 09:04 zhuxudong