<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [llvmpipe][softpipe] piglit arb_gpu_shader_fp64-double-gettransformfeedbackvarying regression"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93878">93878</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[llvmpipe][softpipe] piglit arb_gpu_shader_fp64-double-gettransformfeedbackvarying regression
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>bisected, regression
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vlee@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lemody@gmail.com, siglesias@igalia.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>mesa: 98cebc913cd7ad07ce9699b5f63d72fe3969c851 (master 11.2.0-devel)

$ ./bin/arb_gpu_shader_fp64-double-gettransformfeedbackvarying -auto
arb_gpu_shader_fp64-double-gettransformfeedbackvarying:
src/compiler/glsl/lower_packed_varyings.cpp:314: void
{anonymous}::lower_packed_varyings_visitor::bitwise_assign_pack(ir_rvalue*,
ir_rvalue*): Assertion `lhs->type->base_type == GLSL_TYPE_INT' failed.
Aborted (core dumped)

(gdb) bt
#0  0x00007febd3691267 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:55
#1  0x00007febd3692eca in __GI_abort () at abort.c:89
#2  0x00007febd368a03d in __assert_fail_base (fmt=0x7febd37ec028 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", 
    assertion=assertion@entry=0x7febd29f3148 "lhs->type->base_type ==
GLSL_TYPE_INT", 
    file=file@entry=0x7febd29f3098
"src/compiler/glsl/lower_packed_varyings.cpp", line=line@entry=314, 
    function=function@entry=0x7febd29f3400 <(anonymous
namespace)::lower_packed_varyings_visitor::bitwise_assign_pack(ir_rvalue*,
ir_rvalue*)::__PRETTY_FUNCTION__> "void
{anonymous}::lower_packed_varyings_visitor::bitwise_assign_pack(ir_rvalue*,
ir_rvalue*)") at assert.c:92
#3  0x00007febd368a0f2 in __GI___assert_fail (assertion=0x7febd29f3148
"lhs->type->base_type == GLSL_TYPE_INT", 
    file=0x7febd29f3098 "src/compiler/glsl/lower_packed_varyings.cpp",
line=314, 
    function=0x7febd29f3400 <(anonymous
namespace)::lower_packed_varyings_visitor::bitwise_assign_pack(ir_rvalue*,
ir_rvalue*)::__PRETTY_FUNCTION__> "void
{anonymous}::lower_packed_varyings_visitor::bitwise_assign_pack(ir_rvalue*,
ir_rvalue*)") at assert.c:101
#4  0x00007febd1d976c0 in (anonymous
namespace)::lower_packed_varyings_visitor::bitwise_assign_pack
(this=0x7fff861200a0, lhs=0x2191e00, rhs=0x219e890)
    at src/compiler/glsl/lower_packed_varyings.cpp:314
#5  0x00007febd1d9874d in (anonymous
namespace)::lower_packed_varyings_visitor::lower_rvalue (this=0x7fff861200a0,
rvalue=0x219e890, fine_location=104, 
    unpacked_var=0x2191080, name=0x2192fe0 "tfout", gs_input_toplevel=false,
vertex_index=0) at src/compiler/glsl/lower_packed_varyings.cpp:523
#6  0x00007febd1d9760c in (anonymous
namespace)::lower_packed_varyings_visitor::run (this=0x7fff861200a0,
shader=0x219ea50)
    at src/compiler/glsl/lower_packed_varyings.cpp:293
#7  0x00007febd1d98ef4 in lower_packed_varyings (mem_ctx=0x21607b0,
locations_used=1, mode=ir_var_shader_out, gs_input_vertices=0,
shader=0x219ea50)
    at src/compiler/glsl/lower_packed_varyings.cpp:724
#8  0x00007febd1d875e5 in assign_varying_locations (ctx=0x7febd4146010,
mem_ctx=0x21607b0, prog=0x2199be0, producer=0x219ea50, consumer=0x0, 
    num_tfeedback_decls=1, tfeedback_decls=0x2191c20) at
src/compiler/glsl/link_varyings.cpp:1795
#9  0x00007febd1d799a1 in link_shaders (ctx=0x7febd4146010, prog=0x2199be0) at
src/compiler/glsl/linker.cpp:4496
#10 0x00007febd1babe5a in _mesa_glsl_link_shader (ctx=0x7febd4146010,
prog=0x2199be0) at src/mesa/program/ir_to_mesa.cpp:2958
#11 0x00007febd1afea10 in link_program (ctx=0x7febd4146010, program=2) at
src/mesa/main/shaderapi.c:1048
#12 0x00007febd1affbf2 in _mesa_LinkProgram (programObj=2) at
src/mesa/main/shaderapi.c:1520
#13 0x00007febd3cf6fac in stub_glLinkProgram (program=2) at
piglit/tests/util/piglit-dispatch-gen.c:32599
#14 0x0000000000401133 in run_test (test=0x6020e0 <tests>)
    at
piglit/tests/spec/arb_gpu_shader_fp64/execution/double-gettransformfeedbackvarying.c:93
#15 0x00000000004012a3 in piglit_init (argc=1, argv=0x7fff86120d88)
    at
piglit/tests/spec/arb_gpu_shader_fp64/execution/double-gettransformfeedbackvarying.c:123
#16 0x00007febd3d6755b in run_test (gl_fw=0x2053380, argc=1,
argv=0x7fff86120d88)
    at piglit/tests/util/piglit-framework-gl/piglit_winsys_framework.c:73
#17 0x00007febd3d4bcca in piglit_gl_test_run (argc=1, argv=0x7fff86120d88,
config=0x7fff86120c40)
    at piglit/tests/util/piglit-framework-gl.c:199
#18 0x000000000040102f in main (argc=1, argv=0x7fff86120d88)
    at
piglit/tests/spec/arb_gpu_shader_fp64/execution/double-gettransformfeedbackvarying.c:38
(gdb) frame 4
#4  0x00007febd1d976c0 in (anonymous
namespace)::lower_packed_varyings_visitor::bitwise_assign_pack
(this=0x7fff861200a0, lhs=0x2191e00, rhs=0x219e890)
    at src/compiler/glsl/lower_packed_varyings.cpp:314
314          assert(lhs->type->base_type == GLSL_TYPE_INT);
(gdb) print lhs->type->base_type
$1 = GLSL_TYPE_FLOAT

781d2787bc1cf975757a95d0d9324f734fa61c09 is the first bad commit
commit 781d2787bc1cf975757a95d0d9324f734fa61c09
Author: Samuel Iglesias Gonsálvez <<a href="mailto:siglesias@igalia.com">siglesias@igalia.com</a>>
Date:   Tue Jan 12 15:36:56 2016 +0100

    glsl: restrict consumer stage condition to modify interpolation type

    Only modify interpolation type for integer-based varyings or when the
    consumer is known and different than fragment shader.

    If we are linking separate shader programs and the consumer is unknown,
    the consumer could be added later and be a fragment shader. If we
    modify the interpolation type in this case, we could read wrong
    values in the fragment shader inputs, as shown in <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [HSW,BDW,SKL][GLES 3.1 CTS] ES31-CTS.vertex_attrib_binding.advanced-bindingUpdate fail"
   href="show_bug.cgi?id=93320">bug 93320</a>.

    Fixes the following CTS test:
       ES31-CTS.vertex_attrib_binding.advanced-bindingUpdate

    Fixes the following dEQP tests:

    dEQP-GLES31.functional.separate_shader.random.102
    dEQP-GLES31.functional.separate_shader.random.111
    dEQP-GLES31.functional.separate_shader.random.115
    dEQP-GLES31.functional.separate_shader.random.17
    dEQP-GLES31.functional.separate_shader.random.22
    dEQP-GLES31.functional.separate_shader.random.23
    dEQP-GLES31.functional.separate_shader.random.3
    dEQP-GLES31.functional.separate_shader.random.32
    dEQP-GLES31.functional.separate_shader.random.39
    dEQP-GLES31.functional.separate_shader.random.64
    dEQP-GLES31.functional.separate_shader.random.73
    dEQP-GLES31.functional.separate_shader.random.91

    Bugzilla: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [HSW,BDW,SKL][GLES 3.1 CTS] ES31-CTS.vertex_attrib_binding.advanced-bindingUpdate fail"
   href="show_bug.cgi?id=93320">https://bugs.freedesktop.org/show_bug.cgi?id=93320</a>
    Signed-off-by: Samuel Iglesias Gonsálvez <<a href="mailto:siglesias@igalia.com">siglesias@igalia.com</a>>
    Reviewed-by: Tapani Pälli <<a href="mailto:tapani.palli@intel.com">tapani.palli@intel.com</a>>

:040000 040000 8563d9d06dfdf2cc552cc153a3063ce1b2a89630
9e5a9f21b23a7d215ddf322815b8327e10288033 M    src
bisect run success</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>