From 8eebdd594bc4698e27899e0f771a61ddf2603370 Mon Sep 17 00:00:00 2001 From: Tapani Pälli Date: Mon, 20 Jan 2020 09:13:48 +0200 Subject: anv: fix assert in GetImageDrmFormatModifierPropertiesEXT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CID: 1457861 Signed-off-by: Tapani Pälli Reviewed-by: Lionel Landwerlin Reviewed-by: Eric Engestrom Part-of: --- src/intel/vulkan/anv_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/vulkan/anv_image.c') diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 37e1cae32ae..2f31f51ffa6 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -1076,7 +1076,7 @@ VkResult anv_GetImageDrmFormatModifierPropertiesEXT( { ANV_FROM_HANDLE(anv_image, image, _image); - assert(pProperties->sType = + assert(pProperties->sType == VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT); pProperties->drmFormatModifier = image->drm_format_mod; -- cgit v1.2.3