Skip to content

Commit 92feb86

Browse files
committed
[Autobackout][FuncReg]Revert of change: b1153b2
Cleanup of unused fields Change-Id: Iea67c69721163af199ff59ccfdca0eaf20fdbfa5
1 parent a472cad commit 92feb86

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

IGC/Compiler/CISACodeGen/PixelShaderCodeGen.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,7 @@ namespace IGC
756756
pKernelProgram->samplerCount = GetSamplerCount(m_samplerCount);
757757
pKernelProgram->renderTargetMask = m_RenderTargetMask;
758758
pKernelProgram->constantInterpolationEnableMask = m_ConstantInterpolationMask;
759+
pKernelProgram->hasEvalSampler = m_HasEvalSampler;
759760
pKernelProgram->NOSBufferSize = m_NOSBufferSize / getGRFSize(); // in 256 bits
760761
pKernelProgram->isMessageTargetDataCacheDataPort = isMessageTargetDataCacheDataPort;
761762

@@ -877,6 +878,9 @@ namespace IGC
877878
case GenISAIntrinsic::GenISA_PullSnappedBarys:
878879
m_HasPullBary = true;
879880
break;
881+
case GenISAIntrinsic::GenISA_evaluateSampler:
882+
m_HasEvalSampler = true;
883+
break;
880884
default:
881885
break;
882886
}

IGC/Compiler/CISACodeGen/PixelShaderCodeGen.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ namespace IGC
163163
bool m_HasDouble;
164164
bool m_VectorMask;
165165
uint m_ConstantInterpolationMask = 0;
166+
bool m_HasEvalSampler = false;
166167

167168
bool m_HasDiscard;
168169

IGC/Compiler/CodeGenPublic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ namespace IGC
271271
unsigned int bufferSlot = 0;
272272
unsigned int statelessCBPushedSize = 0;
273273

274-
275274
// GenUpdateCB outputs
276275
void* m_ConstantBufferReplaceShaderPatterns = nullptr;
277276
uint m_ConstantBufferReplaceShaderPatternsSize = 0;
@@ -324,6 +323,7 @@ namespace IGC
324323
bool posXYOffsetEnable;
325324
bool blendToFillEnabled;
326325
bool forceEarlyZ;
326+
bool hasEvalSampler;
327327

328328
bool sampleCmpToDiscardOptimizationPossible;
329329

0 commit comments

Comments
 (0)