-
Notifications
You must be signed in to change notification settings - Fork 813
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
[SPIRV] Invalid SSA and missing OpPhi? #63
Comments
There are really two models that SPIR-V supports. The one chosen by glslang seems to be a load/store model without |
Then why keeping phi? Is phi that efficient at removing excessive load/store?
(Because phi is kind of complex to implement on SIMD machines)
|
It seems since spirv is based on ssa, but not formal ssa, |
…sions Add missing extensions for several symbols
version 450
layout(location = 0) in vec4 in_position;
void main()
{
float y;
}
It seems to generate invalid SSA because it is assigning 2 times a variable, probably because it misses a phi SSA function.
Or do I miss something?
The text was updated successfully, but these errors were encountered: