Searched refs:fragOps (Results 1 – 10 of 10) sorted by relevance
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 …]
583 void setBlendState (rr::FragmentOperationState& fragOps, const BlendState& state) in setBlendState() argument593 fragOps.blendMode = rr::BLENDMODE_ADVANCED; in setBlendState()594 fragOps.blendEquationAdvaced = equation; in setBlendState()600 fragOps.blendMode = rr::BLENDMODE_STANDARD; in setBlendState()601 fragOps.blendRGBState.equation = equation; in setBlendState()602 fragOps.blendAState.equation = equation; in setBlendState()609 fragOps.blendMode = rr::BLENDMODE_STANDARD; in setBlendState()610 fragOps.blendRGBState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().rgb); in setBlendState()611 fragOps.blendAState.equation = mapGLBlendEquation(state.blendEq->get<SeparateBlendEq>().alpha); in setBlendState()622 fragOps.blendRGBState.srcFunc = srcFunction; in setBlendState()[all …]
788 renderState.fragOps.blendMode = rr::BLENDMODE_STANDARD; in verifyImage()789 renderState.fragOps.blendRGBState.srcFunc = mapVkBlendFactor(blendState.srcColorBlendFactor); in verifyImage()790 renderState.fragOps.blendRGBState.dstFunc = mapVkBlendFactor(blendState.dstColorBlendFactor); in verifyImage()791 renderState.fragOps.blendRGBState.equation = mapVkBlendOp(blendState.colorBlendOp); in verifyImage()792 renderState.fragOps.blendAState.srcFunc = mapVkBlendFactor(blendState.srcAlphaBlendFactor); in verifyImage()793 renderState.fragOps.blendAState.dstFunc = mapVkBlendFactor(blendState.dstAlphaBlendFactor); in verifyImage()794 renderState.fragOps.blendAState.equation = mapVkBlendOp(blendState.alphaBlendOp); in verifyImage()795 renderState.fragOps.blendColor = BlendTest::s_blendConst; in verifyImage()796 …renderState.fragOps.colorMask = mapVkColorComponentFlags(BlendTest::s_colorWriteMasks[quadNdx]); in verifyImage()
654 renderState.fragOps.depthTestEnabled = true; in verifyImage()655 renderState.fragOps.depthFunc = mapVkCompareOp(m_depthCompareOps[quadNdx]); in verifyImage()658 renderState.fragOps.depthBoundsTestEnabled = true; in verifyImage()659 renderState.fragOps.minDepthBound = m_depthBoundsMin; in verifyImage()660 renderState.fragOps.maxDepthBound = m_depthBoundsMax; in verifyImage()
683 renderState.fragOps.depthTestEnabled = true; in verifyImage()684 renderState.fragOps.depthFunc = mapVkCompareOp(VK_COMPARE_OP_LESS); in verifyImage()685 renderState.fragOps.stencilTestEnabled = true; in verifyImage()687 rr::StencilState& refStencilFront = renderState.fragOps.stencilStates[rr::FACETYPE_FRONT]; in verifyImage()688 rr::StencilState& refStencilBack = renderState.fragOps.stencilStates[rr::FACETYPE_BACK]; in verifyImage()
787 state.fragOps.depthTestEnabled = true; in runCase()788 state.fragOps.depthFunc = rr::TESTFUNC_ALWAYS; in runCase()789 state.fragOps.stencilTestEnabled = true; in runCase()790 state.fragOps.stencilStates[rr::FACETYPE_BACK].func = rr::TESTFUNC_ALWAYS; in runCase()791 state.fragOps.stencilStates[rr::FACETYPE_BACK].dpPass = rr::STENCILOP_INCR; in runCase()792 …state.fragOps.stencilStates[rr::FACETYPE_FRONT] = state.fragOps.stencilStates[rr::FACETYPE_BACK]; in runCase()
1065 rr::FragmentOperationState noStencilDepthWriteState(state.fragOps); in writeFragmentPackets()1075 …const rr::FragmentOperationState& fragOpsState = (outputNdx == numOutputs-1) ? (state.fragOps) : (… in writeFragmentPackets()1123 if (buffers.fragmentDepthBuffer && state.fragOps.polygonOffsetEnabled) in rasterizePrimitive()1128 …depthOffset = maximumDepthSlope * state.fragOps.polygonOffsetFactor + minimumResolvableDifference … in rasterizePrimitive()1147 if (buffers.fragmentDepthBuffer && state.fragOps.polygonOffsetEnabled) in rasterizePrimitive()1156 if (buffers.fragmentDepthBuffer && state.fragOps.depthClampEnabled) in rasterizePrimitive()1209 if (buffers.fragmentDepthBuffer && state.fragOps.depthClampEnabled) in rasterizePrimitive()1274 if (buffers.fragmentDepthBuffer && state.fragOps.depthClampEnabled) in rasterizePrimitive()1331 const bool clipZ = !state.fragOps.depthClampEnabled; in drawBasicPrimitives()
382 FragmentOperationState fragOps; member
4305 state.fragOps.scissorTestEnabled = m_scissorEnabled; in drawWithReference()4306 …state.fragOps.scissorRectangle = rr::WindowRectangle(m_scissorBox.x(), m_scissorBox.y(), m_… in drawWithReference()4308 state.fragOps.numStencilBits = stencilBits; in drawWithReference()4309 state.fragOps.stencilTestEnabled = m_stencilTestEnabled; in drawWithReference()4313 state.fragOps.stencilStates[faceType].compMask = m_stencil[faceType].opMask; in drawWithReference()4314 state.fragOps.stencilStates[faceType].writeMask = m_stencil[faceType].writeMask; in drawWithReference()4315 state.fragOps.stencilStates[faceType].ref = m_stencil[faceType].ref; in drawWithReference()4316 …state.fragOps.stencilStates[faceType].func = sglr::rr_util::mapGLTestFunc(m_stencil[faceType].fun… in drawWithReference()4317 …state.fragOps.stencilStates[faceType].sFail = sglr::rr_util::mapGLStencilOp(m_stencil[faceType].o… in drawWithReference()4318 …state.fragOps.stencilStates[faceType].dpFail = sglr::rr_util::mapGLStencilOp(m_stencil[faceType].o… in drawWithReference()[all …]
1708 renderState.fragOps.depthTestEnabled = DE_TRUE; in iterateInternal()1709 renderState.fragOps.depthFunc = rr::TESTFUNC_LEQUAL; in iterateInternal()