Skip to content

Commit 15dfa01

Browse files
fftzengigcbot
authored andcommitted
Remove a condition in SimdEarlyCheck
Remove a condition in SimdEarlyCheck
1 parent 8917c24 commit 15dfa01

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,11 +1136,6 @@ void CodeGen(DomainShaderContext* ctx, CShaderProgram::KernelShaderMap& shaders)
11361136
// check based on performance measures.
11371137
static bool SimdEarlyCheck(CodeGenContext* ctx)
11381138
{
1139-
if (ctx->m_instrTypes.numPsInputs > 22 && ctx->m_instrTypes.numInsts > 1000)
1140-
{
1141-
return false;
1142-
}
1143-
11441139
if (ctx->m_sampler < 11 || ctx->m_inputCount < 16 || ctx->m_tempCount < 40 || ctx->m_dxbcCount < 280 || ctx->m_ConstantBufferCount < 500)
11451140
{
11461141
if (ctx->m_tempCount < 90 && ctx->m_ConstantBufferCount < 210)

0 commit comments

Comments
 (0)