Skip to content

Commit adb6619

Browse files
author
Cooper Partin
committed
Remove setting ComputeShadersPlusRawAndStructuredBuffers flag and test that went along with it
1 parent 931a684 commit adb6619

File tree

2 files changed

+0
-34
lines changed

2 files changed

+0
-34
lines changed

llvm/lib/Target/DirectX/DXILShaderFlags.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,6 @@ static void updateResourceFlags(ComputedShaderFlags &Flags, Module &M,
6969
break;
7070
}
7171
}
72-
73-
if (Flags.EnableRawAndStructuredBuffers) {
74-
const dxil::ModuleMetadataInfo &MMDI =
75-
AM->getResult<DXILMetadataAnalysis>(M);
76-
VersionTuple SM = MMDI.ShaderModelVersion;
77-
Triple::EnvironmentType SP = MMDI.ShaderProfile;
78-
79-
Flags.ComputeShadersPlusRawAndStructuredBuffers =
80-
(SP == Triple::EnvironmentType::Compute && SM.getMajor() == 4);
81-
}
8272
}
8373

8474
ComputedShaderFlags

llvm/test/CodeGen/DirectX/ShaderFlags/buffer_cs4.ll

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)