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

[HLSL] Report warning and ignore semantic on place other than parameter and field #57916

Open
python3kgae opened this issue Sep 22, 2022 · 1 comment
Labels
HLSL HLSL Language Support

Comments

@python3kgae
Copy link
Contributor

Now we'll get an error on a local variable like
uint V : SV_DispatchThreadID;

use of undeclared identifier 'SV_DispatchThreadID'.

It should be a warning like "semantic is ignored on local variable ".

@python3kgae python3kgae added the HLSL HLSL Language Support label Sep 22, 2022
@python3kgae
Copy link
Contributor Author

If static data member in a struct is allowed for HLSL, report warning to ignore semantic too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HLSL HLSL Language Support
Projects
Status: No status
Development

No branches or pull requests

1 participant