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
Hi! We need to add "select" intristic support
struct PS { float4 pos : SV_POSITION; float4 color : COLOR0; }; PS main(in float4 pos : SV_POSITION, in float4 color : COLOR0) { PS o; o.pos = pos; o.color = select(pos.zzzz <= color, float4(0.0f, 0.0f, 0.0f, 0.0f), float4(1.0f, 1.0f, 1.0f, 1.0f)); return o; }
glslang.exe -D -V -e main test.vert test.vert ERROR: test.vert:10: 'select' : no matching overloaded function found ERROR: test.vert:10: 'declaration' : Expected test.vert(10): error at column 101, HLSL parsing failed. ERROR: 3 compilation errors. No code generated.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! We need to add "select" intristic support
glslang.exe -D -V -e main test.vert test.vert ERROR: test.vert:10: 'select' : no matching overloaded function found ERROR: test.vert:10: 'declaration' : Expected test.vert(10): error at column 101, HLSL parsing failed. ERROR: 3 compilation errors. No code generated.
The text was updated successfully, but these errors were encountered: