Issue 91639
Summary [HLSL] Boolean vector swizzle support
Labels HLSL
Assignees
Reporter llvm-beanz
    Clang EXT vectors don't support swizzling boolean values because you can't take an address of an `i1`. In HLSL `bool` is `i32`, and we support boolean vector swizzles.

This feature needs design and spec work, and should potentially be something we look at for how to clean up our boolean representation for vectors since what we do now in DXC doesn't really work in all cases (see: https://github.com/microsoft/DirectXShaderCompiler/issues/6082).

### Acceptance Criteria
* Specification of boolean behavior we intend to support in Clang
* Implementation and tests of vector of bool swizzling
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to