[Mesa-dev] [PATCH 00/18] Gallium blitter optimizations

Gert Wollny gw.fossdev at gmail.com
Sat Aug 19 14:01:22 UTC 2017


Am Samstag, den 19.08.2017, 12:13 +0200 schrieb Gert Wollny:
> 
> I did this and unfortunately it crashes with 744c3e2254 applied.
> Specifically, in  
> 
>    src/gallium/drivers/r600/evergreen_state.c2302: 
>        evergreen_emit_vertex_fetch_shader 
> 
> de-referencing shader fails because state->cso is NULL. 
> 

Some additional information: 

backtrace: 

#0 evergreen_emit_vertex_fetch_shader (rctx=0x61e500, a=0x61f530) at
evergreen_state.c:2302
#1  0x00007ffff3bd9601 in r600_emit_atom (atom=0x61f530, rctx=0x61e500)
at r600_pipe.h:567
#2  r600_draw_vbo (ctx=0x61e500, info=0x7fffffffd080) at
r600_state_common.c:1831
#3  0x00007ffff3d4e4c5 in util_draw_arrays_instanced
(mode=PIPE_PRIM_MAX, start=0, count=3, start_instance=0,
instance_count=1, pipe=0x61e500) at
../../../../src/gallium/auxiliary/util/u_draw.h:106
#4  r600_draw_rectangle (blitter=<optimized out>, x1=<optimized out>,
y1=<optimized out>, x2=<optimized out>, y2=<optimized out>,
depth=<optimized out>, num_instances=1, type=UTIL_BLITTER_ATTRIB_NONE, 
    attrib=0x7fffffffd150) at r600_pipe_common.c:279
#5  0x00007ffff39bcda2 in util_blitter_clear_custom (blitter=0x622bf0,
width=300, height=300, num_layers=1, clear_buffers=clear_buffers at entry=
1, color=color at entry=0x7762fc, depth=depth at entry=1, stencil=0, 
    custom_dsa=0x0, custom_blend=0x0) at util/u_blitter.c:1445
#6  0x00007ffff39bcef0 in util_blitter_clear (blitter=<optimized out>,
width=<optimized out>, height=<optimized out>, num_layers=<optimized
out>, clear_buffers=clear_buffers at entry=1, color=color at entry=0x7762fc, 
    depth=depth at entry=1, stencil=0) at util/u_blitter.c:1461
#7  0x00007ffff3ba4385 in r600_clear (ctx=0x61e500, buffers=<optimized
out>, color=0x7762fc, depth=<optimized out>, stencil=0) at
r600_blit.c:460
#8  0x00007ffff36f3d3b in st_Clear (ctx=0x774740, mask=18) at
state_tracker/st_cb_clear.c:483
#9  0x000000000040251e in draw () at glxgears.c:254
#10 0x0000000000401d2e in draw_gears () at glxgears.c:316
#11 draw_frame (win=81788930, dpy=0x606010) at glxgears.c:341
#12 event_loop (win=81788930, dpy=0x606010) at glxgears.c:703
#13 main (argc=<optimized out>, argv=<optimized out>) at glxgears.c:798

I can only assume that the handling of UTIL_BLITTER_ATTRIB_NONE should
be different.

Best, 
Gert 




More information about the mesa-dev mailing list