[Bug 70601] New: [SNB Bisected]Piglit spec/ARB_texture_float/multisample-formats 2 GL_ARB_texture_float fails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 18 01:19:41 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=70601
Priority: high
Bug ID: 70601
CC: idr at freedesktop.org
Assignee: kenneth at whitecape.org
Summary: [SNB Bisected]Piglit
spec/ARB_texture_float/multisample-formats 2
GL_ARB_texture_float fails
QA Contact: intel-3d-bugs at lists.freedesktop.org
Severity: major
Classification: Unclassified
OS: Linux (All)
Reporter: huax.lu at intel.com
Hardware: All
Status: NEW
Version: unspecified
Component: Drivers/DRI/i965
Product: Mesa
System Environment:
--------------------------
Platform: Sandybridge
Libdrm: (master)2.4.47
Mesa: (master)4ef1c8fb4c0ae8d0fa2a0e4311ef63255d8485f0
Xserver:
(master)xorg-server-1.14.99.2-14-g7cf1b595c8c8f9776a39559d2878cf90af3f2859
Xf86_video_intel:(master)2.99.904-32-gec0866e86d365ae3fd9790b1b263d49fc4981220
Cairo: (master)6f05ecf488314e4b0c6c6b0110963c449bebe7d7
Libva: (staging)1a011ce5bb0b80506797a25a988854f3f81ce909
Libva_intel_driver:(staging)1cee858036a87837deddc87586701ed869f96261
Kernel: (drm-intel-nightly) 164a4cb4c1431a0689f85507868356fae24da638
Bug detailed description:
-----------------------------
It fails on sandybridge with mesa master branch, and works well on 9.2 branch.
spec_ARB_texture_float_multisample-formats_4_GL_ARB_texture_float also fail
with same bisect commit.
Bisect shows:72aade48fe7d4c4099ef713887c06b3aaacf1acd is the first bad commit.
commit 72aade48fe7d4c4099ef713887c06b3aaacf1acd
Author: Kenneth Graunke <kenneth at whitecape.org>
AuthorDate: Mon Oct 7 12:44:01 2013 -0700
Commit: Kenneth Graunke <kenneth at whitecape.org>
CommitDate: Wed Oct 9 16:36:50 2013 -0700
i965/blorp: Rework sRGB override behavior.
The previous code for sRGB overrides assumes that the source and
destination formats are equal, other than the color space. This won't
be feasible when we add support for format conversions.
Here are a few cases, and how the old code handled them:
1. RGB8 -> SRGB8, MSAA ==> SRGB8 -> SRGB8
2. RGB8 -> SRGB8, single ==> RGB8 -> RGB8
3. SRGB8 -> RGB8, MSAA ==> RGB8 -> RGB8
4. SRGB8 -> RGB8, single ==> SRGB8 -> SRGB8
Apparently, preserving the behavior of #1 is important. When doing a
multisample to single-sample resolve, blending the samples together in
an sRGB correct fashion results in a noticably higher quality image.
It also is necessary to pass Piglit's EXT_framebuffer_multisample
accuracy color tests.
Paul, Eric, Anuj, and I talked about this, and aren't sure that it
matters in the other cases.
This patch preserves the behavior of #1, but otherwise reverts to
doing everything in linear space, changing the behavior of case #4.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
output:
Using test set: GL_ARB_texture_float
Testing GL_RGB16F_ARB
Unsupported framebuffer combination
Testing GL_RGBA16F_ARB
Testing GL_ALPHA16F_ARB
Unsupported framebuffer combination
Testing GL_LUMINANCE16F_ARB
Testing GL_LUMINANCE_ALPHA16F_ARB
Unsupported framebuffer combination
Testing GL_INTENSITY16F_ARB
Testing GL_RGB32F_ARB
Unsupported framebuffer combination
Testing GL_RGBA32F_ARB
Unsupported framebuffer combination
Testing GL_ALPHA32F_ARB
Unsupported framebuffer combination
Testing GL_LUMINANCE32F_ARB
Probe at (181,17)
Expected: 0.015686
Observed: 0.001963
Testing GL_LUMINANCE_ALPHA32F_ARB
Unsupported framebuffer combination
Testing GL_INTENSITY32F_ARB
Probe at (181,17)
Expected: 0.015686
Observed: 0.001963
PIGLIT: {'result': 'fail' }
Reproduce steps:
----------------------------
1. xinit&
2. bin/ext_framebuffer_multisample-formats -auto 2 GL_ARB_texture_float
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20131018/ca18d7bc/attachment-0001.html>
More information about the intel-3d-bugs
mailing list