/third_party/vk-gl-cts/modules/egl/ |
D | teglRenderTests.cpp | 293 state.fragOps.blendMode = rr::BLENDMODE_STANDARD; in toReferenceRenderState() 298 state.fragOps.blendRGBState.srcFunc = rr::BLENDFUNC_ONE; in toReferenceRenderState() 299 state.fragOps.blendRGBState.dstFunc = rr::BLENDFUNC_ONE; in toReferenceRenderState() 300 state.fragOps.blendRGBState.equation = rr::BLENDEQUATION_ADD; in toReferenceRenderState() 301 state.fragOps.blendAState = state.fragOps.blendRGBState; in toReferenceRenderState() 305 state.fragOps.blendRGBState.srcFunc = rr::BLENDFUNC_SRC_ALPHA; in toReferenceRenderState() 306 state.fragOps.blendRGBState.dstFunc = rr::BLENDFUNC_ONE_MINUS_SRC_ALPHA; in toReferenceRenderState() 307 state.fragOps.blendRGBState.equation = rr::BLENDEQUATION_ADD; in toReferenceRenderState() 308 state.fragOps.blendAState = state.fragOps.blendRGBState; in toReferenceRenderState() 318 state.fragOps.depthTestEnabled = true; in toReferenceRenderState() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fDrawBuffersIndexedTests.cpp | 590 void setBlendState (rr::FragmentOperationState& fragOps, const BlendState& state) in setBlendState() argument 600 fragOps.blendMode = rr::BLENDMODE_ADVANCED; in setBlendState() 601 fragOps.blendEquationAdvaced = equation; in setBlendState() 607 fragOps.blendMode = rr::BLENDMODE_STANDARD; in setBlendState() 608 fragOps.blendRGBState.equation = equation; in setBlendState() 609 fragOps.blendAState.equation = equation; in setBlendState() 616 fragOps.blendMode = rr::BLENDMODE_STANDARD; in setBlendState() 617 fragOps.blendRGBState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().rgb); in setBlendState() 618 fragOps.blendAState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().alpha); in setBlendState() 629 fragOps.blendRGBState.srcFunc = srcFunction; in setBlendState() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fDrawBuffersIndexedTests.cpp | 602 void setBlendState (rr::FragmentOperationState& fragOps, const BlendState& state) in setBlendState() argument 612 fragOps.blendMode = rr::BLENDMODE_ADVANCED; in setBlendState() 613 fragOps.blendEquationAdvaced = equation; in setBlendState() 619 fragOps.blendMode = rr::BLENDMODE_STANDARD; in setBlendState() 620 fragOps.blendRGBState.equation = equation; in setBlendState() 621 fragOps.blendAState.equation = equation; in setBlendState() 628 fragOps.blendMode = rr::BLENDMODE_STANDARD; in setBlendState() 629 fragOps.blendRGBState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().rgb); in setBlendState() 630 fragOps.blendAState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().alpha); in setBlendState() 641 fragOps.blendRGBState.srcFunc = srcFunction; in setBlendState() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineBlendTests.cpp | 1103 renderState.fragOps.blendMode = rr::BLENDMODE_STANDARD; in verifyImage() 1104 renderState.fragOps.blendRGBState.srcFunc = mapVkBlendFactor(blendState.srcColorBlendFactor); in verifyImage() 1105 renderState.fragOps.blendRGBState.dstFunc = mapVkBlendFactor(blendState.dstColorBlendFactor); in verifyImage() 1106 renderState.fragOps.blendRGBState.equation = mapVkBlendOp(blendState.colorBlendOp); in verifyImage() 1107 renderState.fragOps.blendAState.srcFunc = mapVkBlendFactor(blendState.srcAlphaBlendFactor); in verifyImage() 1108 renderState.fragOps.blendAState.dstFunc = mapVkBlendFactor(blendState.dstAlphaBlendFactor); in verifyImage() 1109 renderState.fragOps.blendAState.equation = mapVkBlendOp(blendState.alphaBlendOp); in verifyImage() 1110 renderState.fragOps.blendColor = BlendTest::s_blendConst; in verifyImage() 1111 …renderState.fragOps.colorMask = mapVkColorComponentFlags(BlendTest::s_colorWriteMasks[quadNdx]); in verifyImage() 1518 renderState.fragOps.blendMode = rr::BLENDMODE_STANDARD; in verifyImage() [all …]
|
D | vktPipelineStencilTests.cpp | 793 renderState.fragOps.depthTestEnabled = true; in verifyImage() 794 renderState.fragOps.depthFunc = mapVkCompareOp(VK_COMPARE_OP_LESS); in verifyImage() 795 renderState.fragOps.stencilTestEnabled = true; in verifyImage() 797 rr::StencilState& refStencilFront = renderState.fragOps.stencilStates[rr::FACETYPE_FRONT]; in verifyImage() 798 rr::StencilState& refStencilBack = renderState.fragOps.stencilStates[rr::FACETYPE_BACK]; in verifyImage()
|
D | vktPipelineDepthTests.cpp | 1011 renderState.fragOps.depthTestEnabled = m_depthTestEnable; in verifyImage() 1012 renderState.fragOps.depthFunc = mapVkCompareOp(m_depthCompareOps[quadNdx]); in verifyImage() 1015 renderState.fragOps.depthBoundsTestEnabled = true; in verifyImage() 1016 renderState.fragOps.minDepthBound = m_depthBoundsMin; in verifyImage() 1017 renderState.fragOps.maxDepthBound = m_depthBoundsMax; in verifyImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineBlendTests.cpp | 1103 renderState.fragOps.blendMode = rr::BLENDMODE_STANDARD; in verifyImage() 1104 renderState.fragOps.blendRGBState.srcFunc = mapVkBlendFactor(blendState.srcColorBlendFactor); in verifyImage() 1105 renderState.fragOps.blendRGBState.dstFunc = mapVkBlendFactor(blendState.dstColorBlendFactor); in verifyImage() 1106 renderState.fragOps.blendRGBState.equation = mapVkBlendOp(blendState.colorBlendOp); in verifyImage() 1107 renderState.fragOps.blendAState.srcFunc = mapVkBlendFactor(blendState.srcAlphaBlendFactor); in verifyImage() 1108 renderState.fragOps.blendAState.dstFunc = mapVkBlendFactor(blendState.dstAlphaBlendFactor); in verifyImage() 1109 renderState.fragOps.blendAState.equation = mapVkBlendOp(blendState.alphaBlendOp); in verifyImage() 1110 renderState.fragOps.blendColor = BlendTest::s_blendConst; in verifyImage() 1111 …renderState.fragOps.colorMask = mapVkColorComponentFlags(BlendTest::s_colorWriteMasks[quadNdx]); in verifyImage() 1518 renderState.fragOps.blendMode = rr::BLENDMODE_STANDARD; in verifyImage() [all …]
|
D | vktPipelineStencilTests.cpp | 793 renderState.fragOps.depthTestEnabled = true; in verifyImage() 794 renderState.fragOps.depthFunc = mapVkCompareOp(VK_COMPARE_OP_LESS); in verifyImage() 795 renderState.fragOps.stencilTestEnabled = true; in verifyImage() 797 rr::StencilState& refStencilFront = renderState.fragOps.stencilStates[rr::FACETYPE_FRONT]; in verifyImage() 798 rr::StencilState& refStencilBack = renderState.fragOps.stencilStates[rr::FACETYPE_BACK]; in verifyImage()
|
D | vktPipelineDepthTests.cpp | 1011 renderState.fragOps.depthTestEnabled = m_depthTestEnable; in verifyImage() 1012 renderState.fragOps.depthFunc = mapVkCompareOp(m_depthCompareOps[quadNdx]); in verifyImage() 1015 renderState.fragOps.depthBoundsTestEnabled = true; in verifyImage() 1016 renderState.fragOps.minDepthBound = m_depthBoundsMin; in verifyImage() 1017 renderState.fragOps.maxDepthBound = m_depthBoundsMax; in verifyImage()
|
/third_party/vk-gl-cts/modules/internal/ |
D | ditFrameworkTests.cpp | 788 state.fragOps.depthTestEnabled = true; in runCase() 789 state.fragOps.depthFunc = rr::TESTFUNC_ALWAYS; in runCase() 790 state.fragOps.stencilTestEnabled = true; in runCase() 791 state.fragOps.stencilStates[rr::FACETYPE_BACK].func = rr::TESTFUNC_ALWAYS; in runCase() 792 state.fragOps.stencilStates[rr::FACETYPE_BACK].dpPass = rr::STENCILOP_INCR; in runCase() 793 …state.fragOps.stencilStates[rr::FACETYPE_FRONT] = state.fragOps.stencilStates[rr::FACETYPE_BACK]; in runCase()
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrRenderer.cpp | 1070 rr::FragmentOperationState noStencilDepthWriteState(state.fragOps); in writeFragmentPackets() 1080 …const rr::FragmentOperationState& fragOpsState = (outputNdx == numOutputs-1) ? (state.fragOps) : (… in writeFragmentPackets() 1129 if (buffers.fragmentDepthBuffer && state.fragOps.polygonOffsetEnabled) in rasterizePrimitive() 1134 …depthOffset = maximumDepthSlope * state.fragOps.polygonOffsetFactor + minimumResolvableDifference … in rasterizePrimitive() 1153 if (buffers.fragmentDepthBuffer && state.fragOps.polygonOffsetEnabled) in rasterizePrimitive() 1162 if (buffers.fragmentDepthBuffer && state.fragOps.depthClampEnabled) in rasterizePrimitive() 1215 if (buffers.fragmentDepthBuffer && state.fragOps.depthClampEnabled) in rasterizePrimitive() 1280 if (buffers.fragmentDepthBuffer && state.fragOps.depthClampEnabled) in rasterizePrimitive() 1339 const bool clipZ = !state.fragOps.depthClampEnabled; in drawBasicPrimitives()
|
D | rrRenderState.hpp | 389 FragmentOperationState fragOps; member
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 4344 state.fragOps.scissorTestEnabled = m_scissorEnabled; in drawWithReference() 4345 …state.fragOps.scissorRectangle = rr::WindowRectangle(m_scissorBox.x(), m_scissorBox.y(), m_… in drawWithReference() 4347 state.fragOps.numStencilBits = stencilBits; in drawWithReference() 4348 state.fragOps.stencilTestEnabled = m_stencilTestEnabled; in drawWithReference() 4352 state.fragOps.stencilStates[faceType].compMask = m_stencil[faceType].opMask; in drawWithReference() 4353 state.fragOps.stencilStates[faceType].writeMask = m_stencil[faceType].writeMask; in drawWithReference() 4354 state.fragOps.stencilStates[faceType].ref = m_stencil[faceType].ref; in drawWithReference() 4355 …state.fragOps.stencilStates[faceType].func = sglr::rr_util::mapGLTestFunc(m_stencil[faceType].fun… in drawWithReference() 4356 …state.fragOps.stencilStates[faceType].sFail = sglr::rr_util::mapGLStencilOp(m_stencil[faceType].o… in drawWithReference() 4357 …state.fragOps.stencilStates[faceType].dpFail = sglr::rr_util::mapGLStencilOp(m_stencil[faceType].o… in drawWithReference() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassSubpassDependencyTests.cpp | 1773 renderState.fragOps.depthTestEnabled = DE_TRUE; in iterateInternal() 1774 renderState.fragOps.depthFunc = rr::TESTFUNC_LEQUAL; in iterateInternal()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
D | vktRenderPassSubpassDependencyTests.cpp | 1773 renderState.fragOps.depthTestEnabled = DE_TRUE; in iterateInternal() 1774 renderState.fragOps.depthFunc = rr::TESTFUNC_LEQUAL; in iterateInternal()
|