Bug 77703 - [ILK Bisected]Piglit glean_texCombine4 fails
Summary: [ILK Bisected]Piglit glean_texCombine4 fails
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high major
Assignee: Juha-Pekka Heikkilä
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 79039
  Show dependency treegraph
 
Reported: 2014-04-21 01:49 UTC by lu hua
Modified: 2014-05-27 01:08 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
output (8.93 KB, text/plain)
2014-04-21 01:49 UTC, lu hua
Details

Description lu hua 2014-04-21 01:49:40 UTC
Created attachment 97654 [details]
output

System Environment:
--------------------------
Platform: Ironlake
Libdrm:		(master)libdrm-2.4.53-6-gd4083dc762a2974c35ecd16be995272bbb6d57b4
Mesa:		(master)ba6dcb3c2b8f516b120f591144bf6c3751f0e3f9
Xserver:	(master)xorg-server-1.15.99.902-20-gc7011249d2abe6cc7af82ee4b79d8f6873444707
Xf86_video_intel:(master)2.99.911-89-g08e71e1820d6fcb6829b4ebd360beadc1f250295
Libva:		(staging)5e10a246287fa2dd3fae2bf756a5b33087cc097c
Libva_intel_driver:(staging)782b8afdda14f000874d8acf51c3e8c490d55773
Kernel:	(drm-intel-nightly)1e771b84e47085ef9b6efea1321e7cb5a8b2c06

Bug detailed description:
-----------------------------
It fails on Ironlake platforms with mesa master branch, and works well on 10.1 branch.
Bisect shows: 2dfbbeca50b95ccdd714d9baa4411c779f6a20d9 is the first bad commit.
commit 2dfbbeca50b95ccdd714d9baa4411c779f6a20d9
Author:     Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
AuthorDate: Fri Mar 28 15:28:31 2014 +0200
Commit:     Matt Turner <mattst88@gmail.com>
CommitDate: Wed Apr 16 22:46:45 2014 -0700

    i965/vec4: Change vec4_visitor::emit_lrp to use MAC for gen<6

    This allows us to emit ADD/MUL/MAC instead of MUL/ADD/MUL/ADD,
    saving one instruction and two temporary registers.

    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-by: Matt Turner <mattst88@gmail.com>
    Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>

Reproduce steps:
---------------------------- 
1. xinit
2. ./bin/glean -o -v -v -v -t +texCombine4
Comment 1 lu hua 2014-05-09 01:52:57 UTC
It also fails on Mesa 10.2 branch.
Comment 2 Juha-Pekka Heikkilä 2014-05-09 13:25:05 UTC
I sent patch to mesa-dev which on my test did fix this issue:
http://lists.freedesktop.org/archives/mesa-dev/2014-May/059194.html
Comment 3 Matt Turner 2014-05-22 16:53:10 UTC
(In reply to comment #2)
> I sent patch to mesa-dev which on my test did fix this issue:
> http://lists.freedesktop.org/archives/mesa-dev/2014-May/059194.html

That's for the fs-code. This bisect was for vec4.


Anyway, I've sent a revert for this patch.
Comment 4 Matt Turner 2014-05-25 22:23:54 UTC
Reverted.
Comment 5 lu hua 2014-05-27 01:08:35 UTC
Verified.Fixed.


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.