================ @@ -12,7 +12,7 @@ namespace hlsl { namespace __detail { -constexpr vector<uint, 4> d3d_color_to_ubyte4_impl(vector<float, 4> V) { +constexpr vector<int, 4> d3d_color_to_ubyte4_impl(vector<float, 4> V) { ---------------- Icohedron wrote:
```suggestion constexpr vector<int, 4> d3d_color_to_ubyte4_impl(float4 V) { ``` Why not use float4 here as well? https://github.com/llvm/llvm-project/pull/151353 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits