Searched refs:sub_cs (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_cs.c | 245 tu_cs_begin_sub_stream(struct tu_cs *cs, uint32_t size, struct tu_cs *sub_cs) in tu_cs_begin_sub_stream() argument 254 tu_cs_init_external(sub_cs, cs->cur, cs->reserved_end); in tu_cs_begin_sub_stream() 255 tu_cs_begin(sub_cs); in tu_cs_begin_sub_stream() 256 result = tu_cs_reserve_space(sub_cs, size); in tu_cs_begin_sub_stream() 304 tu_cs_end_sub_stream(struct tu_cs *cs, struct tu_cs *sub_cs) in tu_cs_end_sub_stream() argument 308 assert(sub_cs->start == cs->cur && sub_cs->end == cs->reserved_end); in tu_cs_end_sub_stream() 309 tu_cs_sanity_check(sub_cs); in tu_cs_end_sub_stream() 311 tu_cs_end(sub_cs); in tu_cs_end_sub_stream() 313 cs->cur = sub_cs->cur; in tu_cs_end_sub_stream()
|
D | tu_cs.h | 49 tu_cs_begin_sub_stream(struct tu_cs *cs, uint32_t size, struct tu_cs *sub_cs); 58 tu_cs_end_sub_stream(struct tu_cs *cs, struct tu_cs *sub_cs); 61 tu_cs_end_draw_state(struct tu_cs *cs, struct tu_cs *sub_cs) in tu_cs_end_draw_state() argument 63 struct tu_cs_entry entry = tu_cs_end_sub_stream(cs, sub_cs); in tu_cs_end_draw_state() 74 tu_cs_draw_state(struct tu_cs *sub_cs, struct tu_cs *cs, uint32_t size) in tu_cs_draw_state() argument 79 tu_cs_alloc(sub_cs, size, 1, &memory); in tu_cs_draw_state()
|
D | tu_cmd_buffer.c | 1007 VkResult result = tu_cs_alloc(&cmd->sub_cs, subpass->input_count * 2, in tu_emit_input_attachments() 1081 struct tu_draw_state ds = tu_cs_draw_state(&cmd->sub_cs, &cs, 9); in tu_emit_input_attachments() 1312 struct tu_cs sub_cs; in tu_cmd_prepare_tile_store_ib() local 1315 tu_cs_begin_sub_stream(&cmd->sub_cs, tile_store_space, &sub_cs); in tu_cmd_prepare_tile_store_ib() 1322 tu6_emit_tile_store(cmd, &sub_cs); in tu_cmd_prepare_tile_store_ib() 1324 cmd->state.tile_store_ib = tu_cs_end_sub_stream(&cmd->sub_cs, &sub_cs); in tu_cmd_prepare_tile_store_ib() 1359 tu_cs_init(&cmd_buffer->sub_cs, device, TU_CS_MODE_SUB_STREAM, 2048); in tu_create_cmd_buffer() 1374 tu_cs_finish(&cmd_buffer->sub_cs); in tu_cmd_buffer_destroy() 1387 tu_cs_reset(&cmd_buffer->sub_cs); in tu_reset_cmd_buffer() 1578 cmd->state.vertex_buffers.iova = tu_cs_draw_state(&cmd->sub_cs, &cs, 4 * MAX_VBS).iova; in tu_CmdBindVertexBuffers2EXT() [all …]
|
D | tu_private.h | 969 struct tu_cs sub_cs; member
|
D | tu_clear_blit.c | 560 VkResult result = tu_cs_alloc(&cmd->sub_cs, in r3d_src_common() 1584 VkResult result = tu_cs_alloc(&cmd->sub_cs, DIV_ROUND_UP(dataSize, 64), 64, &tmp); in tu_CmdUpdateBuffer()
|