Skip to content

Commit bf916ce

Browse files
committed
Add missing -enable-16bit-types
1 parent 39f1240 commit bf916ce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/clang/unittests/HLSLExec/LinAlgTests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,7 +1696,7 @@ static const char ConvertShader[] = R"(
16961696

16971697
static void runConvert(ID3D12Device *Device, dxc::SpecificDllLoader &DxcSupport,
16981698
bool Verbose) {
1699-
std::string Args = "-HV 202x";
1699+
std::string Args = "-HV 202x -enable-16bit-types";
17001700
MatrixDim NumElements = 4;
17011701
size_t BufferSize = elementSize(ComponentType::F32) * NumElements;
17021702

@@ -1734,7 +1734,7 @@ static const char VectorAccumulateDescriptorShader[] = R"(
17341734
static void runVectorAccumulateDescriptor(ID3D12Device *Device,
17351735
dxc::SpecificDllLoader &DxcSupport,
17361736
bool Verbose) {
1737-
std::string Args = "-HV 202x";
1737+
std::string Args = "-HV 202x -enable-16bit-types";
17381738
MatrixDim NumElements = 4;
17391739
size_t BufferSize = elementSize(ComponentType::F16) * NumElements;
17401740

0 commit comments

Comments
 (0)