Searched refs:alphaReference (Results 1 – 13 of 13) sorted by relevance
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/swiftshader/src/Renderer/ |
H A D | PixelProcessor.cpp | 856 void PixelProcessor::setAlphaReference(float alphaReference) in setAlphaReference() argument 858 context->alphaReference = alphaReference; in setAlphaReference() 860 factor.alphaReference4[0] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference() 861 factor.alphaReference4[1] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference() 862 factor.alphaReference4[2] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference() 863 factor.alphaReference4[3] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
|
H A D | Context.cpp | 278 alphaReference = 0.0f; in init() 525 if(alphaReference == 0.0f && alphaCompareMode == ALPHA_GREATEREQUAL) return false; in alphaTestActive()
|
H A D | Context.hpp | 436 float alphaReference; member in sw::Context
|
H A D | PixelProcessor.hpp | 293 void setAlphaReference(float alphaReference);
|
H A D | Renderer.cpp | 537 float ref = context->alphaReference * (1.0f / 255.0f); in draw()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/src/Renderer/ |
H A D | PixelProcessor.cpp | 856 void PixelProcessor::setAlphaReference(float alphaReference) in setAlphaReference() argument 858 context->alphaReference = alphaReference; in setAlphaReference() 860 factor.alphaReference4[0] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference() 861 factor.alphaReference4[1] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference() 862 factor.alphaReference4[2] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference() 863 factor.alphaReference4[3] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
|
H A D | Context.cpp | 278 alphaReference = 0.0f; in init() 525 if(alphaReference == 0.0f && alphaCompareMode == ALPHA_GREATEREQUAL) return false; in alphaTestActive()
|
H A D | Context.hpp | 436 float alphaReference; member in sw::Context
|
H A D | PixelProcessor.hpp | 293 void setAlphaReference(float alphaReference);
|
H A D | Renderer.cpp | 537 float ref = context->alphaReference * (1.0f / 255.0f); in draw()
|
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/graphics/opengl/ |
H A D | glutil.h | 187 GLint alphaReference = -1; member
|
H A D | gl21device.cpp | 405 uni.alphaReference = glGetUniformLocation(m_normalProgram, "uni_AlphaReference"); in Create() 456 glUniform1f(uni.alphaReference, 0.5f); in Create() 512 uni.alphaReference = glGetUniformLocation(m_shadowProgram, "uni_AlphaReference"); in Create() 529 glUniform1f(uni.alphaReference, 0.5f); in Create() 1494 glUniform1f(m_uniforms[m_mode].alphaReference, refValue); in SetAlphaTestFunc()
|
H A D | gl33device.cpp | 381 uni.alphaReference = glGetUniformLocation(m_normalProgram, "uni_AlphaReference"); in Create() 445 glUniform1f(uni.alphaReference, 0.5f); in Create() 496 uni.alphaReference = glGetUniformLocation(m_shadowProgram, "uni_AlphaReference"); in Create() 511 glUniform1f(uni.alphaReference, 1.0f); in Create() 1670 glUniform1f(m_uni->alphaReference, refValue); in SetAlphaTestFunc()
|