<div dir="ltr">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 25, 2018 at 12:04 PM Eric Engestrom <<a href="mailto:eric.engestrom@intel.com">eric.engestrom@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">CovID: 1438113, 1438118, 1438119, 1438121<br>
Fixes: dc1d10b396179766227df "anv,radv: Add support for VK_KHR_get_display_properties2"<br>
Cc: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com" target="_blank">jason.ekstrand@intel.com</a>><br>
Signed-off-by: Eric Engestrom <<a href="mailto:eric.engestrom@intel.com" target="_blank">eric.engestrom@intel.com</a>><br>
---<br>
 src/vulkan/wsi/wsi_common_display.c | 4 ++--<br>
 1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/vulkan/wsi/wsi_common_display.c b/src/vulkan/wsi/wsi_common_display.c<br>
index ac932d4368a0293fe97e..e6cba188dfaf8d790415 100644<br>
--- a/src/vulkan/wsi/wsi_common_display.c<br>
+++ b/src/vulkan/wsi/wsi_common_display.c<br>
@@ -619,7 +619,7 @@ wsi_display_fill_in_display_mode_properties(<br>
    struct wsi_display_mode *display_mode,<br>
    VkDisplayModeProperties2KHR *properties)<br>
 {<br>
-   assert(properties->sType = VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR);<br>
+   assert(properties->sType == VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR);<br>
    VkDisplayModePropertiesKHR *prop = &properties->displayModeProperties;<br>
<br>
    prop->displayMode = wsi_display_mode_to_handle(display_mode);<br>
@@ -763,7 +763,7 @@ wsi_get_display_plane_capabilities2(<br>
    const VkDisplayPlaneInfo2KHR *pDisplayPlaneInfo,<br>
    VkDisplayPlaneCapabilities2KHR *capabilities)<br>
 {<br>
-   assert(capabilities->sType =<br>
+   assert(capabilities->sType ==<br>
           VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR);<br>
<br>
    return wsi_get_display_plane_capabilities(physical_device, wsi_device,<br>
-- <br>
Cheers,<br>
  Eric<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div>