We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running this command:
glslangValidator -e main -H test.vert.hlsl
On this shader:
void main(uniform float4 somevar, out float4 l_position : SV_Position) { l_position = somevar; }
Results in somevar being compiled as Input instead of being added either as UniformConstant or being added to the $Global block:
somevar
Input
UniformConstant
$Global
... 16: TypePointer Input 7(fvec4) 17(somevar): 16(ptr) Variable Input ...
This is a major blocker for us.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Running this command:
On this shader:
Results in
somevar
being compiled asInput
instead of being added either asUniformConstant
or being added to the$Global
block:This is a major blocker for us.
The text was updated successfully, but these errors were encountered: