aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2020-01-20 09:13:48 +0200
committerTapani Pälli <[email protected]>2020-01-20 12:11:43 +0200
commit8eebdd594bc4698e27899e0f771a61ddf2603370 (patch)
tree589e9987332944d40eb3102c727a6b1de0546349 /src
parent31feae1c21998032491c9fe6539e5f339b275e64 (diff)
anv: fix assert in GetImageDrmFormatModifierPropertiesEXT
CID: 1457861 Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3469>
Diffstat (limited to 'src')
-rw-r--r--src/intel/vulkan/anv_image.c2
1 files changed, 1 insertions, 1 deletions
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;