Searched refs:alphaReference (Results 1 – 10 of 10) sorted by relevance
598 void PixelProcessor::setAlphaReference(float alphaReference) in setAlphaReference() argument600 context->alphaReference = alphaReference; in setAlphaReference()602 factor.alphaReference4[0] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()603 factor.alphaReference4[1] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()604 factor.alphaReference4[2] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()605 factor.alphaReference4[3] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
215 alphaReference = 0.0f; in init()346 if(alphaReference == 0.0f && alphaCompareMode == VK_COMPARE_OP_GREATER_OR_EQUAL) return false; in alphaTestActive()
187 float alphaReference; member in sw::Context
251 void setAlphaReference(float alphaReference);
444 float ref = context->alphaReference * (1.0f / 255.0f); in draw()
860 void PixelProcessor::setAlphaReference(float alphaReference) in setAlphaReference() argument862 context->alphaReference = alphaReference; in setAlphaReference()864 factor.alphaReference4[0] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()865 factor.alphaReference4[1] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()866 factor.alphaReference4[2] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()867 factor.alphaReference4[3] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
278 alphaReference = 0.0f; in init()525 if(alphaReference == 0.0f && alphaCompareMode == ALPHA_GREATEREQUAL) return false; in alphaTestActive()
436 float alphaReference; member in sw::Context
293 void setAlphaReference(float alphaReference);
536 float ref = context->alphaReference * (1.0f / 255.0f); in draw()