Searched refs:fragOps (Results 1 – 9 of 9) sorted by relevance
287 state.fragOps.blendMode = rr::BLENDMODE_STANDARD; in toReferenceRenderState()292 state.fragOps.blendRGBState.srcFunc = rr::BLENDFUNC_ONE; in toReferenceRenderState()293 state.fragOps.blendRGBState.dstFunc = rr::BLENDFUNC_ONE; in toReferenceRenderState()294 state.fragOps.blendRGBState.equation = rr::BLENDEQUATION_ADD; in toReferenceRenderState()295 state.fragOps.blendAState = state.fragOps.blendRGBState; in toReferenceRenderState()299 state.fragOps.blendRGBState.srcFunc = rr::BLENDFUNC_SRC_ALPHA; in toReferenceRenderState()300 state.fragOps.blendRGBState.dstFunc = rr::BLENDFUNC_ONE_MINUS_SRC_ALPHA; in toReferenceRenderState()301 state.fragOps.blendRGBState.equation = rr::BLENDEQUATION_ADD; in toReferenceRenderState()302 state.fragOps.blendAState = state.fragOps.blendRGBState; in toReferenceRenderState()312 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 …]
927 renderState.fragOps.blendMode = rr::BLENDMODE_STANDARD; in verifyImage()928 renderState.fragOps.blendRGBState.srcFunc = mapVkBlendFactor(blendState.srcColorBlendFactor); in verifyImage()929 renderState.fragOps.blendRGBState.dstFunc = mapVkBlendFactor(blendState.dstColorBlendFactor); in verifyImage()930 renderState.fragOps.blendRGBState.equation = mapVkBlendOp(blendState.colorBlendOp); in verifyImage()931 renderState.fragOps.blendAState.srcFunc = mapVkBlendFactor(blendState.srcAlphaBlendFactor); in verifyImage()932 renderState.fragOps.blendAState.dstFunc = mapVkBlendFactor(blendState.dstAlphaBlendFactor); in verifyImage()933 renderState.fragOps.blendAState.equation = mapVkBlendOp(blendState.alphaBlendOp); in verifyImage()934 renderState.fragOps.blendColor = BlendTest::s_blendConst; in verifyImage()935 …renderState.fragOps.colorMask = mapVkColorComponentFlags(BlendTest::s_colorWriteMasks[quadNdx]); in verifyImage()
945 renderState.fragOps.depthTestEnabled = true; in verifyImage()946 renderState.fragOps.depthFunc = mapVkCompareOp(VK_COMPARE_OP_LESS); in verifyImage()947 renderState.fragOps.stencilTestEnabled = true; in verifyImage()949 rr::StencilState& refStencilFront = renderState.fragOps.stencilStates[rr::FACETYPE_FRONT]; in verifyImage()950 rr::StencilState& refStencilBack = renderState.fragOps.stencilStates[rr::FACETYPE_BACK]; in verifyImage()
858 renderState.fragOps.depthTestEnabled = true; in verifyImage()859 renderState.fragOps.depthFunc = mapVkCompareOp(m_depthCompareOps[quadNdx]); in verifyImage()
773 state.fragOps.depthTestEnabled = true; in runCase()774 state.fragOps.depthFunc = rr::TESTFUNC_ALWAYS; in runCase()775 state.fragOps.stencilTestEnabled = true; in runCase()776 state.fragOps.stencilStates[rr::FACETYPE_BACK].func = rr::TESTFUNC_ALWAYS; in runCase()777 state.fragOps.stencilStates[rr::FACETYPE_BACK].dpPass = rr::STENCILOP_INCR; in runCase()778 …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()
361 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 …]