<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-02-07 15:13 GMT+01:00 Laurent Carlier <span dir="ltr"><<a href="mailto:lordheavym@gmail.com" target="_blank">lordheavym@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">Le vendredi 5 février 2016, 13:40:26 CET Dave Airlie a écrit :<br>
> Hi,<br>
><br>
> In fixing some indirect sampler issues with ARB_gpu_shader5,<br>
> I realised AoA was mostly fixed as well by the same things.<br>
><br>
> Ilia made me fix atomics as well.<br>
><br>
> So thise patch set enables AoA support on all gallium drivers<br>
> exposing GLSL 1.30.<br>
><br>
> Dave.<br>
><br>
> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
<br>
</div></div>I 've quickly tested the series, Shadow of Mordor segfault on start and first<br>
intro movie from witcher 2 is greenish then it segfault.<br>
<br>
On top of mesa-git with llvm-svn (both trunk) and amdgpu/kernel-4.5rc2<br>
<span class=""><font color="#888888">--<br>
Laurent Carlier<br>
<a href="http://www.archlinux.org" rel="noreferrer" target="_blank">http://www.archlinux.org</a></font></span></blockquote><div><br></div><div>Here is the backtrace from Shadow of Morder with gdb:<br> Program received signal SIGTRAP, Trace/breakpoint trap.<br>[Switching to Thread 0x7fffca5b9700 (LWP 30471)]<br>0x00007fffe92c81f6 in _debug_assert_fail (expr=expr@entry=0x7fffe94843f0 "idx < (int)ARRAY_SIZE(v->sampler_types)", file=file@entry=0x7fffe9483a18 "state_tracker/st_glsl_to_tgsi.cpp", line=line@entry=4033, <br> function=function@entry=0x7fffe9485f00 <count_resources(glsl_to_tgsi_visitor*, gl_program*)::__FUNCTION__> "count_resources") at util/u_debug.c:324<br>324 os_abort();<br>(gdb) bt full<br>#0 0x00007fffe92c81f6 in _debug_assert_fail (expr=expr@entry=0x7fffe94843f0 "idx < (int)ARRAY_SIZE(v->sampler_types)", file=file@entry=0x7fffe9483a18 "state_tracker/st_glsl_to_tgsi.cpp", <br> line=line@entry=4033, function=function@entry=0x7fffe9485f00 <count_resources(glsl_to_tgsi_visitor*, gl_program*)::__FUNCTION__> "count_resources") at util/u_debug.c:324<br>No locals.<br>#1 0x00007fffe915a8a2 in count_resources (prog=0x7fff8d8804e0, v=0x7fff8d8849c0) at state_tracker/st_glsl_to_tgsi.cpp:4033<br> idx = <optimized out><br> i = <optimized out><br> inst = 0x7fff8d883750<br>#2 get_mesa_program (ctx=ctx@entry=0xbde0d20, shader_program=shader_program@entry=0x7fff8d7f90b0, shader=0x7fff8d8800d0) at state_tracker/st_glsl_to_tgsi.cpp:6158<br> v = 0x7fff8d8849c0<br> prog = 0x7fff8d8804e0<br> progress = <optimized out><br> options = <optimized out><br> pscreen = <optimized out><br> stfp = <optimized out><br> stgp = <optimized out><br> sttcp = <optimized out><br> sttep = <optimized out><br> __PRETTY_FUNCTION__ = "gl_program* get_mesa_program(gl_context*, gl_shader_program*, gl_shader*)"<br>#3 0x00007fffe9161054 in st_link_shader (ctx=0xbde0d20, prog=0x7fff8d7f90b0) at state_tracker/st_glsl_to_tgsi.cpp:6398<br> linked_prog = 0x0<br> i = 4<br> pscreen = 0xb86fb30<br> __PRETTY_FUNCTION__ = "GLboolean st_link_shader(gl_context*, gl_shader_program*)"<br>#4 0x00007fffe917823a in _mesa_glsl_link_shader (ctx=0xbde0d20, prog=0x7fff8d7f90b0) at program/ir_to_mesa.cpp:2963<br> i = <optimized out><br>#5 0x00007fffe909357a in link_program (ctx=0xbde0d20, program=<optimized out>) at main/shaderapi.c:1048<br> shProg = <optimized out><br> __func__ = "link_program"<br>#6 0x000000000243a81a in ?? ()<br>No symbol table info available.<br>#7 0x000000000243802c in ?? ()<br>No symbol table info available.<br>#8 0x00000000024385dd in ?? ()<br>No symbol table info available.<br>#9 0x00000000021da358 in ?? ()<br>No symbol table info available.<br>#10 0x00000000021dacb4 in ?? ()<br>No symbol table info available.<br>#11 0x00000000021c3512 in ?? ()<br>No symbol table info available.<br>#12 0x00000000005a4dae in ?? ()<br>No symbol table info available.<br>#13 0x000000000053f4f9 in ?? ()<br>No symbol table info available.<br>#14 0x000000000053f567 in ?? ()<br>No symbol table info available.<br>#15 0x000000000059ce4e in ?? ()<br>No symbol table info available.<br>#16 0x000000000236c9d9 in ?? ()<br>No symbol table info available.<br>#17 0x000000000252fee1 in ?? ()<br>No symbol table info available.<br>#18 0x00007ffff74ba4a4 in start_thread () from /usr/lib/libpthread.so.0<br>No symbol table info available.<br>#19 0x00007ffff594d13d in clone () from /usr/lib/libc.so.6<br>No symbol table info available.<br><br></div></div><br></div></div>