<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 getteximage-formats regression"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97569">97569</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[swrast] piglit getteximage-formats 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>kenneth@whitecape.org, topi.pohjolainen@intel.com
</td>
</tr></table>
<p>
<div>
<pre>mesa: 72b56e8b1ae34b4c10f822b704521ccd463270b3 (master 12.1.0-devel)
$ ./bin/getteximage-formats -auto
getteximage-formats failure: format: GL_SRGB_EXT, level 1 at pixel(369, 103)
Expected (0.992157, 0.992157, 0.501961, 1.000000)
Found (0.972549, 0.972549, 0.215686, 1.000000)
Tolerance (0.031250, 0.031250, 0.031250, 0.250000)
getteximage-formats failure: format: GL_SRGB_EXT, level 2 at pixel(421, 71)
Expected (0.992157, 0.992157, 0.501961, 1.000000)
Found (0.956863, 0.956863, 0.215686, 1.000000)
Tolerance (0.031250, 0.031250, 0.031250, 0.250000)
getteximage-formats failure: format: GL_SRGB8_EXT, level 1 at pixel(369, 103)
Expected (0.992157, 0.992157, 0.501961, 1.000000)
Found (0.972549, 0.972549, 0.215686, 1.000000)
Tolerance (0.031250, 0.031250, 0.031250, 0.250000)
getteximage-formats failure: format: GL_SRGB8_EXT, level 2 at pixel(421, 71)
Expected (0.992157, 0.992157, 0.501961, 1.000000)
Found (0.956863, 0.956863, 0.215686, 1.000000)
Tolerance (0.031250, 0.031250, 0.031250, 0.250000)
getteximage-formats failure: format: GL_SRGB_ALPHA_EXT, level 1 at pixel(369,
103)
Expected (0.690273, 0.690273, 0.449981, 0.240292)
Found (0.678431, 0.678431, 0.305882, 0.239216)
Tolerance (0.031250, 0.031250, 0.031250, 0.031250)
getteximage-formats failure: format: GL_SRGB_ALPHA_EXT, level 2 at pixel(421,
71)
Expected (0.690273, 0.690273, 0.449981, 0.240292)
Found (0.670588, 0.670588, 0.305882, 0.239216)
Tolerance (0.031250, 0.031250, 0.031250, 0.031250)
getteximage-formats failure: format: GL_SRGB8_ALPHA8_EXT, level 1 at pixel(369,
103)
Expected (0.690273, 0.690273, 0.449981, 0.240292)
Found (0.678431, 0.678431, 0.305882, 0.239216)
Tolerance (0.031250, 0.031250, 0.031250, 0.031250)
getteximage-formats failure: format: GL_SRGB8_ALPHA8_EXT, level 2 at pixel(421,
71)
Expected (0.690273, 0.690273, 0.449981, 0.240292)
Found (0.670588, 0.670588, 0.305882, 0.239216)
Tolerance (0.031250, 0.031250, 0.031250, 0.031250)
PIGLIT: {"result": "fail" }
6cf8708ce55fb38c400c8f005e55170f54241187 is the first bad commit
commit 6cf8708ce55fb38c400c8f005e55170f54241187
Author: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
Date: Fri Aug 12 14:48:54 2016 -0700
meta: Always do GenerateMipmaps in linear colorspace.
When generating mipmaps for sRGB textures, force both decode and encode,
so the filtering is done in linear colorspace, regardless of settings.
Fixes a WebGL conformance test in Chrome:
<a href="https://www.khronos.org/registry/webgl/sdk/tests/conformance2/textures/misc/tex-srgb-mipmap.html?webglVersion=2">https://www.khronos.org/registry/webgl/sdk/tests/conformance2/textures/misc/tex-srgb-mipmap.html?webglVersion=2</a>
Bugzilla: <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - GenerateMipmap creates wrong mipmap for sRGB texture"
href="show_bug.cgi?id=97322">https://bugs.freedesktop.org/show_bug.cgi?id=97322</a>
Signed-off-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
Reviewed-by: Topi Pohjolainen <<a href="mailto:topi.pohjolainen@intel.com">topi.pohjolainen@intel.com</a>>
:040000 040000 733e4c7b073125598497a608ebd397f141256506
55d86d5e6b408e71bb86f249941fd03d224934c7 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>