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

variables can be declared with unmasked keyword #2835

Open
MkazemAkhgary opened this issue Apr 14, 2024 · 0 comments
Open

variables can be declared with unmasked keyword #2835

MkazemAkhgary opened this issue Apr 14, 2024 · 0 comments
Labels

Comments

@MkazemAkhgary
Copy link

MkazemAkhgary commented Apr 14, 2024

This code compiles and does not throw an error, even though it should.

void Test(const unmasked uniform int32 a)
{
    unmasked float x;
    unmasked float y = 1;
}
@MkazemAkhgary MkazemAkhgary changed the title variables can be declared with unmasked keyword despite having no effect. variables can be declared with unmasked keyword Apr 15, 2024
@pbrubaker pbrubaker added the Bugs label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants