Home
last modified time | relevance | path

Searched refs:colorAttachmentIndex (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPassCache.cpp124 uint32_t colorAttachmentIndex = 0; in CreateRenderPassForQuery() local
126 auto& attachmentRef = colorAttachmentRefs[colorAttachmentIndex]; in CreateRenderPassForQuery()
127 auto& attachmentDesc = attachmentDescs[colorAttachmentIndex]; in CreateRenderPassForQuery()
129 attachmentRef.attachment = colorAttachmentIndex; in CreateRenderPassForQuery()
140 ++colorAttachmentIndex; in CreateRenderPassForQuery()
143 uint32_t attachmentCount = colorAttachmentIndex; in CreateRenderPassForQuery()
193 for (; resolveAttachmentIndex < colorAttachmentIndex; resolveAttachmentIndex++) { in CreateRenderPassForQuery()
208 subpassDesc.colorAttachmentCount = colorAttachmentIndex; in CreateRenderPassForQuery()
/third_party/skia/src/gpu/vk/
DGrVkRenderPass.h44 uint32_t colorAttachmentIndex) in GrVkRenderPass() argument
51 , fColorAttachmentIndex(colorAttachmentIndex) {} in GrVkRenderPass()
119 bool colorAttachmentIndex(uint32_t* index) const;
DGrVkResourceProvider.cpp160 VkRenderPass renderPass, uint32_t colorAttachmentIndex) { in findCompatibleExternalRenderPass() argument
166 SkASSERT(fExternalRenderPasses[i]->colorAttachmentIndex(&cachedColorIndex)); in findCompatibleExternalRenderPass()
167 SkASSERT(cachedColorIndex == colorAttachmentIndex); in findCompatibleExternalRenderPass()
174 colorAttachmentIndex); in findCompatibleExternalRenderPass()
DGrVkResourceProvider.h84 uint32_t colorAttachmentIndex);
DGrVkOpsRenderPass.cpp512 SkAssertResult(fCurrentRenderPass->colorAttachmentIndex(&colorIndex)); in onClear()
859 SkAssertResult(fCurrentRenderPass->colorAttachmentIndex(&vkInfo.fColorAttachmentIndex)); in onExecuteDrawable()
DGrVkRenderPass.cpp348 bool GrVkRenderPass::colorAttachmentIndex(uint32_t* index) const { in colorAttachmentIndex() function in GrVkRenderPass
DGrVkCommandBuffer.cpp230 SkAssertResult(fActiveRenderPass->colorAttachmentIndex(&testIndex)); in clearAttachments()
DGrVkGpu.cpp2507 bool result = renderPass->colorAttachmentIndex(&index); in beginRenderPass()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp460 for (auto colorAttachmentIndex : fboData.getEnabledDrawBuffers()) in clearFramebuffer() local
463 colorAttachmentIndex, clearParams.colorMask); in clearFramebuffer()
467 const gl::FramebufferAttachment &attachment = colorAttachments[colorAttachmentIndex]; in clearFramebuffer()
469 if (!clearParams.clearColor[colorAttachmentIndex]) in clearFramebuffer()
488 << colorAttachmentIndex << " has internal format " << attachment.getFormat() in clearFramebuffer()
/third_party/skia/third_party/externals/dawn/src/utils/
DWGPUHelpers.cpp103 uint32_t colorAttachmentIndex = 0; in ComboRenderPassDescriptor() local
106 cColorAttachments[colorAttachmentIndex].view = colorAttachment; in ComboRenderPassDescriptor()
108 ++colorAttachmentIndex; in ComboRenderPassDescriptor()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DDrawBuffersTest.cpp850 size_t colorAttachmentIndex = texIndex >= 3 ? texIndex - 3 : texIndex; in TEST_P() local
858 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + colorAttachmentIndex, in TEST_P()
863 glClearBufferfv(GL_COLOR, colorAttachmentIndex, kClearValue); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_command_buffer.mm1805 uint32_t colorAttachmentIndex)
1807 if (colorAttachmentIndex >= mRenderPassDesc.numColorAttachments)
1813 mRenderPassDesc.colorAttachments[colorAttachmentIndex].storeAction = action;
1863 uint32_t colorAttachmentIndex)
1866 if (mCachedRenderPassDescObjC.get().colorAttachments[colorAttachmentIndex].texture)
1868 mCachedRenderPassDescObjC.get().colorAttachments[colorAttachmentIndex].loadAction = action;
1869 mCachedRenderPassDescObjC.get().colorAttachments[colorAttachmentIndex].clearColor =
Dmtl_command_buffer.h460 RenderCommandEncoder &setColorStoreAction(MTLStoreAction action, uint32_t colorAttachmentIndex);
476 uint32_t colorAttachmentIndex);
/third_party/vk-gl-cts/external/amber/src/src/dawn/
Dengine_dawn.cc1190 uint32_t colorAttachmentIndex = 0; in CreateRenderPassDescriptor() local
1193 colorAttachmentsInfo[colorAttachmentIndex].attachment = colorAttachment; in CreateRenderPassDescriptor()
1194 colorAttachmentsInfoPtr[colorAttachmentIndex] = in CreateRenderPassDescriptor()
1195 colorAttachmentsInfo[colorAttachmentIndex]; in CreateRenderPassDescriptor()
1197 ++colorAttachmentIndex; in CreateRenderPassDescriptor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp2145 const deUint32 colorAttachmentIndex = colorAttachmentReference.getAttachment(); in beginDynamicRendering() local
2146 …const Attachment& colorAttachmentInfo = renderPassInfo.getAttachments()[colorAttachmentIndex]; in beginDynamicRendering()
2167 attachmentResources[colorAttachmentIndex]->getAttachmentView(), // VkImageView imageView in beginDynamicRendering()
2174 (renderPassClearValues[colorAttachmentIndex] ? in beginDynamicRendering()
2175 *renderPassClearValues[colorAttachmentIndex] : in beginDynamicRendering()
2959 const deUint32 colorAttachmentIndex = colorAttachmentReference.getAttachment(); in pushDynamicRenderingCommands() local
2960 …const Attachment& colorAttachmentInfo = renderPassInfo.getAttachments()[colorAttachmentIndex]; in pushDynamicRenderingCommands()
2980 attachmentResources[colorAttachmentIndex]->getImage(), // image in pushDynamicRenderingCommands()
3005 attachmentResources[colorAttachmentIndex]->getImage(), // image in pushDynamicRenderingCommands()
6120 const deUint32 colorAttachmentIndex = subpassColorAttachments[colorAttachmentNdx]; in addAttachmentAllocationTests() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassTests.cpp2145 const deUint32 colorAttachmentIndex = colorAttachmentReference.getAttachment(); in beginDynamicRendering() local
2146 …const Attachment& colorAttachmentInfo = renderPassInfo.getAttachments()[colorAttachmentIndex]; in beginDynamicRendering()
2167 attachmentResources[colorAttachmentIndex]->getAttachmentView(), // VkImageView imageView in beginDynamicRendering()
2174 (renderPassClearValues[colorAttachmentIndex] ? in beginDynamicRendering()
2175 *renderPassClearValues[colorAttachmentIndex] : in beginDynamicRendering()
2959 const deUint32 colorAttachmentIndex = colorAttachmentReference.getAttachment(); in pushDynamicRenderingCommands() local
2960 …const Attachment& colorAttachmentInfo = renderPassInfo.getAttachments()[colorAttachmentIndex]; in pushDynamicRenderingCommands()
2980 attachmentResources[colorAttachmentIndex]->getImage(), // image in pushDynamicRenderingCommands()
3005 attachmentResources[colorAttachmentIndex]->getImage(), // image in pushDynamicRenderingCommands()
6120 const deUint32 colorAttachmentIndex = subpassColorAttachments[colorAttachmentNdx]; in addAttachmentAllocationTests() local
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp2677 vk::PackedAttachmentIndex colorAttachmentIndex(0); in startNewRenderPass() local
2682 colorAttachmentIndex); in startNewRenderPass()
2683 ++colorAttachmentIndex; in startNewRenderPass()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineMultisampleSampleLocationsExtTests.cpp795 …void addSubpassColorAttachmentWithResolve (const deUint32 colorAttachmentIndex, const VkImageLayou… in addSubpassColorAttachmentWithResolve() argument
798 makeAttachmentReference(colorAttachmentIndex, colorSubpassLayout)); in addSubpassColorAttachmentWithResolve()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleSampleLocationsExtTests.cpp795 …void addSubpassColorAttachmentWithResolve (const deUint32 colorAttachmentIndex, const VkImageLayou… in addSubpassColorAttachmentWithResolve() argument
798 makeAttachmentReference(colorAttachmentIndex, colorSubpassLayout)); in addSubpassColorAttachmentWithResolve()