[Mesa-dev] [PATCH v3] anv: support VkExternalFormatANDROID in vkCreateSamplerYcbcrConversion
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Mon Dec 17 18:33:25 UTC 2018
On 14/12/2018 12:05, Tapani Pälli wrote:
> +
> + /* The Vulkan 1.1.95 spec says "When creating an external format conversion,
> + * the value of components if ignored."
> + */
> + if (ext_format) {
> + conversion->mapping[0] = pCreateInfo->components.r;
> + conversion->mapping[1] = pCreateInfo->components.g;
> + conversion->mapping[2] = pCreateInfo->components.b;
> + conversion->mapping[3] = pCreateInfo->components.a;
> + }
> +
if (!ext_format)
With that fixed:
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
More information about the mesa-dev
mailing list