Home
last modified time | relevance | path

Searched refs:blendState (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dblend_jit.h82 RENDER_TARGET_BLEND_COMPILE_STATE blendState; member
102 if (!blendState.blendEnable) in Canonicalize()
104 blendState.sourceAlphaBlendFactor = (SWR_BLEND_FACTOR)0; in Canonicalize()
105 blendState.destAlphaBlendFactor = (SWR_BLEND_FACTOR)0; in Canonicalize()
106 blendState.sourceBlendFactor = (SWR_BLEND_FACTOR)0; in Canonicalize()
107 blendState.destBlendFactor = (SWR_BLEND_FACTOR)0; in Canonicalize()
108 blendState.colorBlendFunc = (SWR_BLEND_OP)0; in Canonicalize()
109 blendState.alphaBlendFunc = (SWR_BLEND_OP)0; in Canonicalize()
112 if (!blendState.logicOpEnable) in Canonicalize()
114 blendState.logicOpFunc = (SWR_LOGIC_OP)0; in Canonicalize()
[all …]
Dblend_jit.cpp601 if (state.blendState.blendEnable) in Create()
631 …GenerateBlendFactor<true, false>(state.blendState.sourceBlendFactor, constantColor, src, src1, dst… in Create()
632 …GenerateBlendFactor<false, true>(state.blendState.sourceAlphaBlendFactor, constantColor, src, src1… in Create()
634 …GenerateBlendFactor<true, false>(state.blendState.destBlendFactor, constantColor, src, src1, dst, … in Create()
635 …GenerateBlendFactor<false, true>(state.blendState.destAlphaBlendFactor, constantColor, src, src1, … in Create()
637 … BlendFunc<true, false>(state.blendState.colorBlendFunc, src, srcFactor, dst, dstFactor, result); in Create()
638 … BlendFunc<false, true>(state.blendState.alphaBlendFunc, src, srcFactor, dst, dstFactor, result); in Create()
642 …GenerateBlendFactor<true, true>(state.blendState.sourceBlendFactor, constantColor, src, src1, dst,… in Create()
643 …GenerateBlendFactor<true, true>(state.blendState.destBlendFactor, constantColor, src, src1, dst, d… in Create()
645 … BlendFunc<true, true>(state.blendState.colorBlendFunc, src, srcFactor, dst, dstFactor, result); in Create()
[all …]
/external/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp71 SWR_RENDER_TARGET_BLEND_STATE &blendState = in swr_create_blend_state() local
72 state->blendState.renderTarget[target]; in swr_create_blend_state()
105 blendState.writeDisableRed = in swr_create_blend_state()
107 blendState.writeDisableGreen = in swr_create_blend_state()
109 blendState.writeDisableBlue = in swr_create_blend_state()
111 blendState.writeDisableAlpha = in swr_create_blend_state()
1378 SWR_BLEND_STATE blendState; in swr_update_derived() local
1379 memcpy(&blendState, &ctx->blend->blendState, sizeof(blendState)); in swr_update_derived()
1380 blendState.constantColor[0] = ctx->blend_color.color[0]; in swr_update_derived()
1381 blendState.constantColor[1] = ctx->blend_color.color[1]; in swr_update_derived()
[all …]
Dswr_state.h81 SWR_BLEND_STATE blendState; member
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBlendTests.cpp895 const VkPipelineColorBlendAttachmentState& blendState = m_blendStates[quadNdx]; in verifyImage() local
900 renderState.fragOps.blendRGBState.srcFunc = mapVkBlendFactor(blendState.srcColorBlendFactor); in verifyImage()
901 renderState.fragOps.blendRGBState.dstFunc = mapVkBlendFactor(blendState.dstColorBlendFactor); in verifyImage()
902 renderState.fragOps.blendRGBState.equation = mapVkBlendOp(blendState.colorBlendOp); in verifyImage()
903 renderState.fragOps.blendAState.srcFunc = mapVkBlendFactor(blendState.srcAlphaBlendFactor); in verifyImage()
904 renderState.fragOps.blendAState.dstFunc = mapVkBlendFactor(blendState.dstAlphaBlendFactor); in verifyImage()
905 renderState.fragOps.blendAState.equation = mapVkBlendOp(blendState.alphaBlendOp); in verifyImage()
944 std::string getBlendStateName (const VkPipelineColorBlendAttachmentState& blendState) in getBlendStateName() argument
976 …FactorNames[blendState.srcColorBlendFactor] << "_" << shortBlendFactorNames[blendState.dstColorBle… in getBlendStateName()
977 …FactorNames[blendState.srcAlphaBlendFactor] << "_" << shortBlendFactorNames[blendState.dstAlphaBle… in getBlendStateName()
DvktPipelineMultisampleTests.cpp97 const VkPipelineColorBlendAttachmentState& blendState,
237 const VkPipelineColorBlendAttachmentState& blendState);
249 const VkPipelineColorBlendAttachmentState& blendState);
309 const VkPipelineColorBlendAttachmentState& blendState,
334 const VkPipelineColorBlendAttachmentState& blendState);
358 const VkPipelineColorBlendAttachmentState& blendState);
382 const VkPipelineColorBlendAttachmentState& blendState);
405 const VkPipelineColorBlendAttachmentState& blendState,
691 const VkPipelineColorBlendAttachmentState& blendState, in MultisampleTest() argument
695 , m_colorBlendState (blendState) in MultisampleTest()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbackend.cpp513 …nputCoverage<T, T::InputCoverage>(pCoverageMask, psContext.inputMask, state.blendState.sampleMask); in BackendSingleSample()
520 … CalcCentroid<T, true>(&psContext, coeffs, work.coverageMask, state.blendState.sampleMask); in BackendSingleSample()
596 …OutputMerger8x2(psContext, pColorBuffer, 0, &state.blendState, state.pfnBlendFunc, vCoverageMask, … in BackendSingleSample()
598 …OutputMerger4x2(psContext, pColorBuffer, 0, &state.blendState, state.pfnBlendFunc, vCoverageMask, … in BackendSingleSample()
692 …nputCoverage<T, T::InputCoverage>(pCoverageMask, psContext.inputMask, state.blendState.sampleMask); in BackendSampleRate()
699 … CalcCentroid<T, false>(&psContext, coeffs, work.coverageMask, state.blendState.sampleMask); in BackendSampleRate()
810 …OutputMerger8x2(psContext, pColorBuffer, sample, &state.blendState, state.pfnBlendFunc, vCoverageM… in BackendSampleRate()
812 …OutputMerger4x2(psContext, pColorBuffer, sample, &state.blendState, state.pfnBlendFunc, vCoverageM… in BackendSampleRate()
915 …nputCoverage<T, T::InputCoverage>(pCoverageMask, psContext.inputMask, state.blendState.sampleMask); in BackendPixelRate()
922 … CalcCentroid<T, false>(&psContext, coeffs, work.coverageMask, state.blendState.sampleMask); in BackendPixelRate()
[all …]
Dapi.cpp666 memcpy(&pState->blendState, pBlendState, sizeof(SWR_BLEND_STATE)); in SwrSetBlendState()
942 (!pState->state.blendState.renderTarget[rt].writeDisableAlpha || in SetupPipeline()
943 !pState->state.blendState.renderTarget[rt].writeDisableRed || in SetupPipeline()
944 !pState->state.blendState.renderTarget[rt].writeDisableGreen || in SetupPipeline()
945 !pState->state.blendState.renderTarget[rt].writeDisableBlue) ? (1 << rt) : 0; in SetupPipeline()
Dcontext.h289 SWR_BLEND_STATE blendState; in OSALIGNLINE() local
/external/deqp/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp278 const BlendState& blendState,
293 DrawBufferInfo::DrawBufferInfo (bool render, const IVec2& size, const BlendState& blendState, const… in DrawBufferInfo() argument
297 , m_blendState (blendState) in DrawBufferInfo()
1258 void genRandomBlendState (de::Random& rng, BlendState& blendState) in genRandomBlendState() argument
1261 blendState.enableBlend = rng.getBool(); in genRandomBlendState()
1266 blendState.blendEq = getRandomBlendEq(rng); in genRandomBlendState()
1272 blendState.blendEq = SeparateBlendEq(rgb, alpha); in genRandomBlendState()
1279 blendState.blendFunc = getRandomBlendFunc(rng); in genRandomBlendState()
1285 blendState.blendFunc = SeparateBlendFunc(rgb, alpha); in genRandomBlendState()
1296 blendState.colorMask = BVec4(red, blue, green, alpha); in genRandomBlendState()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp656 VkPipelineColorBlendStateCreateInfo blendState; in generateWork() local
828 deMemset(&blendState, 0xcd, sizeof(blendState)); in generateWork()
829 blendState.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO; in generateWork()
830 blendState.pNext = DE_NULL; in generateWork()
831 blendState.flags = 0; in generateWork()
832 blendState.logicOpEnable = VK_FALSE; in generateWork()
833 blendState.logicOp = VK_LOGIC_OP_COPY; in generateWork()
834 blendState.attachmentCount = 1; in generateWork()
835 blendState.pAttachments = &blendAttachment; in generateWork()
860 pipelineState.pColorBlendState = &blendState; in generateWork()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleTests.cpp871 const VkPipelineColorBlendStateCreateInfo blendState = in createRenderPipeline() local
899 &blendState, in createRenderPipeline()
1136 const VkPipelineColorBlendStateCreateInfo blendState = in createSplitPipeline() local
1166 &blendState, in createSplitPipeline()
DvktRenderPassMultisampleResolveTests.cpp730 const VkPipelineColorBlendStateCreateInfo blendState = in createRenderPipeline() local
758 &blendState, in createRenderPipeline()
DvktRenderPassTests.cpp1867 const VkPipelineColorBlendStateCreateInfo blendState = in createSubpassPipeline() local
1894 &blendState, // pColorBlendState in createSubpassPipeline()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSharedPresentableImageTests.cpp653 const vk::VkPipelineColorBlendStateCreateInfo blendState = in createPipeline() local
692 &blendState, in createPipeline()
DvktWsiDisplayTimingTests.cpp692 const vk::VkPipelineColorBlendStateCreateInfo blendState = in createPipeline() local
727 &blendState, in createPipeline()
DvktWsiIncrementalPresentTests.cpp805 const vk::VkPipelineColorBlendStateCreateInfo blendState = in createPipeline() local
844 &blendState, in createPipeline()