<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 04/10/17 00:58, Jason Ekstrand
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOFGe94L7c7V6DdZ=QTELHx0TMMWAHvN_DQ339iUsXrBoa2fQQ@mail.gmail.com">
      <blockquote class="gmail_quote" style="margin:0 0 0
        .8ex;border-left:1px #ccc solid;padding-left:1ex">
        <div dir="ltr">
          <div class="gmail_extra">
            <div class="gmail_quote">
              <div>
                <div class="h5">
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
                    +   struct ycbcr_state state = {<br>
                    +      .builder = builder,<br>
                    +      .origin_tex = tex,<br>
                    +      .conversion = sampler->conversion,<br>
                  </blockquote>
                </div>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
      <div><br>
      </div>
      <div>What about arrays of samplers?  You're not allowed to
        indirect on them but they can, in theory, exist and have
        different samplers with different conversions.  I think we need
        to fish the array index out and take sampler[idx].conversion
        here instead.</div>
    </blockquote>
    <p>Thanks, need to do that indeed.<br>
    </p>
  </body>
</html>