Searched refs:alphaReference (Results 1 – 5 of 5) sorted by relevance
869 void PixelProcessor::setAlphaReference(float alphaReference) in setAlphaReference() argument871 context->alphaReference = alphaReference; in setAlphaReference()873 factor.alphaReference4[0] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()874 factor.alphaReference4[1] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()875 factor.alphaReference4[2] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()876 factor.alphaReference4[3] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
436 float alphaReference; member in sw::Context
278 alphaReference = 0.0f; in init()525 if(alphaReference == 0.0f && alphaCompareMode == ALPHA_GREATEREQUAL) return false; in alphaTestActive()
296 void setAlphaReference(float alphaReference);
537 float ref = context->alphaReference * (1.0f / 255.0f); in draw()