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 …]
590 void setBlendState (rr::FragmentOperationState& fragOps, const BlendState& state) in setBlendState() argument600 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 …]
1087 renderState.fragOps.blendMode = rr::BLENDMODE_STANDARD; in verifyImage()1088 renderState.fragOps.blendRGBState.srcFunc = mapVkBlendFactor(blendState.srcColorBlendFactor); in verifyImage()1089 renderState.fragOps.blendRGBState.dstFunc = mapVkBlendFactor(blendState.dstColorBlendFactor); in verifyImage()1090 renderState.fragOps.blendRGBState.equation = mapVkBlendOp(blendState.colorBlendOp); in verifyImage()1091 renderState.fragOps.blendAState.srcFunc = mapVkBlendFactor(blendState.srcAlphaBlendFactor); in verifyImage()1092 renderState.fragOps.blendAState.dstFunc = mapVkBlendFactor(blendState.dstAlphaBlendFactor); in verifyImage()1093 renderState.fragOps.blendAState.equation = mapVkBlendOp(blendState.alphaBlendOp); in verifyImage()1094 renderState.fragOps.blendColor = BlendTest::s_blendConst; in verifyImage()1095 …renderState.fragOps.colorMask = mapVkColorComponentFlags(BlendTest::s_colorWriteMasks[quadNdx]); in verifyImage()1498 renderState.fragOps.blendMode = rr::BLENDMODE_STANDARD; in verifyImage()[all …]
763 renderState.fragOps.depthTestEnabled = true; in verifyImage()764 renderState.fragOps.depthFunc = mapVkCompareOp(VK_COMPARE_OP_LESS); in verifyImage()765 renderState.fragOps.stencilTestEnabled = true; in verifyImage()767 rr::StencilState& refStencilFront = renderState.fragOps.stencilStates[rr::FACETYPE_FRONT]; in verifyImage()768 rr::StencilState& refStencilBack = renderState.fragOps.stencilStates[rr::FACETYPE_BACK]; in verifyImage()
729 renderState.fragOps.depthTestEnabled = m_depthTestEnable; in verifyImage()730 renderState.fragOps.depthFunc = mapVkCompareOp(m_depthCompareOps[quadNdx]); in verifyImage()733 renderState.fragOps.depthBoundsTestEnabled = true; in verifyImage()734 renderState.fragOps.minDepthBound = m_depthBoundsMin; in verifyImage()735 renderState.fragOps.maxDepthBound = m_depthBoundsMax; 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()
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()
389 FragmentOperationState fragOps; member
4342 state.fragOps.scissorTestEnabled = m_scissorEnabled; in drawWithReference()4343 …state.fragOps.scissorRectangle = rr::WindowRectangle(m_scissorBox.x(), m_scissorBox.y(), m_… in drawWithReference()4345 state.fragOps.numStencilBits = stencilBits; in drawWithReference()4346 state.fragOps.stencilTestEnabled = m_stencilTestEnabled; in drawWithReference()4350 state.fragOps.stencilStates[faceType].compMask = m_stencil[faceType].opMask; in drawWithReference()4351 state.fragOps.stencilStates[faceType].writeMask = m_stencil[faceType].writeMask; in drawWithReference()4352 state.fragOps.stencilStates[faceType].ref = m_stencil[faceType].ref; in drawWithReference()4353 …state.fragOps.stencilStates[faceType].func = sglr::rr_util::mapGLTestFunc(m_stencil[faceType].fun… in drawWithReference()4354 …state.fragOps.stencilStates[faceType].sFail = sglr::rr_util::mapGLStencilOp(m_stencil[faceType].o… in drawWithReference()4355 …state.fragOps.stencilStates[faceType].dpFail = sglr::rr_util::mapGLStencilOp(m_stencil[faceType].o… in drawWithReference()[all …]
1773 renderState.fragOps.depthTestEnabled = DE_TRUE; in iterateInternal()1774 renderState.fragOps.depthFunc = rr::TESTFUNC_LEQUAL; in iterateInternal()