Bug 80207

Summary: [i965 10.2]Piglit spec_EXT_framebuffer_object_fbo-generatemipmap-swizzle
Product: Mesa Reporter: lu hua <huax.lu>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: VERIFIED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: nroberts
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description lu hua 2014-06-19 02:18:23 UTC
System Environment:
--------------------------
Platform:  Ironlake
Libdrm:		(master)libdrm-2.4.54-9-g8fc62ca8ac010659023bb63c4759eb683de4f9af
Mesa:		(10.2)8c319b3f9818e711654cf440e6f6899a99c077ad
Xserver:	(server-1.15-branch)xorg-server-1.15.1-5-g268eb961c9c58fc7cc26e514661b5f8304c1c08f
Xf86_video_intel:(master)2.99.912-77-gd49f53cc00258e3b1e1a898c02e219b336716002
Libva:		(master)ce3315accf067115fbe22a13bf8689bab01da778
Libva_intel_driver:(master)745340dd013399f64507de73401ab3adb712dad5
Kernel:	(drm-intel-fixes)223a6f2b975ab35d93270ea1d4fb6e0ac6b27fe6

Bug detailed description:
-----------------------------
New case spec_EXT_framebuffer_object_fbo-generatemipmap-swizzle fails on i965 platforms with Mesa 10.2 branch. It works well on master branch.

output:
Probe color at (258,1)
  Expected: 0.000000 1.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
Probe color at (387,1)
  Expected: 0.000000 1.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
Probe color at (452,1)
  Expected: 0.000000 1.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
Probe color at (485,1)
  Expected: 0.000000 1.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
Probe color at (502,1)
  Expected: 0.000000 1.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
Probe color at (511,1)
  Expected: 0.000000 1.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
Probe color at (516,1)
  Expected: 0.000000 1.000000 0.000000
  Observed: 0.000000 0.000000 0.000000
PIGLIT: {'result': 'fail' }


Reproduce steps:
----------------------------
1. xinit
2. bin/fbo-generatemipmap-swizzle -fbo -auto
Comment 1 Neil Roberts 2014-08-06 13:49:04 UTC
That test case was created to test the following patch:

http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6f118484c3d45e4ba18c36e5cc

We should probably backport that to the 10.2 branch.
Comment 2 lu hua 2014-08-13 06:59:45 UTC
(In reply to comment #1)
> That test case was created to test the following patch:
> 
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6f118484c3d45e4ba18c36e5cc
> 
> We should probably backport that to the 10.2 branch.

Fixed by this patch.
Comment 3 lu hua 2014-08-25 05:46:10 UTC
It still fails on 10.2(10.3) branch(commit d82ca4e2b2bd5de9317).
Comment 4 lu hua 2014-08-27 08:13:12 UTC
Verified.Fixed on 10.3 branch.

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.