Lines Matching refs:gdctx
1303 struct vrend_decode_ctx *gdctx; in vrend_decode_block() local
1312 gdctx = dec_ctx[ctx_id]; in vrend_decode_block()
1314 bret = vrend_hw_switch_context(gdctx->grctx, true); in vrend_decode_block()
1318 gdctx->ds->buf = block; in vrend_decode_block()
1319 gdctx->ds->buf_total = ndw; in vrend_decode_block()
1320 gdctx->ds->buf_offset = 0; in vrend_decode_block()
1322 while (gdctx->ds->buf_offset < gdctx->ds->buf_total) { in vrend_decode_block()
1323 uint32_t header = gdctx->ds->buf[gdctx->ds->buf_offset]; in vrend_decode_block()
1328 if (gdctx->ds->buf_offset + len + 1 > gdctx->ds->buf_total) { in vrend_decode_block()
1329 vrend_report_buffer_error(gdctx->grctx, 0); in vrend_decode_block()
1336 ret = vrend_decode_create_object(gdctx, len); in vrend_decode_block()
1339 ret = vrend_decode_bind_object(gdctx, len); in vrend_decode_block()
1342 ret = vrend_decode_destroy_object(gdctx, len); in vrend_decode_block()
1345 ret = vrend_decode_clear(gdctx, len); in vrend_decode_block()
1348 ret = vrend_decode_draw_vbo(gdctx, len); in vrend_decode_block()
1351 ret = vrend_decode_set_framebuffer_state(gdctx, len); in vrend_decode_block()
1354 ret = vrend_decode_set_vertex_buffers(gdctx, len); in vrend_decode_block()
1357 ret = vrend_decode_resource_inline_write(gdctx, len); in vrend_decode_block()
1360 ret = vrend_decode_set_viewport_state(gdctx, len); in vrend_decode_block()
1363 ret = vrend_decode_set_sampler_views(gdctx, len); in vrend_decode_block()
1366 ret = vrend_decode_set_index_buffer(gdctx, len); in vrend_decode_block()
1369 ret = vrend_decode_set_constant_buffer(gdctx, len); in vrend_decode_block()
1372 ret = vrend_decode_set_stencil_ref(gdctx, len); in vrend_decode_block()
1375 ret = vrend_decode_set_blend_color(gdctx, len); in vrend_decode_block()
1378 ret = vrend_decode_set_scissor_state(gdctx, len); in vrend_decode_block()
1381 ret = vrend_decode_blit(gdctx, len); in vrend_decode_block()
1384 ret = vrend_decode_resource_copy_region(gdctx, len); in vrend_decode_block()
1387 ret = vrend_decode_bind_sampler_states(gdctx, len); in vrend_decode_block()
1390 ret = vrend_decode_begin_query(gdctx, len); in vrend_decode_block()
1393 ret = vrend_decode_end_query(gdctx, len); in vrend_decode_block()
1396 ret = vrend_decode_get_query_result(gdctx, len); in vrend_decode_block()
1399 ret = vrend_decode_set_polygon_stipple(gdctx, len); in vrend_decode_block()
1402 ret = vrend_decode_set_clip_state(gdctx, len); in vrend_decode_block()
1405 ret = vrend_decode_set_sample_mask(gdctx, len); in vrend_decode_block()
1408 ret = vrend_decode_set_min_samples(gdctx, len); in vrend_decode_block()
1411 ret = vrend_decode_set_streamout_targets(gdctx, len); in vrend_decode_block()
1414 ret = vrend_decode_set_render_condition(gdctx, len); in vrend_decode_block()
1417 ret = vrend_decode_set_uniform_buffer(gdctx, len); in vrend_decode_block()
1420 ret = vrend_decode_set_sub_ctx(gdctx, len); in vrend_decode_block()
1423 ret = vrend_decode_create_sub_ctx(gdctx, len); in vrend_decode_block()
1426 ret = vrend_decode_destroy_sub_ctx(gdctx, len); in vrend_decode_block()
1429 ret = vrend_decode_bind_shader(gdctx, len); in vrend_decode_block()
1432 ret = vrend_decode_set_tess_state(gdctx, len); in vrend_decode_block()
1435 ret = vrend_decode_set_shader_buffers(gdctx, len); in vrend_decode_block()
1438 ret = vrend_decode_set_shader_images(gdctx, len); in vrend_decode_block()
1441 ret = vrend_decode_memory_barrier(gdctx, len); in vrend_decode_block()
1444 ret = vrend_decode_launch_grid(gdctx, len); in vrend_decode_block()
1447 ret = vrend_decode_set_framebuffer_state_no_attach(gdctx, len); in vrend_decode_block()
1450 ret = vrend_decode_texture_barrier(gdctx, len); in vrend_decode_block()
1457 vrend_report_buffer_error(gdctx->grctx, header); in vrend_decode_block()
1462 gdctx->ds->buf_offset += (len) + 1; in vrend_decode_block()