ilo: replace ilo_zs_surface with ilo_state_zs
[mesa.git] / src / gallium / drivers / ilo / core / ilo_image.c
index 631093273bf21efa7ed9b7102894fcf9de19a6df..0d837d8a9d56dba2b41f1bc764c0ac4d0bb5971a 100644 (file)
@@ -797,6 +797,10 @@ img_want_hiz(const struct ilo_image *img,
    if (ilo_debug & ILO_DEBUG_NOHIZ)
       return false;
 
+   /* we want 8x4 aligned levels */
+   if (templ->target == PIPE_TEXTURE_1D)
+      return false;
+
    if (!(templ->bind & PIPE_BIND_DEPTH_STENCIL))
       return false;