psContext.pRecipW = work.pRecipW;
psContext.pSamplePosX = (const float*)&T::MultisampleT::samplePosX;
psContext.pSamplePosY = (const float*)&T::MultisampleT::samplePosY;
+ psContext.rasterizerSampleCount = T::MultisampleT::numSamples;
for(uint32_t yy = y; yy < y + KNOB_TILE_Y_DIM; yy += SIMD_TILE_Y_DIM)
{
psContext.recipDet = work.recipDet;
psContext.pSamplePosX = (const float*)&T::MultisampleT::samplePosX;
psContext.pSamplePosY = (const float*)&T::MultisampleT::samplePosY;
+ psContext.rasterizerSampleCount = T::MultisampleT::numSamples;
for (uint32_t yy = y; yy < y + KNOB_TILE_Y_DIM; yy += SIMD_TILE_Y_DIM)
{
psContext.recipDet = work.recipDet;
psContext.pSamplePosX = (const float*)&T::MultisampleT::samplePosX;
psContext.pSamplePosY = (const float*)&T::MultisampleT::samplePosY;
+ psContext.rasterizerSampleCount = T::MultisampleT::numSamples;
+
psContext.sampleIndex = 0;
PixelRateZTestLoop<T> PixelRateZTest(pDC, work, coeffs, state, pDepthBase, pStencilBase, rastState.clipDistanceMask);
uint32_t primID; // IN: primitive ID
uint32_t sampleIndex; // IN: sampleIndex
+ uint32_t rasterizerSampleCount; // IN: sample count used by the rasterizer
+
};
//////////////////////////////////////////////////////////////////////////