Skip to content

Commit b1153b2

Browse files
davidjwoosys_zuul
authored and
sys_zuul
committed
Cleanup of unused fields
Change-Id: I152ad3a997230e927eeca2a417d435fc5dc268e3
1 parent 0904ba2 commit b1153b2

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

IGC/Compiler/CISACodeGen/PixelShaderCodeGen.cpp

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

@@ -878,9 +877,6 @@ namespace IGC
878877
case GenISAIntrinsic::GenISA_PullSnappedBarys:
879878
m_HasPullBary = true;
880879
break;
881-
case GenISAIntrinsic::GenISA_evaluateSampler:
882-
m_HasEvalSampler = true;
883-
break;
884880
default:
885881
break;
886882
}

IGC/Compiler/CISACodeGen/PixelShaderCodeGen.hpp

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

168167
bool m_HasDiscard;
169168

IGC/Compiler/CodeGenPublic.h

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

274+
274275
// GenUpdateCB outputs
275276
void* m_ConstantBufferReplaceShaderPatterns = nullptr;
276277
uint m_ConstantBufferReplaceShaderPatternsSize = 0;
@@ -323,7 +324,6 @@ namespace IGC
323324
bool posXYOffsetEnable;
324325
bool blendToFillEnabled;
325326
bool forceEarlyZ;
326-
bool hasEvalSampler;
327327

328328
bool sampleCmpToDiscardOptimizationPossible;
329329

0 commit comments

Comments
 (0)