Skip to content

Commit

Permalink
Remove setting ComputeShadersPlusRawAndStructuredBuffers flag and tes…
Browse files Browse the repository at this point in the history
…t that went along with it
  • Loading branch information
Cooper Partin committed Nov 6, 2024
1 parent 931a684 commit adb6619
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
10 changes: 0 additions & 10 deletions llvm/lib/Target/DirectX/DXILShaderFlags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,6 @@ static void updateResourceFlags(ComputedShaderFlags &Flags, Module &M,
break;
}
}

if (Flags.EnableRawAndStructuredBuffers) {
const dxil::ModuleMetadataInfo &MMDI =
AM->getResult<DXILMetadataAnalysis>(M);
VersionTuple SM = MMDI.ShaderModelVersion;
Triple::EnvironmentType SP = MMDI.ShaderProfile;

Flags.ComputeShadersPlusRawAndStructuredBuffers =
(SP == Triple::EnvironmentType::Compute && SM.getMajor() == 4);
}
}

ComputedShaderFlags
Expand Down
24 changes: 0 additions & 24 deletions llvm/test/CodeGen/DirectX/ShaderFlags/buffer_cs4.ll

This file was deleted.

0 comments on commit adb6619

Please sign in to comment.