Bug 51737 - [Bisected IVB SNB regression]Piglit spec/EXT_texture_snorm/fbo-generatemipmap-formats fails
Summary: [Bisected IVB SNB regression]Piglit spec/EXT_texture_snorm/fbo-generatemipmap...
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: All Linux (All)
: medium major
Assignee: Kenneth Graunke
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-04 18:47 UTC by lu hua
Modified: 2012-10-10 05:08 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
output (2.14 KB, text/plain)
2012-07-04 18:47 UTC, lu hua
Details

Description lu hua 2012-07-04 18:47:23 UTC
Created attachment 63840 [details]
output

System Environment:
--------------------------
Arch:             x86_64
Platform:         Ivybridge
Libdrm:		(master)libdrm-2.4.37-1-g8fad46b614a156e3a0e65cd0af4c132a5820d29e
Mesa:		(master)95ce454c8c4397a67aa038d91667882e413314d3
Xserver:(master)xorg-server-1.12.0-233-gdae317e7265007b38012244722e3b3a06e904ed5
Xf86_video_intel:(master)2.19.0-382-g9e2ac8a413c05aafd1c69775c5b0fa5f1f37ac23
Libva:		(staging)f12f80371fb534e6bbf248586b3c17c298a31f4e
Libva_intel_driver:(staging)82fa52510a37ab645daaa3bb7091ff5096a20d0b
Kernel:	(drm-intel-next-queued) dab92e08895537c7260c811f8e93cbf749f0b727

Bug detailed description:
-------------------------------
It fails on ivybridge and  sandybridge with mesa master branch.It doesn't happen on mesa 8.0 branch.
The last known good commit:1906d2b46b21a8e7496409e0639d8463ad86dcfe
The last known bad commit:95ce454c8c4397a67aa038d91667882e413314d3

Reproduce steps:
----------------------------
1. start x
2. ./bin/fbo-generatemipmap-formats -auto GL_EXT_texture_snorm
Comment 1 lu hua 2012-07-04 20:43:20 UTC
Bisect shows:14311ef3f2031307fb660328db14eb535da9a4fa is the first bad commit.
commit 14311ef3f2031307fb660328db14eb535da9a4fa
Author:     Kenneth Graunke <kenneth@whitecape.org>
AuthorDate: Sat Jun 9 02:33:21 2012 -0700
Commit:     Kenneth Graunke <kenneth@whitecape.org>
CommitDate: Mon Jul 2 11:23:37 2012 -0700

    i965: Re-enable rendering to SNORM formats.

    Commit d73f6375f50b fixed the cause of the Piglit failure with
    ARB_color_buffer_float fragment clamp modes.  Now that it's fixed,
    there's no reason to leave snorm format rendering disabled.

    Reviewed-by: Eric Anholt <eric@anholt.net>
    Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Comment 2 Eric Anholt 2012-08-02 21:37:00 UTC
Demoting in priority:

- It's a deprecated format
- People using these deprecated formats will generally swizzle from just the channel with texture data, and the failure is in the other channels.
- It'll eventually get fixed anyway when we move away from fixed function for generatemipmaps.

It's more useful to let people render to the formats than to fix this minor bug.
Comment 3 Kenneth Graunke 2012-10-06 03:50:27 UTC
Now that we're using GLSL for GenerateMipmaps, this appears to be working.
Comment 4 lu hua 2012-10-10 05:08:18 UTC
Verified.Fixed on master branch commit 86de501f14f11f1e993c8703c0d69bdf1f6c7835.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.