turnip: workaround for a630 d24_unorm_s8_uint fails
[mesa.git] / src / freedreno / vulkan / tu_private.h
index 291d3f81ca32aebbe028f95cdb6fc83ba782ae46..90f0b31cac5528b7dc22b9e1c2e62f0ac74ff6d9 100644 (file)
@@ -225,6 +225,8 @@ struct tu_physical_device
    int msm_major_version;
    int msm_minor_version;
 
+   bool limited_z24s8;
+
    /* This is the drivers on-disk cache used as a fallback as opposed to
     * the pipeline cache defined by apps.
     */
@@ -1392,8 +1394,9 @@ tu_image_from_gralloc(VkDevice device_h,
                       VkImage *out_image_h);
 
 void
-tu_image_view_init(struct tu_image_view *view,
-                   const VkImageViewCreateInfo *pCreateInfo);
+tu_image_view_init(struct tu_image_view *iview,
+                   const VkImageViewCreateInfo *pCreateInfo,
+                   bool limited_z24s8);
 
 struct tu_buffer_view
 {