<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Samplers referring to the same texture unit with different types should raise GL_INVALID_OPERATION"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97524#c17">Comment # 17</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Samplers referring to the same texture unit with different types should raise GL_INVALID_OPERATION"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97524">bug 97524</a>
              from <span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=128306" name="attach_128306" title="Validate sampler types across the whole program">attachment 128306</a> <a href="attachment.cgi?id=128306&action=edit" title="Validate sampler types across the whole program">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=97524&attachment=128306'>[review]</a>
Validate sampler types across the whole program

It's untested but this patch should do the trick.

Note it applies on top of my recent refactors to sampler in this series:
<a href="https://patchwork.freedesktop.org/series/15613/">https://patchwork.freedesktop.org/series/15613/</a> so it doesn't apply cleanly to
master.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>