Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_blend.c151 float (*quadColor)[4], in logicop_quad()
169 src[j][0] = float_to_ubyte(quadColor[j][0]); /* P0 */ in logicop_quad()
170 src[j][1] = float_to_ubyte(quadColor[j][1]); /* P1 */ in logicop_quad()
171 src[j][2] = float_to_ubyte(quadColor[j][2]); /* P2 */ in logicop_quad()
172 src[j][3] = float_to_ubyte(quadColor[j][3]); /* P3 */ in logicop_quad()
245 quadColor[j][0] = ubyte_to_float(res[j][0]); in logicop_quad()
246 quadColor[j][1] = ubyte_to_float(res[j][1]); in logicop_quad()
247 quadColor[j][2] = ubyte_to_float(res[j][2]); in logicop_quad()
248 quadColor[j][3] = ubyte_to_float(res[j][3]); in logicop_quad()
263 float (*quadColor)[4], in blend_quad()
[all …]
Dsp_quad_fs.c88 float (*quadColor)[4] = quad->output.color[cbuf]; in coverage_quad() local
93 quadColor[3][j] *= quad->input.coverage[j]; in coverage_quad()
/external/deqp/modules/gles2/functional/
Des2fDitheringTests.cpp358 bool DitheringCase::drawAndCheckUnicoloredQuad (const Vec4& quadColor) const in drawAndCheckUnicoloredQuad()
380 …log << TestLog::Message << "Drawing an unicolored quad with color " << quadColor << TestLog::EndMe… in drawAndCheckUnicoloredQuad()
382 quad.color[0] = quadColor; in drawAndCheckUnicoloredQuad()
383 quad.color[1] = quadColor; in drawAndCheckUnicoloredQuad()
384 quad.color[2] = quadColor; in drawAndCheckUnicoloredQuad()
385 quad.color[3] = quadColor; in drawAndCheckUnicoloredQuad()
404 if (!checkColor(quadColor, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckUnicoloredQuad()
482 const Vec4 quadColor = (float)m_iteration / (float)(numQuads-1) * m_color; in iterate() local
483 const bool success = drawAndCheckUnicoloredQuad(quadColor); in iterate()
Des2fMultisampleTests.cpp1156 Vec4 quadColor (1.0f, 0.0f, 0.0f, 1.0f); in iterate() local
1162 quadColor.w() = alphaOrCoverageValue; in iterate()
1174 renderQuad(pt0, pt1, pt2, pt3, quadColor); in iterate()
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp363 bool DitheringCase::drawAndCheckUnicoloredQuad (const Vec4& quadColor) const in drawAndCheckUnicoloredQuad()
385 …log << TestLog::Message << "Drawing an unicolored quad with color " << quadColor << TestLog::EndMe… in drawAndCheckUnicoloredQuad()
387 quad.color[0] = quadColor; in drawAndCheckUnicoloredQuad()
388 quad.color[1] = quadColor; in drawAndCheckUnicoloredQuad()
389 quad.color[2] = quadColor; in drawAndCheckUnicoloredQuad()
390 quad.color[3] = quadColor; in drawAndCheckUnicoloredQuad()
409 if (!checkColor(quadColor, renderedImg.getPixel(x, y), colorChoicesOk, false)) in drawAndCheckUnicoloredQuad()
487 const Vec4 quadColor = (float)m_iteration / (float)(numQuads-1) * m_color; in iterate() local
488 const bool success = drawAndCheckUnicoloredQuad(quadColor); in iterate()
Des3fMultisampleTests.cpp1312 Vec4 quadColor (1.0f, 0.0f, 0.0f, 1.0f); in iterate() local
1318 quadColor.w() = alphaOrCoverageValue; in iterate()
1330 renderQuad(pt0, pt1, pt2, pt3, quadColor); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineLogicOpTests.cpp70 tcu::UVec4 quadColor; // Geometry color. member
253 constexpr auto kPushConstantSize = static_cast<deUint32>(sizeof(m_params.quadColor)); in LogicOpTestInstance()
391 tcu::UVec4 quadColor(0u, 0u, 0u, 0u); in LogicOpTestInstance() local
398 quadColor[c] = (m_params.quadColor[c] & m_channelMask); in LogicOpTestInstance()
406 …(*m_cmdBuffer, *m_pipelineLayout, VK_SHADER_STAGE_FRAGMENT_BIT, 0u, kPushConstantSize, &quadColor); in LogicOpTestInstance()
450 expectedColor[c] = calcOpResult(m_params.logicOp, m_params.quadColor[c], m_params.fbColor[c]); in verifyImage()
DvktPipelineBlendTests.cpp1584 tcu::Vec4 quadColor; member
1868 …type(quadTexture)::value_type& v) { return Vertex4RGBA{ v.position, this->m_params.quadColor }; }); in iterate()
1920 tcu::Vec4 clampedQuadColor = m_params.quadColor; in iterate()
2189 testParams.quadColor[0] = 2.0f; in createBlendTests()
2190 testParams.quadColor[1] = 0.5f; in createBlendTests()
2191 testParams.quadColor[2] = 1.0f; in createBlendTests()
2192 testParams.quadColor[3] = -1.0f; in createBlendTests()
2201 testParams.quadColor[0] = 2.0f; in createBlendTests()
2202 testParams.quadColor[1] = 0.5f; in createBlendTests()
2203 testParams.quadColor[2] = 1.0f; in createBlendTests()
[all …]
/external/deqp/modules/gles31/functional/
Des31fMultisampleTests.cpp604 Vec4 quadColor (1.0f, 0.0f, 0.0f, 1.0f); in iterate() local
619 renderQuad(pt0, pt1, pt2, pt3, quadColor); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp792 const tcu::Vec4 quadColor = s_colors[layerNdx % DE_LENGTH_OF_ARRAY(s_colors)]; in verifyLayerContent() local
794 const tcu::Vec4 firstDraw = (clearColor + quadColor) * 0.5f; in verifyLayerContent()
796 const tcu::Vec4 secondDraw = (firstDraw + quadColor) * 0.5f; in verifyLayerContent()