File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments