[Bug 85691] New: 'glsl: Drop constant 0.0 components from dot products.' broke piglit shaders/glsl-gnome-shell-dim-window and a few others with Gallium
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 31 02:56:25 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=85691
Bug ID: 85691
Summary: 'glsl: Drop constant 0.0 components from dot
products.' broke piglit
shaders/glsl-gnome-shell-dim-window and a few others
with Gallium
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: glsl-compiler
Assignee: idr at freedesktop.org
Reporter: michel at daenzer.net
QA Contact: intel-3d-bugs at lists.freedesktop.org
Regression caused by commit d056863b3c535aeebfe5fcfc9468eb33a06ddb60:
shader_runner: ../../../src/glsl/ir_validate.cpp:486: virtual ir_visitor_status
{anonymous}::ir_validate::visit_leave(ir_expression*): Assertion
`ir->operands[0]->type->is_vector()' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff5b09107 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff5b09107 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff5b0a4e8 in __GI_abort () at abort.c:89
#2 0x00007ffff5b02226 in __assert_fail_base (fmt=0x7ffff5c38948 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", assertion=assertion at entry=0x7ffff18d54e8
"ir->operands[0]->type->is_vector()",
file=file at entry=0x7ffff18ffd98 "../../../src/glsl/ir_validate.cpp",
line=line at entry=486,
function=function at entry=0x7ffff1901240 <(anonymous
namespace)::ir_validate::visit_leave(ir_expression*)::__PRETTY_FUNCTION__>
"virtual ir_visitor_status
{anonymous}::ir_validate::visit_leave(ir_expression*)") at assert.c:92
#3 0x00007ffff5b022d2 in __GI___assert_fail (assertion=0x7ffff18d54e8
"ir->operands[0]->type->is_vector()", file=0x7ffff18ffd98
"../../../src/glsl/ir_validate.cpp", line=486,
function=0x7ffff1901240 <(anonymous
namespace)::ir_validate::visit_leave(ir_expression*)::__PRETTY_FUNCTION__>
"virtual ir_visitor_status
{anonymous}::ir_validate::visit_leave(ir_expression*)") at assert.c:101
#4 0x00007ffff14bbe70 in (anonymous namespace)::ir_validate::visit_leave
(this=<optimized out>, ir=<optimized out>) at
../../../src/glsl/ir_validate.cpp:486
#5 0x00007ffff14b75d8 in ir_assignment::accept (this=0x6f3bf0,
v=0x7fffffffe340) at ../../../src/glsl/ir_hv_accept.cpp:302
#6 0x00007ffff14b70e9 in visit_list_elements (statement_list=true, l=0x6cb3a8,
v=0x7fffffffe340) at ../../../src/glsl/ir_hv_accept.cpp:55
#7 ir_function_signature::accept (this=0x6cb360, v=0x7fffffffe340) at
../../../src/glsl/ir_hv_accept.cpp:115
#8 0x00007ffff14b71cd in visit_list_elements (statement_list=false,
l=0x6d4118, v=0x7fffffffe340) at ../../../src/glsl/ir_hv_accept.cpp:55
#9 ir_function::accept (this=0x6d40f0, v=0x7fffffffe340) at
../../../src/glsl/ir_hv_accept.cpp:127
#10 0x00007ffff14b6ec2 in visit_list_elements (v=v at entry=0x7fffffffe340,
l=l at entry=0x6edac0, statement_list=statement_list at entry=true) at
../../../src/glsl/ir_hv_accept.cpp:55
#11 0x00007ffff14b6d17 in ir_hierarchical_visitor::run
(this=this at entry=0x7fffffffe340, instructions=instructions at entry=0x6edac0) at
../../../src/glsl/ir_hierarchical_visitor.cpp:355
#12 0x00007ffff14be098 in validate_ir_tree
(instructions=instructions at entry=0x6edac0) at
../../../src/glsl/ir_validate.cpp:850
#13 0x00007ffff140583e in st_link_shader (ctx=0x7ffff7f26010, prog=0x6ee2f0) at
../../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:5422
#14 0x00007ffff142193f in _mesa_glsl_link_shader (ctx=0x7ffff7f26010,
prog=0x6ee2f0) at ../../../src/mesa/program/ir_to_mesa.cpp:3038
#15 0x00007ffff1320458 in link_program (program=<optimized out>,
ctx=0x7ffff7f26010) at ../../../src/mesa/main/shaderapi.c:917
#16 _mesa_LinkProgram (programObj=<optimized out>) at
../../../src/mesa/main/shaderapi.c:1385
#17 0x00007ffff7affcce in stub_glLinkProgram (program=3) at
tests/util/piglit-dispatch-gen.c:29058
#18 0x0000000000406524 in link_and_use_shaders () at
tests/shaders/shader_runner.c:829
#19 0x000000000040b27b in piglit_init (argc=2, argv=0x7fffffffe6e8) at
tests/shaders/shader_runner.c:2686
#20 0x00007ffff7b68276 in run_test (gl_fw=0x611010, argc=2,
argv=0x7fffffffe6e8) at
tests/util/piglit-framework-gl/piglit_winsys_framework.c:72
#21 0x00007ffff7b4d8d5 in piglit_gl_test_run (argc=2, argv=0x7fffffffe6e8,
config=0x7fffffffe5b0) at tests/util/piglit-framework-gl.c:151
#22 0x0000000000404ecc in main (argc=2, argv=0x7fffffffe6e8) at
tests/shaders/shader_runner.c:60
--
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/20141031/9497737b/attachment.html>
More information about the intel-3d-bugs
mailing list