[Mesa-dev] gallium AoA support and indirect sampler fixes

Laurent Carlier lordheavym at gmail.com
Sun Feb 7 19:11:11 UTC 2016


2016-02-07 15:13 GMT+01:00 Laurent Carlier <lordheavym at gmail.com>:

> Le vendredi 5 février 2016, 13:40:26 CET Dave Airlie a écrit :
> > Hi,
> >
> > In fixing some indirect sampler issues with ARB_gpu_shader5,
> > I realised AoA was mostly fixed as well by the same things.
> >
> > Ilia made me fix atomics as well.
> >
> > So thise patch set enables AoA support on all gallium drivers
> > exposing GLSL 1.30.
> >
> > Dave.
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
> I 've quickly tested the series, Shadow of Mordor segfault on start and
> first
> intro movie from witcher 2 is greenish then it segfault.
>
> On top of mesa-git with llvm-svn (both trunk) and amdgpu/kernel-4.5rc2
> --
> Laurent Carlier
> http://www.archlinux.org


Here is the backtrace from Shadow of Morder with gdb:
 Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7fffca5b9700 (LWP 30471)]
0x00007fffe92c81f6 in _debug_assert_fail (expr=expr at entry=0x7fffe94843f0
"idx < (int)ARRAY_SIZE(v->sampler_types)", file=file at entry=0x7fffe9483a18
"state_tracker/st_glsl_to_tgsi.cpp", line=line at entry=4033,
    function=function at entry=0x7fffe9485f00
<count_resources(glsl_to_tgsi_visitor*, gl_program*)::__FUNCTION__>
"count_resources") at util/u_debug.c:324
324        os_abort();
(gdb) bt full
#0  0x00007fffe92c81f6 in _debug_assert_fail (expr=expr at entry=0x7fffe94843f0
"idx < (int)ARRAY_SIZE(v->sampler_types)", file=file at entry=0x7fffe9483a18
"state_tracker/st_glsl_to_tgsi.cpp",
    line=line at entry=4033, function=function at entry=0x7fffe9485f00
<count_resources(glsl_to_tgsi_visitor*, gl_program*)::__FUNCTION__>
"count_resources") at util/u_debug.c:324
No locals.
#1  0x00007fffe915a8a2 in count_resources (prog=0x7fff8d8804e0,
v=0x7fff8d8849c0) at state_tracker/st_glsl_to_tgsi.cpp:4033
        idx = <optimized out>
        i = <optimized out>
        inst = 0x7fff8d883750
#2  get_mesa_program (ctx=ctx at entry=0xbde0d20,
shader_program=shader_program at entry=0x7fff8d7f90b0, shader=0x7fff8d8800d0)
at state_tracker/st_glsl_to_tgsi.cpp:6158
        v = 0x7fff8d8849c0
        prog = 0x7fff8d8804e0
        progress = <optimized out>
        options = <optimized out>
        pscreen = <optimized out>
        stfp = <optimized out>
        stgp = <optimized out>
        sttcp = <optimized out>
        sttep = <optimized out>
        __PRETTY_FUNCTION__ = "gl_program* get_mesa_program(gl_context*,
gl_shader_program*, gl_shader*)"
#3  0x00007fffe9161054 in st_link_shader (ctx=0xbde0d20,
prog=0x7fff8d7f90b0) at state_tracker/st_glsl_to_tgsi.cpp:6398
        linked_prog = 0x0
        i = 4
        pscreen = 0xb86fb30
        __PRETTY_FUNCTION__ = "GLboolean st_link_shader(gl_context*,
gl_shader_program*)"
#4  0x00007fffe917823a in _mesa_glsl_link_shader (ctx=0xbde0d20,
prog=0x7fff8d7f90b0) at program/ir_to_mesa.cpp:2963
        i = <optimized out>
#5  0x00007fffe909357a in link_program (ctx=0xbde0d20, program=<optimized
out>) at main/shaderapi.c:1048
        shProg = <optimized out>
        __func__ = "link_program"
#6  0x000000000243a81a in ?? ()
No symbol table info available.
#7  0x000000000243802c in ?? ()
No symbol table info available.
#8  0x00000000024385dd in ?? ()
No symbol table info available.
#9  0x00000000021da358 in ?? ()
No symbol table info available.
#10 0x00000000021dacb4 in ?? ()
No symbol table info available.
#11 0x00000000021c3512 in ?? ()
No symbol table info available.
#12 0x00000000005a4dae in ?? ()
No symbol table info available.
#13 0x000000000053f4f9 in ?? ()
No symbol table info available.
#14 0x000000000053f567 in ?? ()
No symbol table info available.
#15 0x000000000059ce4e in ?? ()
No symbol table info available.
#16 0x000000000236c9d9 in ?? ()
No symbol table info available.
#17 0x000000000252fee1 in ?? ()
No symbol table info available.
#18 0x00007ffff74ba4a4 in start_thread () from /usr/lib/libpthread.so.0
No symbol table info available.
#19 0x00007ffff594d13d in clone () from /usr/lib/libc.so.6
No symbol table info available.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160207/37d38e71/attachment.html>


More information about the mesa-dev mailing list