<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 - [swrast] piglit glsl-arb-fragment-coord-conventions regression"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94549">94549</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[swrast] piglit glsl-arb-fragment-coord-conventions regression
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Keywords</th>
<td>bisected, regression
</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>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vlee@freedesktop.org
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>imirkin@alum.mit.edu, lemody@gmail.com, plamena.manolova@intel.com
</td>
</tr></table>
<p>
<div>
<pre>mesa: 4de25fa7b050a296b2f1a4504e568dfce5d0a295 (master 11.3.0-devel)
$ ./bin/glsl-arb-fragment-coord-conventions -auto
Regular gl_FragCoord
Failed to link: error: count of uniform locations >
MAX_UNIFORM_LOCATIONS(4294967295 > 98304)
Probe color at (0,0)
Expected: 0.000000 0.000000 0.000000
Observed: 1.000000 1.000000 1.000000
Probe color at (99,99)
Expected: 1.000000 1.000000 0.000000
Observed: 1.000000 1.000000 1.000000
Pixel center half integer
Failed to link: error: count of uniform locations >
MAX_UNIFORM_LOCATIONS(4294967295 > 98304)
Probe color at (0,0)
Expected: 0.750000 0.750000 0.500000
Observed: 1.000000 1.000000 1.000000
Probe color at (99,99)
Expected: 0.750000 0.750000 1.000000
Observed: 1.000000 1.000000 1.000000
Pixel center integer
Failed to link: error: count of uniform locations >
MAX_UNIFORM_LOCATIONS(4294967295 > 98304)
Probe color at (0,0)
Expected: 0.250000 0.250000 0.000000
Observed: 1.000000 1.000000 1.000000
Probe color at (99,99)
Expected: 0.250000 0.250000 1.000000
Observed: 1.000000 1.000000 1.000000
Pixel origin upper left
Failed to link: error: count of uniform locations >
MAX_UNIFORM_LOCATIONS(4294967295 > 98304)
Probe color at (0,60)
Expected: 0.000000 1.000000 0.000000
Observed: 1.000000 1.000000 1.000000
Probe color at (99,159)
Expected: 1.000000 0.000000 0.000000
Observed: 1.000000 1.000000 1.000000
Pixel origin upper left and pixel center integer
Failed to link: error: count of uniform locations >
MAX_UNIFORM_LOCATIONS(4294967295 > 98304)
Probe color at (0,60)
Expected: 0.125000 0.372500 0.000000
Observed: 1.000000 1.000000 1.000000
Probe color at (99,159)
Expected: 0.372500 0.125000 0.000000
Observed: 1.000000 1.000000 1.000000
PIGLIT: {"result": "fail" }
65dfb3048e8291675ca33581aeff8921f7ea509d is the first bad commit
commit 65dfb3048e8291675ca33581aeff8921f7ea509d
Author: Plamena Manolova <<a href="mailto:plamena.manolova@intel.com">plamena.manolova@intel.com</a>>
Date: Thu Feb 11 15:00:02 2016 +0200
compiler/glsl: Fix uniform location counting.
This patch moves the calculation of current uniforms to
link_uniforms, which makes use of UniformRemapTable which
stores all the reserved uniform locations.
Location assignment for implicit uniforms now tries to use
any gaps left in the table after the location assignment
for explicit uniforms. This gives us more space to store more
uniforms.
Patch is based on earlier patch with following changes/additions:
1: Move the counting of explicit locations to
check_explicit_uniform_locations and then pass
the number to link_assign_uniform_locations.
2: Count the number of empty slots in UniformRemapTable
and store them in a list_head.
3: Try to find an empty slot for implicit locations from
the list, if that fails resize UniformRemapTable.
Fixes following CTS tests:
ES31-CTS.explicit_uniform_location.uniform-loc-mix-with-implicit-max
ES31-CTS.explicit_uniform_location.uniform-loc-mix-with-implicit-max-array
Signed-off-by: Tapani Pälli <<a href="mailto:tapani.palli@intel.com">tapani.palli@intel.com</a>>
Signed-off-by: Plamena Manolova <<a href="mailto:plamena.manolova@intel.com">plamena.manolova@intel.com</a>>
Reviewed-by: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>>
Bugzilla: <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [HSW,BDW;SKL][GLES 3.1 CTS]ES31-CTS.explicit_uniform_location.uniform-loc-mix-with-implicit-max-* fail"
href="show_bug.cgi?id=93696">https://bugs.freedesktop.org/show_bug.cgi?id=93696</a>
:040000 040000 5848c556c369c2c798c1c1e036c70c740b56a97a
25915fac71a54954aafd0139a55045ba394969e6 M src
bisect run success</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>