Home
last modified time | relevance | path

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

/external/swiftshader/src/Device/
DPixelProcessor.cpp598 void PixelProcessor::setAlphaReference(float alphaReference) in setAlphaReference() argument
600 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()
DContext.cpp215 alphaReference = 0.0f; in init()
346 if(alphaReference == 0.0f && alphaCompareMode == VK_COMPARE_OP_GREATER_OR_EQUAL) return false; in alphaTestActive()
DContext.hpp187 float alphaReference; member in sw::Context
DPixelProcessor.hpp251 void setAlphaReference(float alphaReference);
DRenderer.cpp444 float ref = context->alphaReference * (1.0f / 255.0f); in draw()
/external/swiftshader/src/Renderer/
DPixelProcessor.cpp860 void PixelProcessor::setAlphaReference(float alphaReference) in setAlphaReference() argument
862 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()
DContext.cpp278 alphaReference = 0.0f; in init()
525 if(alphaReference == 0.0f && alphaCompareMode == ALPHA_GREATEREQUAL) return false; in alphaTestActive()
DContext.hpp436 float alphaReference; member in sw::Context
DPixelProcessor.hpp293 void setAlphaReference(float alphaReference);
DRenderer.cpp536 float ref = context->alphaReference * (1.0f / 255.0f); in draw()