Home
last modified time | relevance | path

Searched refs:colorIndexGL (Results 1 – 7 of 7) sorted by relevance

/external/angle/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp271 for (size_t colorIndexGL : getEnabledDrawBuffers) in HasResolveAttachment() local
273 RenderTargetVk *colorRenderTarget = colorRenderTargets[colorIndexGL]; in HasResolveAttachment()
302 for (size_t colorIndexGL : colorAttachmentsMask) in IsAnyAttachment3DWithoutAllLayers() local
304 RenderTargetVk *colorRenderTarget = colorRenderTargets[colorIndexGL]; in IsAnyAttachment3DWithoutAllLayers()
1146 for (size_t colorIndexGL : mState.getEnabledDrawBuffers()) in blit() local
1148 RenderTargetVk *drawRenderTarget = mRenderTargetCache.getColors()[colorIndexGL]; in blit()
1166 for (size_t colorIndexGL : mState.getEnabledDrawBuffers()) in blit() local
1168 RenderTargetVk *drawRenderTarget = mRenderTargetCache.getColors()[colorIndexGL]; in blit()
1326 uint32_t colorIndexGL, in updateColorResolveAttachment() argument
1329 mCurrentFramebufferDesc.updateColorResolve(colorIndexGL, resolveImageViewSerial); in updateColorResolveAttachment()
[all …]
Dvk_cache_utils.cpp294 for (uint32_t colorIndexGL = 0; colorIndexGL < desc.colorAttachmentRange(); ++colorIndexGL) in InitializeUnresolveSubpass() local
388 if (!desc.hasColorUnresolveAttachment(colorIndexGL)) in InitializeUnresolveSubpass()
390 if (desc.isColorAttachmentEnabled(colorIndexGL)) in InitializeUnresolveSubpass()
393 drawSubpassColorAttachmentRefs[colorIndexGL].attachment); in InitializeUnresolveSubpass()
397 ASSERT(desc.isColorAttachmentEnabled(colorIndexGL)); in InitializeUnresolveSubpass()
398 ASSERT(desc.hasColorResolveAttachment(colorIndexGL)); in InitializeUnresolveSubpass()
399 ASSERT(drawSubpassColorAttachmentRefs[colorIndexGL].attachment != VK_ATTACHMENT_UNUSED); in InitializeUnresolveSubpass()
400 ASSERT(drawSubpassResolveAttachmentRefs[colorIndexGL].attachment != VK_ATTACHMENT_UNUSED); in InitializeUnresolveSubpass()
402 unresolveColorAttachmentRefs->push_back(drawSubpassColorAttachmentRefs[colorIndexGL]); in InitializeUnresolveSubpass()
403 unresolveInputAttachmentRefs->push_back(drawSubpassResolveAttachmentRefs[colorIndexGL]); in InitializeUnresolveSubpass()
[all …]
Dvk_cache_utils.h144 void packColorAttachment(size_t colorIndexGL, angle::FormatID formatID);
146 void packColorAttachmentGap(size_t colorIndexGL);
152 void packColorResolveAttachment(size_t colorIndexGL);
155 void removeColorResolveAttachment(size_t colorIndexGL);
157 void packColorUnresolveAttachment(size_t colorIndexGL);
158 void removeColorUnresolveAttachment(size_t colorIndexGL);
174 bool isColorAttachmentEnabled(size_t colorIndexGL) const;
176 bool hasColorResolveAttachment(size_t colorIndexGL) const in hasColorResolveAttachment() argument
178 return mColorResolveAttachmentMask.test(colorIndexGL); in hasColorResolveAttachment()
184 bool hasColorUnresolveAttachment(size_t colorIndexGL) const in hasColorUnresolveAttachment() argument
[all …]
DFramebufferVk.h234 VkClearValue getCorrectedColorClearValue(size_t colorIndexGL,
238 uint32_t colorIndexGL,
240 void removeColorResolveAttachment(uint32_t colorIndexGL);
DUtilsVk.cpp3124 for (size_t colorIndexGL : params.unresolveColorMask) in unresolve() local
3126 RenderTargetVk *colorRenderTarget = framebuffer->getColorDrawRenderTarget(colorIndexGL); in unresolve()
/external/angle/src/libANGLE/renderer/metal/
DFrameBufferMtl.mm591 size_t colorIndexGL = static_cast<size_t>(
593 ANGLE_TRY(updateColorRenderTarget(context, colorIndexGL));
839 size_t colorIndexGL)
841 ASSERT(colorIndexGL < mtl::kMaxRenderTargets);
843 mRenderPassDesc.colorAttachments[colorIndexGL].reset();
844 return updateCachedRenderTarget(context, mState.getColorAttachment(colorIndexGL),
845 &mColorRenderTargets[colorIndexGL]);
973 for (uint32_t colorIndexGL = 0; colorIndexGL < maxColorAttachments; ++colorIndexGL)
975 ASSERT(colorIndexGL < mtl::kMaxRenderTargets);
977 mtl::RenderPassColorAttachmentDesc &colorAttachment = desc.colorAttachments[colorIndexGL];
[all …]
DFrameBufferMtl.h168 angle::Result updateColorRenderTarget(const gl::Context *context, size_t colorIndexGL);