radv: Disable sampler ycbcr conversion.
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
cce62f4065
commit
0168eaaa42
|
@ -1068,3 +1068,21 @@ void radv_UpdateDescriptorSetWithTemplate(VkDevice _device,
|
||||||
|
|
||||||
radv_update_descriptor_set_with_template(device, NULL, set, descriptorUpdateTemplate, pData);
|
radv_update_descriptor_set_with_template(device, NULL, set, descriptorUpdateTemplate, pData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
VkResult radv_CreateSamplerYcbcrConversion(VkDevice device,
|
||||||
|
const VkSamplerYcbcrConversionCreateInfo* pCreateInfo,
|
||||||
|
const VkAllocationCallbacks* pAllocator,
|
||||||
|
VkSamplerYcbcrConversion* pYcbcrConversion)
|
||||||
|
{
|
||||||
|
*pYcbcrConversion = VK_NULL_HANDLE;
|
||||||
|
return VK_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void radv_DestroySamplerYcbcrConversion(VkDevice device,
|
||||||
|
VkSamplerYcbcrConversion ycbcrConversion,
|
||||||
|
const VkAllocationCallbacks* pAllocator)
|
||||||
|
{
|
||||||
|
/* Do nothing. */
|
||||||
|
}
|
||||||
|
|
|
@ -716,6 +716,12 @@ void radv_GetPhysicalDeviceFeatures2(
|
||||||
features->storageInputOutput16 = false;
|
features->storageInputOutput16 = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES: {
|
||||||
|
VkPhysicalDeviceSamplerYcbcrConversionFeatures *features =
|
||||||
|
(VkPhysicalDeviceSamplerYcbcrConversionFeatures*)ext;
|
||||||
|
features->samplerYcbcrConversion = false;
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue