Home
last modified time | relevance | path

Searched refs:intendedFormat (Results 1 – 9 of 9) sorted by relevance

/external/angle/src/libANGLE/renderer/vulkan/
DVertexArrayVk.cpp64 << vertexFormat.intendedFormat().glInternalFormat in WarnOnVertexFormatConversion()
385 const angle::Format &srcFormat = vertexFormat.intendedFormat(); in convertVertexBufferGPU()
437 unsigned srcFormatSize = vertexFormat.intendedFormat().pixelBytes; in convertVertexBufferCPU()
610 const angle::Format &intendedFormat = vertexFormat.intendedFormat(); in syncDirtyAttrib() local
612 binding, intendedFormat, intendedFormat.channelCount, attrib.relativeOffset); in syncDirtyAttrib()
627 renderer, intendedFormat.id, binding.getStride(), in syncDirtyAttrib()
DUtilsVk.cpp218 const angle::Format &srcIntendedFormat = srcFormat.intendedFormat(); in GetImageCopyFlags()
219 const angle::Format &dstIntendedFormat = dstFormat.intendedFormat(); in GetImageCopyFlags()
238 const angle::Format &intendedFormat = format.intendedFormat(); in GetBlitResolveFlags() local
240 return GetFormatFlags(intendedFormat, BlitResolve_frag::kBlitColorInt, in GetBlitResolveFlags()
328 const angle::Format &format = colorSrc[attachmentIndex]->getFormat().intendedFormat(); in GetUnresolveFlags()
367 const angle::Format &intendedFormat = format.intendedFormat(); in GetFormatDefaultChannelMask() local
372 ASSERT(((intendedFormat.redBits > 0) == (imageFormat.redBits > 0)) || intendedFormat.isLUMA()); in GetFormatDefaultChannelMask()
373 mask |= intendedFormat.greenBits == 0 && imageFormat.greenBits > 0 ? 2 : 0; in GetFormatDefaultChannelMask()
374 mask |= intendedFormat.blueBits == 0 && imageFormat.blueBits > 0 ? 4 : 0; in GetFormatDefaultChannelMask()
375 mask |= intendedFormat.alphaBits == 0 && imageFormat.alphaBits > 0 ? 8 : 0; in GetFormatDefaultChannelMask()
[all …]
Dvk_format_utils.cpp234 const angle::Format &angleFmt = intendedFormat(); in hasEmulatedImageChannels()
399 const angle::Format &angleFormat = format.intendedFormat(); in GetFormatSwizzle()
Dvk_format_utils.h65 const angle::Format &intendedFormat() const { return angle::Format::Get(intendedFormatID); } in intendedFormat() function
DFramebufferVk.cpp68 const angle::Format &srcFormat = srcRenderTarget->getImageFormat().intendedFormat(); in AreSrcAndDstColorChannelsBlitCompatible()
69 const angle::Format &dstFormat = dstRenderTarget->getImageFormat().intendedFormat(); in AreSrcAndDstColorChannelsBlitCompatible()
97 const angle::Format &srcFormat = srcRenderTarget->getImageFormat().intendedFormat(); in AreSrcAndDstDepthStencilChannelsBlitCompatible()
98 const angle::Format &dstFormat = dstRenderTarget->getImageFormat().intendedFormat(); in AreSrcAndDstDepthStencilChannelsBlitCompatible()
1660 const angle::Format &intendedFormat = renderTarget->getImageFormat().intendedFormat(); in updateColorAttachment() local
1662 colorIndexGL, intendedFormat.alphaBits == 0 && actualFormat.alphaBits > 0); in updateColorAttachment()
2568 if (format.intendedFormat().stencilBits == 0) in startNewRenderPass()
2573 if (format.intendedFormat().depthBits == 0) in startNewRenderPass()
Dvk_cache_utils.cpp217 const angle::Format &angleFormat = format.intendedFormat(); in UnpackDepthStencilResolveAttachmentDesc()
1082 const angle::Format &angleFormat = format.intendedFormat(); in InitializeRenderPassFromDesc()
1800 const angle::Format &angleFormat = format.intendedFormat(); in initializePipeline()
1826 ASSERT(angleFormat.channelCount == convertedFormat.intendedFormat().channelCount); in initializePipeline()
1827 ASSERT(angleFormat.redBits == convertedFormat.intendedFormat().redBits); in initializePipeline()
1828 ASSERT(angleFormat.greenBits == convertedFormat.intendedFormat().greenBits); in initializePipeline()
1829 ASSERT(angleFormat.blueBits == convertedFormat.intendedFormat().blueBits); in initializePipeline()
1830 ASSERT(angleFormat.alphaBits == convertedFormat.intendedFormat().alphaBits); in initializePipeline()
3163 : (vkFormat.intendedFormat().isYUV) in update()
DTextureVk.cpp413 const bool isCompatibleDepth = vkFormat.intendedFormat().depthBits == bufferFormat.depthBits; in isFastUnpackPossible()
479 const VkImageAspectFlags aspectFlags = vk::GetFormatAspectFlags(vkFormat.intendedFormat()); in setSubImageImpl()
898 if (sourceVkFormat.intendedFormat().isLUMA()) in copySubTextureImpl()
900 pixelReadFunction = sourceVkFormat.intendedFormat().pixelReadFunction; in copySubTextureImpl()
902 if (destVkFormat.intendedFormat().isLUMA()) in copySubTextureImpl()
904 pixelWriteFunction = destVkFormat.intendedFormat().pixelWriteFunction; in copySubTextureImpl()
Dvk_helpers.cpp708 if (format.intendedFormat().hasDepthOrStencilBits()) in GetRobustResourceClearValue()
5197 else if (!sourceVkFormat.intendedFormat().isBlock && !destVkFormat.intendedFormat().isBlock) in CopyImageSubData()
6098 if (mFormat->intendedFormat().hasDepthOrStencilBits()) in stageClearIfEmulatedFormat()
7530 const VkImageAspectFlags aspectFlags = GetFormatAspectFlags(format.intendedFormat()); in initReadViewsImpl()
7597 const VkImageAspectFlags aspectFlags = GetFormatAspectFlags(format.intendedFormat()); in initSRGBReadViewsImpl()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_utils.mm1055 const angle::Format &intendedFormat = mtlFormat.intendedAngleFormat();
1059 if (intendedFormat.alphaBits == 0 && actualFormat.alphaBits)
1065 if (intendedFormat.luminanceBits == 0)
1067 if (intendedFormat.redBits == 0 && actualFormat.redBits)
1073 if (intendedFormat.greenBits == 0 && actualFormat.greenBits)
1079 if (intendedFormat.blueBits == 0 && actualFormat.blueBits)