Lines Matching refs:sampleId
72 …id PixelProgram::setBuiltins(Int &x, Int &y, Float4 (&z)[4], Float4 &w, Int cMask[4], int sampleId) in setBuiltins() argument
82 if((state.multiSampleCount > 1) && (sampleId >= 0)) in setBuiltins()
84 x0 = Constants::VkSampleLocations4[sampleId][0]; in setBuiltins()
85 y0 = Constants::VkSampleLocations4[sampleId][1]; in setBuiltins()
136 void PixelProgram::applyShader(Int cMask[4], Int sMask[4], Int zMask[4], int sampleId) in applyShader() argument
138 unsigned int sampleLoopInit = (sampleId >= 0) ? sampleId : 0; in applyShader()
139 unsigned int sampleLoopEnd = (sampleId >= 0) ? sampleId + 1 : state.multiSampleCount; in applyShader()
177 As<SIMD::Float>(SIMD::Int((sampleId >= 0) ? sampleId : 0)); in applyShader()
184 …SIMD::Float(((sampleId >= 0) && (state.multiSampleCount > 1)) ? Constants::VkSampleLocations4[samp… in applyShader()
186 …SIMD::Float(((sampleId >= 0) && (state.multiSampleCount > 1)) ? Constants::VkSampleLocations4[samp… in applyShader()
192 …auto storesAndAtomicsMask = (sampleId >= 0) ? maskAny(cMask[sampleId], sMask[sampleId], zMask[samp… in applyShader()
197 if((sampleId < 0) || (sampleId == static_cast<int>(state.multiSampleCount - 1))) in applyShader()
242 Bool PixelProgram::alphaTest(Int cMask[4], int sampleId) in alphaTest() argument
249 alphaToCoverage(cMask, c[0].w, sampleId); in alphaTest()
251 if(sampleId >= 0) in alphaTest()
253 return cMask[sampleId] != 0x0; in alphaTest()
266 …Operation(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMask[4], int sampleId) in rasterOperation() argument
268 unsigned int sampleLoopInit = (sampleId >= 0) ? sampleId : 0; in rasterOperation()
269 unsigned int sampleLoopEnd = (sampleId >= 0) ? sampleId + 1 : state.multiSampleCount; in rasterOperation()