HLSL: Don't do logical short-circuits when the operands are bool-vectors.
This seems a bit ill-defined, and was generating code that made OpPhi of two operands that were Boolean vectors result in a scalar bool.
Showing
- SPIRV/GlslangToSpv.cpp 7 additions, 1 deletionSPIRV/GlslangToSpv.cpp
- Test/baseResults/hlsl.isfinite.frag.out 31 additions, 41 deletionsTest/baseResults/hlsl.isfinite.frag.out
- Test/baseResults/hlsl.logical.binary.vec.frag.out 53 additions, 64 deletionsTest/baseResults/hlsl.logical.binary.vec.frag.out
Loading
Please register or sign in to comment