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.cpp599 if (state.blendState.blendEnable) in Create()
629 …GenerateBlendFactor<true, false>(state.blendState.sourceBlendFactor, constantColor, src, src1, dst… in Create()
630 …GenerateBlendFactor<false, true>(state.blendState.sourceAlphaBlendFactor, constantColor, src, src1… in Create()
632 …GenerateBlendFactor<true, false>(state.blendState.destBlendFactor, constantColor, src, src1, dst, … in Create()
633 …GenerateBlendFactor<false, true>(state.blendState.destAlphaBlendFactor, constantColor, src, src1, … in Create()
635 … BlendFunc<true, false>(state.blendState.colorBlendFunc, src, srcFactor, dst, dstFactor, result); in Create()
636 … BlendFunc<false, true>(state.blendState.alphaBlendFunc, src, srcFactor, dst, dstFactor, result); in Create()
640 …GenerateBlendFactor<true, true>(state.blendState.sourceBlendFactor, constantColor, src, src1, dst,… in Create()
641 …GenerateBlendFactor<true, true>(state.blendState.destBlendFactor, constantColor, src, src1, dst, d… in Create()
643 … BlendFunc<true, true>(state.blendState.colorBlendFunc, src, srcFactor, dst, dstFactor, result); in Create()
[all …]
/external/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp74 SWR_RENDER_TARGET_BLEND_STATE &blendState = in swr_create_blend_state() local
75 state->blendState.renderTarget[target]; in swr_create_blend_state()
108 blendState.writeDisableRed = in swr_create_blend_state()
110 blendState.writeDisableGreen = in swr_create_blend_state()
112 blendState.writeDisableBlue = in swr_create_blend_state()
114 blendState.writeDisableAlpha = in swr_create_blend_state()
1639 SWR_BLEND_STATE blendState; in swr_update_derived() local
1640 memcpy(&blendState, &ctx->blend->blendState, sizeof(blendState)); in swr_update_derived()
1641 blendState.constantColor[0] = ctx->blend_color.color[0]; in swr_update_derived()
1642 blendState.constantColor[1] = ctx->blend_color.color[1]; in swr_update_derived()
[all …]
Dswr_state.h91 SWR_BLEND_STATE blendState; member
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBlendTests.cpp784 const VkPipelineColorBlendAttachmentState& blendState = m_blendStates[quadNdx]; in verifyImage() local
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()
880 std::string getBlendStateName (const VkPipelineColorBlendAttachmentState& blendState) in getBlendStateName() argument
912 …FactorNames[blendState.srcColorBlendFactor] << "_" << shortBlendFactorNames[blendState.dstColorBle… in getBlendStateName()
913 …FactorNames[blendState.srcAlphaBlendFactor] << "_" << shortBlendFactorNames[blendState.dstAlphaBle… in getBlendStateName()
DvktPipelineMultisampleTests.cpp130 const VkPipelineColorBlendAttachmentState& blendState,
316 const VkPipelineColorBlendAttachmentState& blendState,
330 const VkPipelineColorBlendAttachmentState& blendState,
420 const VkPipelineColorBlendAttachmentState& blendState,
448 const VkPipelineColorBlendAttachmentState& blendState,
475 const VkPipelineColorBlendAttachmentState& blendState,
501 const VkPipelineColorBlendAttachmentState& blendState,
526 const VkPipelineColorBlendAttachmentState& blendState,
918 const VkPipelineColorBlendAttachmentState& blendState, in MultisampleTest() argument
924 , m_colorBlendState (blendState) in MultisampleTest()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbackend_singlesample.cpp99 …nputCoverage<T, T::InputCoverage>(pCoverageMask, psContext.inputMask, state.blendState.sampleMask); in BackendSingleSample()
106 …lcCentroid<T, true>(&psContext, samplePos, coeffs, work.coverageMask, state.blendState.sampleMask); in BackendSingleSample()
186 …OutputMerger8x2(psContext, psContext.pColorBuffer, 0, &state.blendState, state.pfnBlendFunc, vCove… in BackendSingleSample()
188 …OutputMerger4x2(psContext, psContext.pColorBuffer, 0, &state.blendState, state.pfnBlendFunc, vCove… in BackendSingleSample()
Dbackend_sample.cpp83 …nputCoverage<T, T::InputCoverage>(pCoverageMask, psContext.inputMask, state.blendState.sampleMask); in BackendSampleRate()
90 …cCentroid<T, false>(&psContext, samplePos, coeffs, work.coverageMask, state.blendState.sampleMask); in BackendSampleRate()
201 …OutputMerger8x2(psContext, psContext.pColorBuffer, sample, &state.blendState, state.pfnBlendFunc, … in BackendSampleRate()
203 …OutputMerger4x2(psContext, psContext.pColorBuffer, sample, &state.blendState, state.pfnBlendFunc, … in BackendSampleRate()
Dbackend_impl.h916 …nputCoverage<T, T::InputCoverage>(pCoverageMask, psContext.inputMask, state.blendState.sampleMask);
923 …cCentroid<T, false>(&psContext, samplePos, coeffs, work.coverageMask, state.blendState.sampleMask);
930 …vSampleMask = _simd_castsi_ps(_simd_cmpgt_epi32(_simd_set1_epi32(state.blendState.sampleMask), _si…
981 … for(uint32_t sample = 0; sample < GetNumOMSamples<T>(state.blendState.sampleCount); sample++)
1005 …OutputMerger8x2(psContext, psContext.pColorBuffer, sample, &state.blendState,state.pfnBlendFunc, c…
1007 …OutputMerger4x2(psContext, psContext.pColorBuffer, sample, &state.blendState, state.pfnBlendFunc, …
Dapi.cpp713 memcpy(&pState->blendState, pBlendState, sizeof(SWR_BLEND_STATE)); in SwrSetBlendState()
1018 if (pState->state.blendState.renderTarget[rt].writeDisableAlpha && in SetupPipeline()
1019 pState->state.blendState.renderTarget[rt].writeDisableRed && in SetupPipeline()
1020 pState->state.blendState.renderTarget[rt].writeDisableGreen && in SetupPipeline()
1021 pState->state.blendState.renderTarget[rt].writeDisableBlue) in SetupPipeline()
Dcontext.h296 SWR_BLEND_STATE blendState; in OSALIGNLINE() local
Dbackend.cpp235 uint32_t sampleMask = state.blendState.sampleMask; in BackendNullPS()
/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.cpp637 VkPipelineColorBlendStateCreateInfo blendState; in generateWork() local
809 deMemset(&blendState, 0xcd, sizeof(blendState)); in generateWork()
810 blendState.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO; in generateWork()
811 blendState.pNext = DE_NULL; in generateWork()
812 blendState.flags = 0; in generateWork()
813 blendState.logicOpEnable = VK_FALSE; in generateWork()
814 blendState.logicOp = VK_LOGIC_OP_COPY; in generateWork()
815 blendState.attachmentCount = 1; in generateWork()
816 blendState.pAttachments = &blendAttachment; in generateWork()
841 pipelineState.pColorBlendState = &blendState; in generateWork()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleTests.cpp834 const VkPipelineColorBlendStateCreateInfo blendState = in createRenderPipeline() local
865 … &blendState); // const VkPipelineColorBlendStateCreateInfo* colorBlendStateCreateInfo in createRenderPipeline()
984 const VkPipelineColorBlendStateCreateInfo blendState = in createSplitPipeline() local
1017 … &blendState); // const VkPipelineColorBlendStateCreateInfo* colorBlendStateCreateInfo in createSplitPipeline()
DvktRenderPassMultisampleResolveTests.cpp718 const VkPipelineColorBlendStateCreateInfo blendState = in createRenderPipeline() local
749 … &blendState); // const VkPipelineColorBlendStateCreateInfo* colorBlendStateCreateInfo in createRenderPipeline()
DvktRenderPassTests.cpp1925 const VkPipelineColorBlendStateCreateInfo blendState = in createSubpassPipeline() local
1955 …? DE_NULL : &blendState); // const VkPipelineColorBlendStateCreateInfo* colorBlendStateCreateIn… in createSubpassPipeline()