/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkFramebuffer.cpp | 144 uint32_t attachmentIndex = subpass.pColorAttachments[attachment.colorAttachment].attachment; in clearAttachment() local 146 if(attachmentIndex != VK_ATTACHMENT_UNUSED) in clearAttachment() 148 ASSERT(attachmentIndex < attachmentCount); in clearAttachment() 149 ImageView *imageView = attachments[attachmentIndex]; in clearAttachment() 164 uint32_t attachmentIndex = subpass.pDepthStencilAttachment->attachment; in clearAttachment() local 166 if(attachmentIndex != VK_ATTACHMENT_UNUSED) in clearAttachment() 168 ASSERT(attachmentIndex < attachmentCount); in clearAttachment() 169 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()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | FramebufferD3D.cpp | 329 for (size_t attachmentIndex = 0; attachmentIndex < colorAttachments.size(); ++attachmentIndex) in getColorAttachmentsForRender() local 331 GLenum drawBufferState = drawBufferStates[attachmentIndex]; in getColorAttachmentsForRender() 332 const gl::FramebufferAttachment &colorAttachment = colorAttachments[attachmentIndex]; in getColorAttachmentsForRender() 335 activeProgramOutputs[attachmentIndex]) in getColorAttachmentsForRender() 338 drawBufferState == (GL_COLOR_ATTACHMENT0_EXT + attachmentIndex)); in getColorAttachmentsForRender() 340 mColorAttachmentsForRenderMask.set(attachmentIndex); in getColorAttachmentsForRender() 345 mColorAttachmentsForRenderMask.set(attachmentIndex); in getColorAttachmentsForRender()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassTests.cpp | 3466 const deUint32 attachmentIndex = getAttachmentNdx(colorAttachments, attachmentNdx); in renderReferenceValues() local 3468 …if (!attachmentUsed[attachmentIndex] && colorAttachments[attachmentNdx].getAttachment() != VK_ATTA… in renderReferenceValues() 3470 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex]; in renderReferenceValues() 3471 vector<PixelValue>& reference = referenceAttachments[attachmentIndex]; in renderReferenceValues() 3478 …nderSize, BVec4(true), clearValueToPixelValue(*renderPassClearValues[attachmentIndex], format, dep… in renderReferenceValues() 3482 attachmentUsed[attachmentIndex] = true; in renderReferenceValues() 3489 const deUint32 attachmentIndex = subpass.getDepthStencilAttachment().getAttachment(); in renderReferenceValues() local 3492 if (!attachmentUsed[attachmentIndex]) in renderReferenceValues() 3494 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex]; in renderReferenceValues() 3495 vector<PixelValue>& reference = referenceAttachments[attachmentIndex]; in renderReferenceValues() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | RenderPassBuilderD3D12.cpp | 112 void RenderPassBuilder::SetRenderTargetView(ColorAttachmentIndex attachmentIndex, in SetRenderTargetView() argument 115 mRenderTargetViews[attachmentIndex] = baseDescriptor; in SetRenderTargetView() 116 mRenderPassRenderTargetDescriptors[attachmentIndex].cpuDescriptor = baseDescriptor; in SetRenderTargetView()
|
D | RenderPassBuilderD3D12.h | 77 void SetRenderTargetView(ColorAttachmentIndex attachmentIndex,
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
D | ReplaceForShaderFramebufferFetch.cpp | 438 uint32_t attachmentIndex = inputAttachmentIndex + index; in loadInputAttachmentDataImpl() local 444 assignSubpassLoad(left, new TIntermSymbol(mInputAttachmentVarList[attachmentIndex]), in loadInputAttachmentDataImpl() 568 unsigned int attachmentIndex = inputAttachmentIndex + arrayIndex; in declareSubpassInputVariables() local 570 if (!declareSubpassInputVariableImpl(declaredVar.second, attachmentIndex)) in declareSubpassInputVariables() 575 addInputAttachmentUniform(attachmentIndex); in declareSubpassInputVariables()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | DrawBuffersTest.cpp | 917 for (uint32_t attachmentIndex = 0; attachmentIndex < 4; ++attachmentIndex) in TEST_P() local 920 snprintf(uniformName, sizeof uniformName, "value%u", attachmentIndex); in TEST_P() 921 uniforms[attachmentIndex] = glGetUniformLocation(program, uniformName); in TEST_P() 922 ASSERT_NE(uniforms[attachmentIndex], -1); in TEST_P()
|
D | WebGLCompatibilityTest.cpp | 4742 for (int attachmentIndex = 0; attachmentIndex < 4; ++attachmentIndex) in TEST_P() local 4744 if (mask & (1 << attachmentIndex)) in TEST_P() 4747 renderbuffers[attachmentIndex]); in TEST_P() 4748 EXPECT_PIXEL_COLOR_EQ(0, 0, color) << "attachment " << attachmentIndex; in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | UtilsVk.cpp | 165 uint32_t GetImageClearFlags(const angle::Format &format, uint32_t attachmentIndex, bool clearDepth) in GetImageClearFlags() argument 176 uint32_t flags = ImageClear_frag::kAttachment0 + attachmentIndex * kAttachmentFlagStep; in GetImageClearFlags() 319 for (uint32_t attachmentIndex = 0; attachmentIndex < colorAttachmentCount; ++attachmentIndex) in GetUnresolveFlags() local 321 const angle::Format &format = colorSrc[attachmentIndex]->getIntendedFormat(); in GetUnresolveFlags() 333 (*attachmentTypesOut)[attachmentIndex] = type; in GetUnresolveFlags() 337 flags |= type << (2 * attachmentIndex); in GetUnresolveFlags() 662 uint32_t attachmentIndex, in InsertInputDecorations() argument 670 {spirv::LiteralInteger(attachmentIndex)}); in InsertInputDecorations() 3317 for (uint32_t attachmentIndex = 0; attachmentIndex < colorAttachmentCount; ++attachmentIndex) in unresolve() local 3319 inputImageInfo[attachmentIndex].imageView = colorSrcView[attachmentIndex]->getHandle(); in unresolve() [all …]
|
D | vk_cache_utils.cpp | 2308 for (size_t attachmentIndex : attachmentMask) in updateBlendEquations() local 2311 mInputAssemblyAndColorBlendStateInfo.attachments[attachmentIndex]; in updateBlendEquations() 2313 PackGLBlendOp(blendStateExt.getEquationColorIndexed(attachmentIndex)); in updateBlendEquations() 2315 PackGLBlendOp(blendStateExt.getEquationAlphaIndexed(attachmentIndex)); in updateBlendEquations() 2317 attachments, attachmentIndex, kSizeBits)); in updateBlendEquations() 2326 for (size_t attachmentIndex : attachmentMask) in updateBlendFuncs() local 2329 mInputAssemblyAndColorBlendStateInfo.attachments[attachmentIndex]; in updateBlendFuncs() 2331 PackGLBlendFactor(blendStateExt.getSrcColorIndexed(attachmentIndex)); in updateBlendFuncs() 2333 PackGLBlendFactor(blendStateExt.getDstColorIndexed(attachmentIndex)); in updateBlendFuncs() 2335 PackGLBlendFactor(blendStateExt.getSrcAlphaIndexed(attachmentIndex)); in updateBlendFuncs() [all …]
|
D | UtilsVk.h | 527 uint32_t attachmentIndex);
|
D | vk_helpers.h | 1123 void invalidateRenderPassColorAttachment(PackedAttachmentIndex attachmentIndex);
|
D | vk_helpers.cpp | 1822 void CommandBufferHelper::invalidateRenderPassColorAttachment(PackedAttachmentIndex attachmentIndex) in invalidateRenderPassColorAttachment() argument 1825 SetBitField(mAttachmentOps[attachmentIndex].storeOp, RenderPassStoreOp::DontCare); in invalidateRenderPassColorAttachment() 1826 mAttachmentOps[attachmentIndex].isInvalidated = true; in invalidateRenderPassColorAttachment()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineColorWriteEnableTests.cpp | 969 …for (deUint32 attachmentIndex = 0u; attachmentIndex < kNumColorAttachments; ++attachmentIndex, ++n… in iterate() local 984 …ll(tcu::lessThan(tcu::absDiff(colorPixel, m_testConfig.expectedColor[attachmentIndex]), kColorThre… in iterate() 993 desc << "Result color image and error mask for attachment #" << attachmentIndex; in iterate()
|
D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 839 void addSubpassColorAttachment (const deUint32 attachmentIndex, const VkImageLayout subpassLayout) in addSubpassColorAttachment() argument 842 makeAttachmentReference(attachmentIndex, subpassLayout)); in addSubpassColorAttachment() 855 …void addSubpassDepthStencilAttachment (const deUint32 attachmentIndex, const VkImageLayout subpass… in addSubpassDepthStencilAttachment() argument 858 makeAttachmentReference(attachmentIndex, subpassLayout)); in addSubpassDepthStencilAttachment() 871 void addSubpassInputAttachment (const deUint32 attachmentIndex, const VkImageLayout subpassLayout) in addSubpassInputAttachment() argument 874 makeAttachmentReference(attachmentIndex, subpassLayout)); in addSubpassInputAttachment() 877 void addSubpassPreserveAttachment (const deUint32 attachmentIndex) in addSubpassPreserveAttachment() argument 879 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()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | TracePerfTest.cpp | 1725 for (GLsizei attachmentIndex = 0; attachmentIndex < numAttachments; ++attachmentIndex) in ConvertDefaultFramebufferEnums() local 1727 GLenum converted = ConvertDefaultFramebufferEnum(attachments[attachmentIndex]); in ConvertDefaultFramebufferEnums()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
D | frame_capture_utils.cpp | 352 for (size_t attachmentIndex = 0; attachmentIndex < colorAttachments.size(); in SerializeFramebufferState() local 353 ++attachmentIndex) in SerializeFramebufferState() 355 const gl::FramebufferAttachment &colorAttachment = colorAttachments[attachmentIndex]; in SerializeFramebufferState() 359 static_cast<int>(attachmentIndex)); in SerializeFramebufferState()
|
/third_party/vk-gl-cts/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()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_render_pass.c | 1073 .attachmentIndex = att_sl_in->attachmentIndex, in clone_rp_sample_locations() 2307 assert(att_sl->attachmentIndex < pass->attachment_count); in vk_common_CmdBeginRenderPass2() 2309 &cmd_buffer->attachments[att_sl->attachmentIndex]; in vk_common_CmdBeginRenderPass2()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | SpirvShader.cpp | 55 auto attachmentIndex = subpass.pInputAttachments[i].attachment; local 56 inputAttachmentFormats.push_back(attachmentIndex != VK_ATTACHMENT_UNUSED 57 ? renderPass->getAttachment(attachmentIndex).format
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/ |
D | renderpass.txt | 2568 array for which the pname:attachmentIndex member equals the attachment index 5249 * pname:attachmentIndex is the index of the attachment for which the 5257 pname:attachmentIndex was not created with 5263 * [[VUID-VkAttachmentSampleLocationsEXT-attachmentIndex-01531]] 5264 pname:attachmentIndex must: be less than the pname:attachmentCount
|
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/ |
D | vkStructTypes.inl | 3913 uint32_t attachmentIndex; member
|
/third_party/skia/include/third_party/vulkan/vulkan/ |
D | vulkan_core.h | 9502 uint32_t attachmentIndex; member
|