<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 19/09/17 20:02, Jason Ekstrand
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOFGe96C0_ekvgva1XGoKDJTTQ0Uv67csZ166uXJZUn515mM6A@mail.gmail.com">
      <blockquote class="gmail_quote" style="margin:0 0 0
        .8ex;border-left:1px #ccc solid;padding-left:1ex">
        <div class="HOEnZb">
          <div class="h5">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
              +   if (image->shadow_surface.isl.siz<wbr>e > 0
              &&<br>
              +       isl_format_is_compressed(<wbr>view.format)
              &&<br>
              +       (flags & ANV_IMAGE_VIEW_STATE_TEXTURE_O<wbr>PTIMAL))
              {<br>
              +      assert(isl_format_is_compresse<wbr>d(surface->isl.format));<br>
              +      assert(surface->isl.tiling ==
              ISL_TILING_LINEAR);<br>
              +      assert(image->shadow_surface.i<wbr>sl.tiling !=
              ISL_TILING_LINEAR);<br>
            </blockquote>
            <br>
          </div>
        </div>
        There is something odd here (I must misunderstand...).<br>
        In make_surface() you always make the shadow_surface with linear
        tiling, yet here you're expecting it *not* to be linear?<br>
      </blockquote>
      <div><br>
      </div>
      <div>No.  We set tiling to LINEAR and set needs_shadow.  When we
        actually create the shadow, we explicitly use TILING_ANY.<br>
      </div>
      <div> </div>
    </blockquote>
    <p>Thanks, I confused the shadow_surface was the tiled instead of
      the opposite.<br>
    </p>
  </body>
</html>