<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 - piglit and gl45 cts linker tests regressed"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102904">102904</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>piglit and gl45 cts linker tests regressed
          </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>prefect_@gmx.net
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mark.a.janes@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>the following tests regressed:
piglit.spec.!opengl 3_0.bindfragdata-link-error
piglit.spec.arb_enhanced_layouts.linker.component-layout.fs-out-overlap3
piglit.spec.arb_enhanced_layouts.linker.component-layout.fs-out-overlap
piglit.spec.arb_enhanced_layouts.linker.component-layout.fs-out-overlap4
piglit.spec.arb_enhanced_layouts.linker.component-layout.fs-out-overlap-array
piglit.spec.arb_enhanced_layouts.linker.component-layout.fs-out-type-mismatch
piglit.spec.arb_enhanced_layouts.linker.component-layout.fs-out-type-mismatch-array
piglit.spec.arb_enhanced_layouts.linker.component-layout.fs-out-overlap2

gl45-cts.gtf33.gl3tests.explicit_attrib_location.explicit_attrib_location_overlapping_ranges

By the series ending in:
704ddbcdf693079d417d831abe073caad008ab01
Author:     Nicolai Hähnle <<a href="mailto:nicolai.haehnle@amd.com">nicolai.haehnle@amd.com</a>>
radeonsi: set MIP_POINT_PRECLAMP to 0

This fixes a bug with nearest ("point") mip selection when the fractional
part of max_lod is in (0.5,1). In this case, the spec mandates that
we still select the mip level ceil(max_lod) in the clamping case. However,
MIP_POINT_PRECLAMP will clamp before the mip selection, which is wrong.

Supposedly this setting was originally copied from the closed Vulkan
driver, but as far as I can tell, closed Vulkan was actually changed back
recently :)

Fixes dEQP-GLES3.functional.texture.mipmap.2d.max_lod.{nearest,linear}_nearest

Fixes: f7420ef5b464 ("radeonsi: enable some sampler fields to match the closed
driver")
Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>>
Reviewed-by: Dave Airlie <<a href="mailto:airlied@redhat.com">airlied@redhat.com</a>>

The problematic commit is likely to be
15cae12804e * glsl/linker: fix output variable overlap check


Sample output:
/tmp/build_root/m64/lib/piglit/bin/shader_runner
/tmp/build_root/m64/lib/piglit/tests/spec/arb_enhanced_layouts/linker/component-layout/fs-out-overlap4.shader_test
-auto -fbo
piglit: debug: Requested an OpenGL 3.2 Core Context, and received a matching
4.5 context

shader link error expected, but it was successful!</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>