[Bug 59150] [HSW Bisected]Piglit spec/ARB_vertex_type_2_10_10_10_rev/draw-vertices-2101010 fails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jan 10 18:32:46 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=59150
Kenneth Graunke <kenneth at whitecape.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Kenneth Graunke <kenneth at whitecape.org> ---
Fixed by piglit commit:
commit 35daaa1695ea01eb85bc02f9be9b6ebd1a7113a1
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Dec 25 21:10:16 2017 -0800
draw-vertices-2101010: Accept either SNORM conversion formula.
OpenGL defines two equations for converting from signed-normalized
to floating point data. These are:
f = (2c + 1)/(2^b - 1) (equation 2.2)
f = max{c/2^(b-1) - 1), -1.0} (equation 2.3)
ARB_vertex_type_2_10_10_10_rev specifies equation 2.2 is to be used.
However, OpenGL 4.2 switched to use equation 2.3 in all scenarios.
This matched an earlier OpenGL ES 3.0 decision to only have one formula,
as well as a DirectX decision to change to equation 2.3. Some hardware
also only supports equation 2.3. So, basically no one can rely on
equation 2.2 happening, and some people do rely on 2.3.
This patch continues to require equation 2.3 for GL 4.2+, but relaxes
the test to allow either behavior for earlier GL versions.
See the following discussion for more details:
https://lists.freedesktop.org/archives/mesa-dev/2013-August/042680.html
This makes this test pass on i965 with Haswell and later.
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180110/9c4ba686/attachment.html>
More information about the intel-3d-bugs
mailing list