HLSL: Fix #846: support mixed ternary types.
Vector conditions properly convert the true/false expression types to same width vector as the condition. Scalar conditions make the true/false expressions convert to each other.
Showing
- Test/baseResults/hlsl.conditional.frag.out 731 additions, 582 deletionsTest/baseResults/hlsl.conditional.frag.out
- Test/hlsl.conditional.frag 9 additions, 2 deletionsTest/hlsl.conditional.frag
- glslang/MachineIndependent/Intermediate.cpp 19 additions, 9 deletionsglslang/MachineIndependent/Intermediate.cpp
Loading
Please register or sign in to comment