[Bug 89722] New: [ILK Bisected]Ogles2conform/ES2-CTS.gtf.GL.equal.equal_vec2_frag fails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Mar 22 19:32:51 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89722
Bug ID: 89722
Summary: [ILK
Bisected]Ogles2conform/ES2-CTS.gtf.GL.equal.equal_vec2
_frag fails
Product: Mesa
Version: 10.5
Hardware: All
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/i965
Assignee: idr at freedesktop.org
Reporter: huax.lu at intel.com
QA Contact: intel-3d-bugs at lists.freedesktop.org
System Environment:
--------------------------
Platform: ILK
Libdrm:
(master)libdrm-2.4.60-17-g8dff7a04780a0f028aa7c0218806a5ee59b1a40d
Mesa: (master)7c7954b09dd28502aedb3eed312672620b9e6b7a
Xserver:
(master)xorg-server-1.17.0-23-g0a78b599b34cc8b5fe6fe82f90e90234e8ab7a56
Xf86_video_intel:(master)2.99.917-203-g44452825fb862c81957f53e04f739e2d96864f91
Libva: (master)dbeeed0ec1b5eb192380fcdacfea86e0de1584af
Libva_intel_driver:(master)8ac2289aca552998d290bbc8bc2b44fbb510b1f9
Kernel: (drm-intel-nightly)294a23a2fbb36c57ea89b5cfde94017c6a1124a2
Bug detailed description:
-------------------------
It fails on mesa master branch,works well on 10.5 branch.
Following cases also fail:
ES2-CTS.gtf.GL.equal.equal_vec3_frag
ES2-CTS.gtf.GL.notEqual.notEqual_ivec2_frag
ES2-CTS.gtf.GL.notEqual.notEqual_ivec3_frag
ES2-CTS.gtf.GL.notEqual.notEqual_vec2_frag
ES2-CTS.gtf.GL.notEqual.notEqual_vec3_frag
Bisect shows:b616164c95cb495ce43f6b61dc805ed911a85e89 is the first bad commit
commit b616164c95cb495ce43f6b61dc805ed911a85e89
Author: Ian Romanick <ian.d.romanick at intel.com>
AuthorDate: Fri Jan 23 17:31:12 2015 -0800
Commit: Ian Romanick <ian.d.romanick at intel.com>
CommitDate: Thu Mar 19 10:21:08 2015 -0700
i965/fs: Emit better b2f of an expression on GEN4 and GEN5
On platforms that do not natively generate 0u and ~0u for Boolean
results, b2f expressions that look like
f = b2f(expr cmp 0)
will generate better code by pretending the expression is
f = ir_triop_sel(0.0, 1.0, expr cmp 0)
This is because the last instruction of "expr" can generate the
condition code for the "cmp 0". This avoids having to do the "-(b & 1)"
trick to generate 0u or ~0u for the Boolean result. This means code like
mov(16) g16<1>F 1F
mul.ge.f0(16) null g6<8,8,1>F g14<8,8,1>F
(+f0) sel(16) m6<1>F g16<8,8,1>F 0F
will be generated instead of
mul(16) g2<1>F g12<8,8,1>F g4<8,8,1>F
cmp.ge.f0(16) g2<1>D g4<8,8,1>F 0F
and(16) g4<1>D g2<8,8,1>D 1D
and(16) m6<1>D -g4<8,8,1>D 0x3f800000UD
v2: When the comparison is either == 0.0 or != 0.0 use the knowledge
that the true (or false) case already results in zero would allow better
code generation by possibly avoiding a load-immediate instruction.
v3: Apply the optimization even when neither comparitor is zero.
Shader-db results:
GM45 (0x2A42):
total instructions in shared programs: 3551002 -> 3550829 (-0.00%)
instructions in affected programs: 33269 -> 33096 (-0.52%)
helped: 121
Iron Lake (0x0046):
total instructions in shared programs: 4993327 -> 4993146 (-0.00%)
instructions in affected programs: 34199 -> 34018 (-0.53%)
helped: 129
No change on other platforms.
output:
dEQP Core GL-CTS-2.0 (0x0052484b) starting..
target implementation = 'X11'
Test case 'ES2-CTS.gtf.GL.equal.equal_vec2_frag'..
#+ GTF/GL/equal/equal_vec2_frag.shader1.ppm and
GTF/GL/equal/equal_vec2_frag.shader2.ppm are different
Fail (Fail)
DONE!
Test run totals:
Passed: 0/1 (0.00%)
Failed: 1/1 (100.00%)
Not supported: 0/1 (0.00%)
Warnings: 0/1 (0.00%)
Reproduce steps:
----------------
1. start X
2. ./glcts --deqp-case=ES2-CTS.gtf.GL.equal.equal_vec2_frag
--
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/20150323/3e11c549/attachment.html>
More information about the intel-3d-bugs
mailing list