<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [bisected] wflinfo fails ctx->Const.MaxCombinedTextureImageUnits assertion"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107669">107669</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[bisected] wflinfo fails ctx->Const.MaxCombinedTextureImageUnits assertion
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>maraeo@gmail.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>clayton.a.craft@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>$ wflinfo --platform=gbm -a gl
ERROR: command failed
STDERR: wflinfo: ../src/mesa/main/context.c:777: check_context_limits:
Assertion `ctx->Const.MaxCombinedTextureImageUnits <=
MAX_COMBINED_TEXTURE_IMAGE_UNITS' failed.


I've bisected this failure to this commit:

commit 45f87a48f94148b484961f18a4f1ccf86f066b1c (refs/bisect/bad)
Author: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>>
Date:   Mon Aug 6 08:32:23 2018 -0400

    mesa: don't include compute resources in MAX_COMBINED_* limits

    5 is the maximum number of shader stages that can be used by 1 execution
    call at the same time (e.g. a draw call). The limit ensures that each
    stage can use all of its binding points.

    Compute is separate and doesn't need the 5x multiplier.

    Tested-by: Dieter Nützel <<a href="mailto:Dieter@nuetzel-hh.de">Dieter@nuetzel-hh.de</a>></pre>
        </div>
      </p>


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

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