[Bug 72379] New: [i965 Bisected]Ogles2conform GL2Tests/three_uniforms/three_uniforms_vec4_ivec4_bool_use_ivec4_to_render_frag.test fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 5 18:36:15 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=72379

          Priority: high
            Bug ID: 72379
                CC: mattst88 at gmail.com
          Assignee: idr at freedesktop.org
           Summary: [i965 Bisected]Ogles2conform
                    GL2Tests/three_uniforms/three_uniforms_vec4_ivec4_bool
                    _use_ivec4_to_render_frag.test 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

ystem Environment:
--------------------------
Platform: Ironlake/Sandybridge/Ivybridge/Haswell/Baytrail
Libdrm:    (master)libdrm-2.4.50
Mesa:    (master)7435d9f77c84a57ad9bbed2e6558c0f06cac5cd6
Xf86_video_intel:(master)2.99.906-79-gbd22abee8f33b20ff6bc7297b0a9ae8708d18727
Cairo:    (master)8e11a42e3e9b679dce97ac45cd8b47322536a253
Libva:    (staging)1264cd81fd8728f18bd2feedf6e9c1a232663890
Libva_intel_driver:(staging)2a61b0d17072bdc5b58608e3dfa2c4f9f80dcec4
Kernel:    (drm-intel-nightly) 164a4cb4c1431a0689f85507868356fae24da638

Bug detailed description:
-------------------------
It fails on Ironlake/Sandybridge/Ivybridge/Haswell/Baytrail with mesa master
branch. It works well on 10.0 branch.
GL2Tests_three_uniforms_three_uniforms_vec4_ivec4_bool_use_vec4_to_render_frag.test
also fails with same bisect commit.

Bisect shows: 13de9f03f177d3ae0921fded1a102b66130f8b40 is the first bad commit.
commit 13de9f03f177d3ae0921fded1a102b66130f8b40
Author:     Matt Turner <mattst88 at gmail.com>
AuthorDate: Tue Oct 22 17:51:28 2013 -0700
Commit:     Matt Turner <mattst88 at gmail.com>
CommitDate: Wed Dec 4 20:05:44 2013 -0800

    i965/fs: New peephole optimization to generate SEL.

    fs_visitor::try_replace_with_sel optimizes only if statements whose
    "then" and "else" bodies contain a single MOV instruction. It also
    could not handle constant arguments, since they cause an extra MOV
    immediate to be generated (since we haven't run constant propagation,
    there are more than the single MOV).

    This peephole fixes both of these and operates as a normal optimization
    pass.

    fs_visitor::try_replace_with_sel is still arguably necessary, since it
    runs before pull constant loads are lowered.

    total instructions in shared programs: 1559129 -> 1545833 (-0.85%)
    instructions in affected programs:     167120 -> 153824 (-7.96%)
    GAINED:                                13
    LOST:                                  6

    Reviewed-by: Paul Berry <stereotype441 at gmail.com>

Reproduce steps:
-------------------------
1. xinit
2. ./GTF -width=64 -height=64
-run=GL2Tests/three_uniforms/three_uniforms_vec4_ivec4_bool_use_ivec4_to_render_frag.test

-- 
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/20131206/aec2db42/attachment.html>


More information about the intel-3d-bugs mailing list