[Mesa-dev] [Bug 82585] geometry shader with optional out variable segfaults
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Oct 20 00:11:55 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=82585
--- Comment #7 from Tapani Pälli <lemody at gmail.com> ---
With Intel we get following backtrace .. I don't have good enough clue to tell
what's wrong but I can see that the reg and reg_offset values clearly go over
the size of attribute_map.
--- 8< -----
(gdb)
#0 0x00007ffff73683e2 in brw::vec4_visitor::lower_attributes_to_hw_regs
(this=0xffff, this at entry=0x7fffffffcdf0,
attribute_map=attribute_map at entry=0x7fffffffc770,
interleaved=false) at brw_vec4.cpp:1501
#1 0x00007ffff736f6a0 in brw::vec4_gs_visitor::setup_payload
(this=0x7fffffffcdf0) at brw_vec4_gs_visitor.cpp:134
#2 0x00007ffff73691ec in brw::vec4_visitor::run
(this=this at entry=0x7fffffffcdf0) at brw_vec4.cpp:1813
#3 0x00007ffff737077f in brw::brw_gs_emit (brw=brw at entry=0x7ffff6daf040,
prog=prog at entry=0xe0e070, c=c at entry=0x7fffffffda50,
mem_ctx=mem_ctx at entry=0xae59d0,
final_assembly_size=final_assembly_size at entry=0x7fffffffda4c) at
brw_vec4_gs_visitor.cpp:648
#4 0x00007ffff736e7b9 in do_gs_prog (brw=brw at entry=0x7ffff6daf040,
prog=prog at entry=0xe0e070, gp=gp at entry=0xdab920, key=key at entry=0x7fffffffdd30)
at brw_vec4_gs.c:264
#5 0x00007ffff736ebb8 in brw_gs_precompile (ctx=0x7ffff6daf040, prog=0xe0e070)
at brw_vec4_gs.c:401
#6 0x00007ffff73607ff in brw_shader_precompile (prog=0xe0e070,
ctx=0x7ffff6daf040) at brw_shader.cpp:76
#7 brw_link_shader (ctx=0x7ffff6daf040, shProg=0xe0e070) at brw_shader.cpp:269
#8 0x00007ffff7213a26 in _mesa_glsl_link_shader (ctx=0x7ffff6daf040,
prog=0xe0e070) at ../../src/mesa/program/ir_to_mesa.cpp:3038
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141020/b734e023/attachment-0001.html>
More information about the mesa-dev
mailing list