Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zhuxudong opened this issue Apr 30, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@zhuxudong
Copy link
Member

#ifdef test
    void test(){}
#endif

vert(){
}

frag(){
    test()
}
@zhuxudong zhuxudong added the bug Something isn't working label Apr 30, 2024
@Sway007
Copy link
Member

Sway007 commented May 11, 2024

fixed by #2087

@Sway007 Sway007 closed this as completed May 11, 2024
@zhuxudong zhuxudong reopened this May 11, 2024
@zhuxudong
Copy link
Member Author

fixed by #2087

not this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants