Home
last modified time | relevance | path

Searched refs:attachmentIndex (Results 1 – 25 of 36) sorted by relevance

12

/external/angle/src/libANGLE/renderer/vulkan/
DCommandGraph.h115 void clearRenderPassColorAttachment(size_t attachmentIndex, const VkClearColorValue &clearValue) in clearRenderPassColorAttachment() argument
117 mRenderPassAttachmentOps[attachmentIndex].loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR; in clearRenderPassColorAttachment()
118 mRenderPassClearValues[attachmentIndex].color = clearValue; in clearRenderPassColorAttachment()
121 void clearRenderPassDepthAttachment(size_t attachmentIndex, float depth) in clearRenderPassDepthAttachment() argument
123 mRenderPassAttachmentOps[attachmentIndex].loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR; in clearRenderPassDepthAttachment()
124 mRenderPassClearValues[attachmentIndex].depthStencil.depth = depth; in clearRenderPassDepthAttachment()
127 void clearRenderPassStencilAttachment(size_t attachmentIndex, uint32_t stencil) in clearRenderPassStencilAttachment() argument
129 mRenderPassAttachmentOps[attachmentIndex].stencilLoadOp = VK_ATTACHMENT_LOAD_OP_CLEAR; in clearRenderPassStencilAttachment()
130 mRenderPassClearValues[attachmentIndex].depthStencil.stencil = stencil; in clearRenderPassStencilAttachment()
133 void invalidateRenderPassColorAttachment(size_t attachmentIndex) in invalidateRenderPassColorAttachment() argument
[all …]
DUtilsVk.cpp166 uint32_t GetImageClearFlags(const angle::Format &format, uint32_t attachmentIndex, bool clearDepth) in GetImageClearFlags() argument
177 uint32_t flags = ImageClear_frag::kAttachment0 + attachmentIndex * kAttachmentFlagStep; in GetImageClearFlags()
326 for (uint32_t attachmentIndex = 0; attachmentIndex < colorAttachmentCount; ++attachmentIndex) in GetUnresolveFlags() local
328 const angle::Format &format = colorSrc[attachmentIndex]->getFormat().intendedFormat(); in GetUnresolveFlags()
340 (*attachmentTypesOut)[attachmentIndex] = type; in GetUnresolveFlags()
344 flags |= type << (2 * attachmentIndex); in GetUnresolveFlags()
670 uint32_t attachmentIndex, in InsertInputDecorations() argument
678 {spirv::LiteralInteger(attachmentIndex)}); in InsertInputDecorations()
3221 for (uint32_t attachmentIndex = 0; attachmentIndex < colorAttachmentCount; ++attachmentIndex) in unresolve() local
3223 inputImageInfo[attachmentIndex].imageView = colorSrcView[attachmentIndex]->getHandle(); in unresolve()
[all …]
Dvk_cache_utils.cpp2274 for (size_t attachmentIndex = 0; attachmentIndex < blendStateExt.mMaxDrawBuffers; in updateBlendEquations() local
2275 ++attachmentIndex) in updateBlendEquations()
2278 mInputAssemblyAndColorBlendStateInfo.attachments[attachmentIndex]; in updateBlendEquations()
2280 PackGLBlendOp(blendStateExt.getEquationColorIndexed(attachmentIndex)); in updateBlendEquations()
2282 PackGLBlendOp(blendStateExt.getEquationAlphaIndexed(attachmentIndex)); in updateBlendEquations()
2284 attachments, attachmentIndex, kSize)); in updateBlendEquations()
2292 for (size_t attachmentIndex = 0; attachmentIndex < blendStateExt.mMaxDrawBuffers; in updateBlendFuncs() local
2293 ++attachmentIndex) in updateBlendFuncs()
2296 mInputAssemblyAndColorBlendStateInfo.attachments[attachmentIndex]; in updateBlendFuncs()
2298 PackGLBlendFactor(blendStateExt.getSrcColorIndexed(attachmentIndex)); in updateBlendFuncs()
[all …]
DUtilsVk.h510 uint32_t attachmentIndex);
Dvk_helpers.h1122 void invalidateRenderPassColorAttachment(PackedAttachmentIndex attachmentIndex);
Dvk_helpers.cpp1677 void CommandBufferHelper::invalidateRenderPassColorAttachment(PackedAttachmentIndex attachmentIndex) in invalidateRenderPassColorAttachment() argument
1680 SetBitField(mAttachmentOps[attachmentIndex].storeOp, RenderPassStoreOp::DontCare); in invalidateRenderPassColorAttachment()
1681 mAttachmentOps[attachmentIndex].isInvalidated = true; in invalidateRenderPassColorAttachment()
/external/swiftshader/src/Vulkan/
DVkFramebuffer.cpp111 uint32_t attachmentIndex = subpass.pColorAttachments[attachment.colorAttachment].attachment; in clearAttachment() local
113 if(attachmentIndex != VK_ATTACHMENT_UNUSED) in clearAttachment()
115 ASSERT(attachmentIndex < attachmentCount); in clearAttachment()
116 ImageView *imageView = attachments[attachmentIndex]; in clearAttachment()
131 uint32_t attachmentIndex = subpass.pDepthStencilAttachment->attachment; in clearAttachment() local
133 if(attachmentIndex != VK_ATTACHMENT_UNUSED) in clearAttachment()
135 ASSERT(attachmentIndex < attachmentCount); in clearAttachment()
136 ImageView *imageView = attachments[attachmentIndex]; in clearAttachment()
DVkRenderPass.hpp41 VkAttachmentDescription getAttachment(uint32_t attachmentIndex) const in getAttachment()
43 return attachments[attachmentIndex]; in getAttachment()
91 uint32_t getAttachmentViewMask(uint32_t attachmentIndex) const in getAttachmentViewMask()
93 return attachmentViewMasks[attachmentIndex]; in getAttachmentViewMask()
/external/angle/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp330 for (size_t attachmentIndex = 0; attachmentIndex < colorAttachments.size(); ++attachmentIndex) in getColorAttachmentsForRender() local
332 GLenum drawBufferState = drawBufferStates[attachmentIndex]; in getColorAttachmentsForRender()
333 const gl::FramebufferAttachment &colorAttachment = colorAttachments[attachmentIndex]; in getColorAttachmentsForRender()
336 activeProgramOutputs[attachmentIndex]) in getColorAttachmentsForRender()
339 drawBufferState == (GL_COLOR_ATTACHMENT0_EXT + attachmentIndex)); in getColorAttachmentsForRender()
341 mColorAttachmentsForRenderMask.set(attachmentIndex); in getColorAttachmentsForRender()
346 mColorAttachmentsForRenderMask.set(attachmentIndex); in getColorAttachmentsForRender()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp3117 const deUint32 attachmentIndex = getAttachmentNdx(colorAttachments, attachmentNdx); in renderReferenceValues() local
3119 …if (!attachmentUsed[attachmentIndex] && colorAttachments[attachmentNdx].getAttachment() != VK_ATTA… in renderReferenceValues()
3121 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex]; in renderReferenceValues()
3122 vector<PixelValue>& reference = referenceAttachments[attachmentIndex]; in renderReferenceValues()
3129 …nderSize, BVec4(true), clearValueToPixelValue(*renderPassClearValues[attachmentIndex], format, dep… in renderReferenceValues()
3133 attachmentUsed[attachmentIndex] = true; in renderReferenceValues()
3140 const deUint32 attachmentIndex = subpass.getDepthStencilAttachment().getAttachment(); in renderReferenceValues() local
3143 if (!attachmentUsed[attachmentIndex]) in renderReferenceValues()
3145 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex]; in renderReferenceValues()
3146 vector<PixelValue>& reference = referenceAttachments[attachmentIndex]; in renderReferenceValues()
[all …]
/external/angle/src/compiler/translator/tree_ops/vulkan/
DReplaceForShaderFramebufferFetch.cpp554 uint32_t attachmentIndex = inputAttachmentIndex + index; in loadInputAttachmentDataImpl() local
560 assignSubpassLoad(left, new TIntermSymbol(mInputAttachmentVarList[attachmentIndex]), in loadInputAttachmentDataImpl()
684 unsigned int attachmentIndex = inputAttachmentIndex + arrayIndex; in declareSubpassInputVariables() local
686 if (!declareSubpassInputVariableImpl(declaredVar.second, attachmentIndex)) in declareSubpassInputVariables()
691 addInputAttachmentUniform(attachmentIndex); in declareSubpassInputVariables()
/external/vulkan-validation-layers/layers/
Dparameter_validation_utils.cpp1862 …for (uint32_t attachmentIndex = 0; attachmentIndex < pCreateInfos[i].pColorBlendState->attachmentC… in manual_PreCallValidateCreateGraphicsPipelines() local
1863 ++attachmentIndex) { in manual_PreCallValidateCreateGraphicsPipelines()
1866 … ParameterName::IndexVector{i, attachmentIndex}), in manual_PreCallValidateCreateGraphicsPipelines()
1867 … pCreateInfos[i].pColorBlendState->pAttachments[attachmentIndex].blendEnable); in manual_PreCallValidateCreateGraphicsPipelines()
1872 ParameterName::IndexVector{i, attachmentIndex}), in manual_PreCallValidateCreateGraphicsPipelines()
1874 … pCreateInfos[i].pColorBlendState->pAttachments[attachmentIndex].srcColorBlendFactor, in manual_PreCallValidateCreateGraphicsPipelines()
1880 ParameterName::IndexVector{i, attachmentIndex}), in manual_PreCallValidateCreateGraphicsPipelines()
1882 … pCreateInfos[i].pColorBlendState->pAttachments[attachmentIndex].dstColorBlendFactor, in manual_PreCallValidateCreateGraphicsPipelines()
1888 ParameterName::IndexVector{i, attachmentIndex}), in manual_PreCallValidateCreateGraphicsPipelines()
1890 … pCreateInfos[i].pColorBlendState->pAttachments[attachmentIndex].colorBlendOp, in manual_PreCallValidateCreateGraphicsPipelines()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineColorWriteEnableTests.cpp964 …for (deUint32 attachmentIndex = 0u; attachmentIndex < kNumColorAttachments; ++attachmentIndex, ++n… in iterate() local
979 …ll(tcu::lessThan(tcu::absDiff(colorPixel, m_testConfig.expectedColor[attachmentIndex]), kColorThre… in iterate()
988 desc << "Result color image and error mask for attachment #" << attachmentIndex; in iterate()
DvktPipelineMultisampleSampleLocationsExtTests.cpp720 void addSubpassColorAttachment (const deUint32 attachmentIndex, const VkImageLayout subpassLayout) in addSubpassColorAttachment() argument
723 makeAttachmentReference(attachmentIndex, subpassLayout)); in addSubpassColorAttachment()
736 …void addSubpassDepthStencilAttachment (const deUint32 attachmentIndex, const VkImageLayout subpass… in addSubpassDepthStencilAttachment() argument
739 makeAttachmentReference(attachmentIndex, subpassLayout)); in addSubpassDepthStencilAttachment()
752 void addSubpassInputAttachment (const deUint32 attachmentIndex, const VkImageLayout subpassLayout) in addSubpassInputAttachment() argument
755 makeAttachmentReference(attachmentIndex, subpassLayout)); in addSubpassInputAttachment()
758 void addSubpassPreserveAttachment (const deUint32 attachmentIndex) in addSubpassPreserveAttachment() argument
760 m_subpasses.back().preserveAttachmentReferences.push_back(attachmentIndex); in addSubpassPreserveAttachment()
DvktPipelineFramebufferAttachmentTests.cpp126 deUint32 attachmentIndex = 0; in makeRenderPass() local
144 attachmentDescriptions[attachmentIndex++] = colorAttachmentDescription; in makeRenderPass()
/external/vulkan-validation-layers/layers/generated/
Dparameter_validation.cpp3784 …for (uint32_t attachmentIndex = 0; attachmentIndex < pCreateInfo->attachmentCount; ++attachmentInd… in PreCallValidateCreateRenderPass() local
3786 …exVector{ attachmentIndex }), "VkAttachmentDescriptionFlagBits", AllVkAttachmentDescriptionFlagBit… in PreCallValidateCreateRenderPass()
3788 …", ParameterName::IndexVector{ attachmentIndex }), "VkFormat", AllVkFormatEnums, pCreateInfo->pAtt… in PreCallValidateCreateRenderPass()
3790 …rName::IndexVector{ attachmentIndex }), "VkSampleCountFlagBits", AllVkSampleCountFlagBits, pCreate… in PreCallValidateCreateRenderPass()
3792 …erName::IndexVector{ attachmentIndex }), "VkAttachmentLoadOp", AllVkAttachmentLoadOpEnums, pCreate… in PreCallValidateCreateRenderPass()
3794 …rName::IndexVector{ attachmentIndex }), "VkAttachmentStoreOp", AllVkAttachmentStoreOpEnums, pCreat… in PreCallValidateCreateRenderPass()
3796 …erName::IndexVector{ attachmentIndex }), "VkAttachmentLoadOp", AllVkAttachmentLoadOpEnums, pCreate… in PreCallValidateCreateRenderPass()
3798 …rName::IndexVector{ attachmentIndex }), "VkAttachmentStoreOp", AllVkAttachmentStoreOpEnums, pCreat… in PreCallValidateCreateRenderPass()
3800 …rameterName::IndexVector{ attachmentIndex }), "VkImageLayout", AllVkImageLayoutEnums, pCreateInfo-… in PreCallValidateCreateRenderPass()
3802 …rameterName::IndexVector{ attachmentIndex }), "VkImageLayout", AllVkImageLayoutEnums, pCreateInfo-… in PreCallValidateCreateRenderPass()
[all …]
/external/angle/src/tests/perf_tests/
DTracePerfTest.cpp1450 for (GLsizei attachmentIndex = 0; attachmentIndex < numAttachments; ++attachmentIndex) in ConvertDefaultFramebufferEnums() local
1452 GLenum converted = ConvertDefaultFramebufferEnum(attachments[attachmentIndex]); in ConvertDefaultFramebufferEnums()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorSetRandomTests.cpp1688 deUint32 attachmentIndex = 0; in iterate() local
1788 VkImage img = *inputAttachments[attachmentIndex]; in iterate()
1798 ++attachmentIndex; in iterate()
1937 attachmentIndex = 0; in iterate()
2009 …ec[vecIndex] = makeDescriptorImageInfo(DE_NULL, inputAttachmentViews[attachmentIndex].get(), VK_IM… in iterate()
2010 ++attachmentIndex; in iterate()
/external/angle/src/tests/gl_tests/
DWebGLCompatibilityTest.cpp4628 for (int attachmentIndex = 0; attachmentIndex < 4; ++attachmentIndex) in TEST_P() local
4630 if (mask & (1 << attachmentIndex)) in TEST_P()
4633 renderbuffers[attachmentIndex]); in TEST_P()
4634 EXPECT_PIXEL_COLOR_EQ(0, 0, color) << "attachment " << attachmentIndex; in TEST_P()
/external/swiftshader/src/Pipeline/
DSpirvShader.cpp57 auto attachmentIndex = subpass.pInputAttachments[i].attachment; local
58 inputAttachmentFormats.push_back(attachmentIndex != VK_ATTACHMENT_UNUSED
59 ? renderPass->getAttachment(attachmentIndex).format
/external/vulkan-validation-layers/tests/
Dvklayertests_descriptor_renderpass_framebuffer.cpp3018 attachment_sample_locations.attachmentIndex = 1; in TEST_F()
3021 attachment_sample_locations.attachmentIndex = 0; in TEST_F()
/external/deqp/external/vulkancts/framework/vulkan/
DvkStructTypes.inl3667 deUint32 attachmentIndex; member
/external/skqp/include/third_party/vulkan/vulkan/
Dvulkan_core.h7134 uint32_t attachmentIndex; member
/external/mesa3d/src/amd/vulkan/
Dradv_cmd_buffer.c3510 uint32_t att_idx = att_sample_locs->attachmentIndex; in radv_cmd_state_setup_sample_locations()
/external/skia/include/third_party/vulkan/vulkan/
Dvulkan_core.h7134 uint32_t attachmentIndex; member

12