Skip to content

Commit 06a751a

Browse files
committed
fixup syntactic sugar
1 parent b5f34ee commit 06a751a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Headers/hlsl/hlsl_intrinsic_helpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace hlsl {
1313
namespace __detail {
1414

15-
constexpr vector<int, 4> d3d_color_to_ubyte4_impl(vector<float, 4> V) {
15+
constexpr int4 d3d_color_to_ubyte4_impl(float4 V) {
1616
// Use the same scaling factor used by FXC, and DXC for DXIL
1717
// (i.e., 255.001953)
1818
// https://github.com/microsoft/DirectXShaderCompiler/blob/070d0d5a2beacef9eeb51037a9b04665716fd6f3/lib/HLSL/HLOperationLower.cpp#L666C1-L697C2

0 commit comments

Comments
 (0)