Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp208 bool HasEmulatedImageChannels(const angle::Format &intendedFormat, in HasEmulatedImageChannels() argument
211 return (intendedFormat.alphaBits == 0 && actualFormat.alphaBits > 0) || in HasEmulatedImageChannels()
212 (intendedFormat.blueBits == 0 && actualFormat.blueBits > 0) || in HasEmulatedImageChannels()
213 (intendedFormat.greenBits == 0 && actualFormat.greenBits > 0) || in HasEmulatedImageChannels()
214 (intendedFormat.depthBits == 0 && actualFormat.depthBits > 0) || in HasEmulatedImageChannels()
215 (intendedFormat.stencilBits == 0 && actualFormat.stencilBits > 0); in HasEmulatedImageChannels()
DVertexArrayVk.cpp607 const angle::Format &intendedFormat = vertexFormat.getIntendedFormat(); in syncDirtyAttrib() local
609 binding, intendedFormat, intendedFormat.channelCount, attrib.relativeOffset); in syncDirtyAttrib()
628 renderer, intendedFormat.id, binding.getStride(), in syncDirtyAttrib()
Dvk_format_utils.h64 bool HasEmulatedImageChannels(const angle::Format &intendedFormat,
Dvk_cache_utils.cpp1829 const angle::Format &intendedFormat = format.getIntendedFormat(); in initializePipeline() local
1833 intendedFormat.isPureInt(), intendedFormat.vertexAttribType); in initializePipeline()
1852 angle::FormatID convertedFormatID = gl::ConvertFormatSignedness(intendedFormat); in initializePipeline()
1855 ASSERT(intendedFormat.channelCount == in initializePipeline()
1857 ASSERT(intendedFormat.redBits == convertedFormat.getIntendedFormat().redBits); in initializePipeline()
1858 ASSERT(intendedFormat.greenBits == convertedFormat.getIntendedFormat().greenBits); in initializePipeline()
1859 ASSERT(intendedFormat.blueBits == convertedFormat.getIntendedFormat().blueBits); in initializePipeline()
1860 ASSERT(intendedFormat.alphaBits == convertedFormat.getIntendedFormat().alphaBits); in initializePipeline()
DFramebufferVk.cpp1667 const angle::Format &intendedFormat = renderTarget->getImageIntendedFormat(); in updateColorAttachment() local
1669 colorIndexGL, intendedFormat.alphaBits == 0 && actualFormat.alphaBits > 0); in updateColorAttachment()
Dvk_helpers.cpp714 VkClearValue GetRobustResourceClearValue(const angle::Format &intendedFormat, in GetRobustResourceClearValue() argument
718 if (intendedFormat.hasDepthOrStencilBits()) in GetRobustResourceClearValue()
724 clearValue.color = HasEmulatedImageChannels(intendedFormat, actualFormat) in GetRobustResourceClearValue()
6404 const angle::Format &intendedFormat, in stageRobustResourceClearWithFormat() argument
6413 VkClearValue clearValue = GetRobustResourceClearValue(intendedFormat, imageFormat); in stageRobustResourceClearWithFormat()
DUtilsVk.cpp231 const angle::Format &intendedFormat) in GetBlitResolveFlags() argument
235 return GetFormatFlags(intendedFormat, BlitResolve_frag::kBlitColorInt, in GetBlitResolveFlags()
DTextureVk.cpp3017 const angle::Format &intendedFormat = mImage->getIntendedFormat(); in initImageViews() local
3018 gl::SwizzleState formatSwizzle = GetFormatSwizzle(contextVk, intendedFormat, sized); in initImageViews()
Dvk_helpers.h1837 const angle::Format &intendedFormat,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_utils.mm1133 const angle::Format &intendedFormat = mtlFormat.intendedAngleFormat();
1137 if (intendedFormat.alphaBits == 0 && actualFormat.alphaBits)
1143 if (intendedFormat.luminanceBits == 0)
1145 if (intendedFormat.redBits == 0 && actualFormat.redBits)
1151 if (intendedFormat.greenBits == 0 && actualFormat.greenBits)
1157 if (intendedFormat.blueBits == 0 && actualFormat.blueBits)