DirectXShaderCompiler
                                
                                 DirectXShaderCompiler copied to clipboard
                                
                                    DirectXShaderCompiler copied to clipboard
                            
                            
                            
                        Fix broken ternary on matrix return type (#4434)
HLSL ternary operators that result in vector or matrix types need special handling even if the condition is not a vector. This change allows vector and matrix result types for ternary operators even if matrix and vector conditions are not allowed.
Preventing matrix and vector conditions is done in Sema, so we should never be able to reach this code path with a matrix or vector condition unless the HLSL language version is < 2021.
Fixes #4434
:white_check_mark: Build DirectXShaderCompiler 1.0.1640 completed (commit https://github.com/microsoft/DirectXShaderCompiler/commit/dceecbcb0f by @llvm-beanz)
Test failures are due to our preservation of value names in debug builds.
:x: Build DirectXShaderCompiler 1.0.1648 failed (commit https://github.com/microsoft/DirectXShaderCompiler/commit/8575694977 by @llvm-beanz)
:white_check_mark: Build DirectXShaderCompiler 1.0.1654 completed (commit https://github.com/microsoft/DirectXShaderCompiler/commit/71022e86c2 by @llvm-beanz)
:white_check_mark: Build DirectXShaderCompiler 1.0.1682 completed (commit https://github.com/microsoft/DirectXShaderCompiler/commit/cb0063e9c3 by @llvm-beanz)
:x: Build DirectXShaderCompiler 1.0.1988 failed (commit https://github.com/microsoft/DirectXShaderCompiler/commit/fbfdc4f3a6 by @llvm-beanz)
:white_check_mark: Build DirectXShaderCompiler 1.0.2040 completed (commit https://github.com/microsoft/DirectXShaderCompiler/commit/200257435b by @llvm-beanz)
:white_check_mark: Build DirectXShaderCompiler 1.0.2045 completed (commit https://github.com/microsoft/DirectXShaderCompiler/commit/44290d2355 by @llvm-beanz)