/external/angle/src/libANGLE/renderer/vulkan/ |
D | CommandGraph.h | 115 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 …]
|
D | UtilsVk.cpp | 166 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 …]
|
D | vk_cache_utils.cpp | 2274 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 …]
|
D | UtilsVk.h | 510 uint32_t attachmentIndex);
|
D | vk_helpers.h | 1122 void invalidateRenderPassColorAttachment(PackedAttachmentIndex attachmentIndex);
|
D | vk_helpers.cpp | 1677 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/ |
D | VkFramebuffer.cpp | 111 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()
|
D | VkRenderPass.hpp | 41 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/ |
D | FramebufferD3D.cpp | 330 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/ |
D | vktRenderPassTests.cpp | 3117 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/ |
D | ReplaceForShaderFramebufferFetch.cpp | 554 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/ |
D | parameter_validation_utils.cpp | 1862 …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/ |
D | vktPipelineColorWriteEnableTests.cpp | 964 …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()
|
D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 720 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()
|
D | vktPipelineFramebufferAttachmentTests.cpp | 126 deUint32 attachmentIndex = 0; in makeRenderPass() local 144 attachmentDescriptions[attachmentIndex++] = colorAttachmentDescription; in makeRenderPass()
|
/external/vulkan-validation-layers/layers/generated/ |
D | parameter_validation.cpp | 3784 …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/ |
D | TracePerfTest.cpp | 1450 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/ |
D | vktBindingDescriptorSetRandomTests.cpp | 1688 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/ |
D | WebGLCompatibilityTest.cpp | 4628 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/ |
D | SpirvShader.cpp | 57 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/ |
D | vklayertests_descriptor_renderpass_framebuffer.cpp | 3018 attachment_sample_locations.attachmentIndex = 1; in TEST_F() 3021 attachment_sample_locations.attachmentIndex = 0; in TEST_F()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkStructTypes.inl | 3667 deUint32 attachmentIndex; member
|
/external/skqp/include/third_party/vulkan/vulkan/ |
D | vulkan_core.h | 7134 uint32_t attachmentIndex; member
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_cmd_buffer.c | 3510 uint32_t att_idx = att_sample_locs->attachmentIndex; in radv_cmd_state_setup_sample_locations()
|
/external/skia/include/third_party/vulkan/vulkan/ |
D | vulkan_core.h | 7134 uint32_t attachmentIndex; member
|