Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save shadeslayer/008fb3bd5bf2f9e4390549b2346263f0 to your computer and use it in GitHub Desktop.

Select an option

Save shadeslayer/008fb3bd5bf2f9e4390549b2346263f0 to your computer and use it in GitHub Desktop.
Thread 1 "kwin_wayland" hit Breakpoint 2, lima_draw_vbo (pctx=0xaaaaec9696f0, info=0xffffe44d9e18) at ../../../../.././src/gallium/drivers/lima/lima_draw.c:962
962 debug_checkpoint();
(gdb)
964 struct lima_context *ctx = lima_context(pctx);
(gdb)
966 if (!ctx->vs || !ctx->fs) {
(gdb)
971 if (!lima_update_vs_state(ctx) || !lima_update_fs_state(ctx))
(gdb)
975 ctx->vs->bo->map, ctx->vs->shader_size, false,
(gdb)
974 lima_dump_command_stream_print(
(gdb)
975 ctx->vs->bo->map, ctx->vs->shader_size, false,
(gdb)
974 lima_dump_command_stream_print(
(gdb)
976 "add vs at va %x\n", ctx->vs->bo->va);
(gdb)
974 lima_dump_command_stream_print(
(gdb)
979 ctx->fs->bo->map, ctx->fs->shader_size, false,
(gdb)
978 lima_dump_command_stream_print(
(gdb)
979 ctx->fs->bo->map, ctx->fs->shader_size, false,
(gdb)
978 lima_dump_command_stream_print(
(gdb)
980 "add fs at va %x\n", ctx->fs->bo->va);
(gdb)
978 lima_dump_command_stream_print(
(gdb)
982 lima_update_submit_bo(ctx);
(gdb)
984 lima_update_gp_attribute_info(ctx, info);
(gdb)
986 if ((ctx->dirty & LIMA_CONTEXT_DIRTY_CONST_BUFF &&
(gdb)
987 ctx->const_buffer[PIPE_SHADER_VERTEX].dirty) ||
(gdb)
986 if ((ctx->dirty & LIMA_CONTEXT_DIRTY_CONST_BUFF &&
(gdb)
990 lima_update_gp_uniform(ctx);
(gdb)
991 ctx->const_buffer[PIPE_SHADER_VERTEX].dirty = false;
(gdb)
994 lima_update_varying(ctx, info);
(gdb)
997 if (!lima_is_scissor_zero(ctx))
(gdb)
998 lima_pack_vs_cmd(ctx, info);
(gdb)
1000 if (ctx->dirty & LIMA_CONTEXT_DIRTY_CONST_BUFF &&
(gdb)
1001 ctx->const_buffer[PIPE_SHADER_FRAGMENT].dirty) {
(gdb)
1000 if (ctx->dirty & LIMA_CONTEXT_DIRTY_CONST_BUFF &&
(gdb)
1006 if (ctx->dirty & LIMA_CONTEXT_DIRTY_TEXTURES)
(gdb)
1007 lima_update_textures(ctx);
(gdb)
1009 lima_pack_render_state(ctx);
(gdb)
1010 lima_pack_plbu_cmd(ctx, info);
(gdb)
1012 ctx->dirty = 0;
(gdb)
1013 ctx->num_draws++;
(gdb)
1014 }
(gdb)
u_vbuf_draw_vbo (mgr=0xaaaaec9a3910, info=0xffffe44d9e18) at ../../../.././src/gallium/auxiliary/util/u_vbuf.c:1160
1160 return;
(gdb)
1296 }
(gdb)
cso_draw_vbo (cso=0xaaaaec9a1f00, info=0xffffe44d9e18) at ../../../.././src/gallium/auxiliary/cso_cache/cso_context.c:1720
1720 }
(gdb)
st_draw_vbo (ctx=0xaaaaec96a470, prims=0xffffe44d9ea0, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=3, tfb_vertcount=0x0, stream=0, indirect=0x0) at ../../.././src/mesa/state_tracker/st_draw.c:215
215 for (i = 0; i < nr_prims; i++) {
(gdb)
244 }
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment