mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
anv: fix assert in GetImageDrmFormatModifierPropertiesEXT
CID: 1457861 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3469>
This commit is contained in:
parent
31feae1c21
commit
8eebdd594b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue