Home
last modified time | relevance | path

Searched refs:alphaReference (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/src/Renderer/
DPixelProcessor.cpp793 void PixelProcessor::setAlphaReference(float alphaReference) in setAlphaReference() argument
795 context->alphaReference = alphaReference; in setAlphaReference()
797 factor.alphaReference4[0] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
798 factor.alphaReference4[1] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
799 factor.alphaReference4[2] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
800 factor.alphaReference4[3] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
DContext.cpp277 alphaReference = 0.0f; in init()
520 if(alphaReference == 0.0f && alphaCompareMode == ALPHA_GREATEREQUAL) return false; in alphaTestActive()
DContext.hpp434 float alphaReference; member in sw::Context
DPixelProcessor.hpp284 virtual void setAlphaReference(float alphaReference);
DRenderer.cpp499 float ref = context->alphaReference * (1.0f / 255.0f); in draw()