Skip to content

Commit f750112

Browse files
fftzengigcbot
authored andcommitted
Allow dx9 umd to force simd with mask
Allow dx9 umd to force simd with mask
1 parent 6ad7aa9 commit f750112

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

IGC/Compiler/CISACodeGen/PixelShaderCodeGen.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,14 +1309,6 @@ bool CPixelShader::CompileSIMDSize(SIMDMode simdMode, EmitPass& EP, llvm::Functi
13091309
return false;
13101310
}
13111311

1312-
if (ctx->PsHighSimdDisable)
1313-
{
1314-
if (simdMode == SIMDMode::SIMD32)
1315-
return false;
1316-
if (EP.m_ShaderDispatchMode == ShaderDispatchMode::DUAL_SIMD8)
1317-
return false;
1318-
}
1319-
13201312
if (m_HasoStencil && !ctx->platform.supportsStencil(simdMode))
13211313
{
13221314
ctx->SetSIMDInfo(SIMD_SKIP_HW, simdMode, EP.m_ShaderDispatchMode);

IGC/Compiler/CodeGenPublic.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,6 @@ namespace IGC
11451145
SInstrTypes m_savedInstrTypes;
11461146

11471147
bool m_hasVendorExtension = false;
1148-
bool PsHighSimdDisable = false;
11491148

11501149
std::vector<int> m_hsIdxMap;
11511150
std::vector<int> m_dsIdxMap;

0 commit comments

Comments
 (0)