anv: Rename cpp variable to "bs"
[mesa.git] / src / vulkan / anv_wsi_wayland.c
index f87f3ffef19cd23c2432c0424f550762ce92ad08..1828b090335722bde196d0b559d336609e3752e2 100644 (file)
@@ -60,7 +60,7 @@ wsi_wl_display_add_vk_format(struct wsi_wl_display *display, VkFormat format)
          return;
 
    /* Don't add formats which aren't supported by the driver */
-   if (anv_format_for_vk_format(format)->cpp == 0)
+   if (anv_format_for_vk_format(format)->bs == 0)
       return;
 
    f = anv_vector_add(&display->formats);