<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - piglit fs-mix-float-float-bool regression"
href="https://bugs.freedesktop.org/show_bug.cgi?id=69202">69202</a>
</td>
</tr>
<tr>
<th>Keywords</th>
<td>regression
</td>
</tr>
<tr>
<th>CC</th>
<td>mattst88@gmail.com
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>piglit fs-mix-float-float-bool regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vlee@freedesktop.org
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>mesa: 169f9c030c16d1247a3a762972d8687d89a16750 (master)
$ ./bin/shader_runner
generated_tests/spec/glsl-1.30/execution/built-in-functions/fs-mix-float-float-bool.shader_test
-auto
src/mesa/state_tracker/st_glsl_to_tgsi.cpp:1985:visit: Assertion `!"Invalid ir
opcode in glsl_to_tgsi_visitor::visit()"' failed.
Trace/breakpoint trap (core dumped)
(gdb) bt
#0 0x00007f5d7a45b28e in _debug_assert_fail (expr=0x7f5d7af7bf28 "!\"Invalid
ir opcode in glsl_to_tgsi_visitor::visit()\"",
file=0x7f5d7af7b8b0 "src/mesa/state_tracker/st_glsl_to_tgsi.cpp",
line=1985, function=0x7f5d7af7d02f
<glsl_to_tgsi_visitor::visit(ir_expression*)::__FUNCTION__> "visit")
at src/gallium/auxiliary/util/u_debug.c:278
#1 0x00007f5d7a32ce96 in glsl_to_tgsi_visitor::visit (this=0x26c8950,
ir=0x26ca880) at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:1985
#2 0x00007f5d7a35d5ae in ir_expression::accept (this=0x26ca880, v=0x26c8950)
at src/glsl/ir.h:1323
#3 0x00007f5d7a3286ba in glsl_to_tgsi_visitor::visit (this=0x26c8950,
ir=0x26caf30) at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:1390
#4 0x00007f5d7a35d5ae in ir_expression::accept (this=0x26caf30, v=0x26c8950)
at src/glsl/ir.h:1323
#5 0x00007f5d7a3286ba in glsl_to_tgsi_visitor::visit (this=0x26c8950,
ir=0x26c9240) at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:1390
#6 0x00007f5d7a35d5ae in ir_expression::accept (this=0x26c9240, v=0x26c8950)
at src/glsl/ir.h:1323
#7 0x00007f5d7a32e07d in glsl_to_tgsi_visitor::visit (this=0x26c8950,
ir=0x26cafc0) at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:2338
#8 0x00007f5d7a35d562 in ir_assignment::accept (this=0x26cafc0, v=0x26c8950)
at src/glsl/ir.h:922
#9 0x00007f5d7a3279d4 in glsl_to_tgsi_visitor::visit (this=0x26c8950,
ir=0x26c1140) at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:1219
#10 0x00007f5d7a35d4b2 in ir_function::accept (this=0x26c1140, v=0x26c8950) at
src/glsl/ir.h:745
#11 0x00007f5d7a368e50 in visit_exec_list (list=0x26b7570, visitor=0x26c8950)
at src/glsl/ir.cpp:1746
#12 0x00007f5d7a338e8e in get_mesa_program (ctx=0x7f5d7da32010,
shader_program=0x24719a0, shader=0x26b73e0) at
src/mesa/state_tracker/st_glsl_to_tgsi.cpp:5061
#13 0x00007f5d7a33969c in st_link_shader (ctx=0x7f5d7da32010, prog=0x24719a0)
at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:5287
#14 0x00007f5d7a209e8c in _mesa_glsl_link_shader (ctx=0x7f5d7da32010,
prog=0x24719a0) at src/mesa/program/ir_to_mesa.cpp:3132
#15 0x00007f5d7a1c8926 in link_program (ctx=0x7f5d7da32010, program=3) at
src/mesa/main/shaderapi.c:833
#16 0x00007f5d7a1c9ab4 in _mesa_LinkProgram (programObj=3) at
src/mesa/main/shaderapi.c:1316
#17 0x00007f5d7d745b37 in stub_glLinkProgram (program=3) at
piglit/tests/util/generated_dispatch.c:17556
#18 0x00000000004054c6 in link_and_use_shaders () at
piglit/tests/shaders/shader_runner.c:757
#19 0x0000000000409093 in piglit_init (argc=2, argv=0x7fff610ad758) at
piglit/tests/shaders/shader_runner.c:1962
#20 0x00007f5d7d720242 in run_test (gl_fw=0x7f5d7da0d320 <glut_fw>, argc=2,
argv=0x7fff610ad758)
at piglit/tests/util/piglit-framework-gl/piglit_glut_framework.c:140
#21 0x00007f5d7d71e189 in piglit_gl_test_run (argc=2, argv=0x7fff610ad758,
config=0x7fff610ad640) at piglit/tests/util/piglit-framework-gl.c:141
#22 0x0000000000403fb3 in main (argc=2, argv=0x7fff610ad758) at
piglit/tests/shaders/shader_runner.c:57
(gdb) frame 1
#1 0x00007f5d7a32ce96 in glsl_to_tgsi_visitor::visit (this=0x26c8950,
ir=0x26ca880) at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:1985
1985 assert(!"Invalid ir opcode in glsl_to_tgsi_visitor::visit()");
(gdb) l
1980 case ir_binop_vector_extract:
1981 case ir_triop_vector_insert:
1982 case ir_triop_csel:
1983 /* This operation is not supported, or should have already been
handled.
1984 */
1985 assert(!"Invalid ir opcode in glsl_to_tgsi_visitor::visit()");
1986 break;
1987 }
1988
1989 this->result = result_src;
(gdb) print ir->operation
$1 = ir_triop_csel
fd183fa02c4430e439faf6a5195f5008d34db987 is the first bad commit
commit fd183fa02c4430e439faf6a5195f5008d34db987
Author: Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
Date: Fri Sep 6 12:36:48 2013 -0700
glsl: Use conditional-select in mix().
Reviewed-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
Reviewed-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
:040000 040000 2e76899a27ccc0bd584d7265891f1a51862bf4ae
794c98855a3f3057af8e9cbb91c2dd10dd4f6590 M src
bisect run success</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>