Home
last modified time | relevance | path

Searched refs:gmem_layout (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/freedreno/vulkan/
Dtu_util.c67 enum tu_gmem_layout gmem_layout) in tu_tiling_config_update_tile_layout() argument
73 struct tu_tiling_config *tiling = &fb->tiling[gmem_layout]; in tu_tiling_config_update_tile_layout()
88 if (!pass->gmem_pixels[gmem_layout]) in tu_tiling_config_update_tile_layout()
114 while (tiling->tile0.width * tiling->tile0.height > pass->gmem_pixels[gmem_layout]) { in tu_tiling_config_update_tile_layout()
228 for (int gmem_layout = 0; gmem_layout < TU_GMEM_LAYOUT_COUNT; gmem_layout++) { in tu_framebuffer_tiling_config() local
229 struct tu_tiling_config *tiling = &fb->tiling[gmem_layout]; in tu_framebuffer_tiling_config()
230 tu_tiling_config_update_tile_layout(fb, device, pass, gmem_layout); in tu_framebuffer_tiling_config()
Dtu_cmd_buffer.h368 enum tu_gmem_layout gmem_layout; member
388 enum tu_gmem_layout gmem_layout; member
600 assert(cmd->state.gmem_layout < TU_GMEM_LAYOUT_COUNT); in tu_attachment_gmem_offset()
601 return att->gmem_offset[cmd->state.gmem_layout]; in tu_attachment_gmem_offset()
608 assert(cmd->state.gmem_layout < TU_GMEM_LAYOUT_COUNT); in tu_attachment_gmem_offset_stencil()
609 return att->gmem_offset_stencil[cmd->state.gmem_layout]; in tu_attachment_gmem_offset_stencil()
Dtu_cmd_buffer.c547 const struct tu_tiling_config *tiling = &fb->tiling[cmd->state.gmem_layout]; in use_hw_binning()
582 if (!cmd->state.pass->gmem_pixels[cmd->state.gmem_layout]) in use_sysmem_rendering()
1183 gmem_offset = att->gmem_offset_stencil[cmd->state.gmem_layout]; in tu_emit_input_attachments()
1547 …cmd_buffer->state.gmem_layout = TU_GMEM_LAYOUT_COUNT; /* invalid value to prevent looking up gmem … in tu_reset_render_pass()
1784 cmd_buffer->state.gmem_layout = TU_GMEM_LAYOUT_COUNT; /* dirty value */ in tu_cmd_buffer_begin()
3417 cmd->state.gmem_layout = suspended->state.suspended_pass.gmem_layout; in tu_restore_suspended_pass()
3418 cmd->state.tiling = &cmd->state.framebuffer->tiling[cmd->state.gmem_layout]; in tu_restore_suspended_pass()
3997 cmd->state.suspended_pass.gmem_layout = cmd->state.gmem_layout; in tu_CmdBeginRendering()
Dtu_clear_blit.c2802 if (cmd->state.predication_active || cmd->state.gmem_layout == TU_GMEM_LAYOUT_COUNT) { in tu_CmdClearAttachments()
3289 cmd->state.gmem_layout = TU_GMEM_LAYOUT_FULL; in tu_choose_gmem_layout()
3299 cmd->state.gmem_layout = TU_GMEM_LAYOUT_AVOID_CCU; in tu_choose_gmem_layout()
3301 cmd->state.gmem_layout = TU_GMEM_LAYOUT_AVOID_CCU; in tu_choose_gmem_layout()
3304 cmd->state.tiling = &cmd->state.framebuffer->tiling[cmd->state.gmem_layout]; in tu_choose_gmem_layout()
3368 assert(cmd->state.gmem_layout == TU_GMEM_LAYOUT_AVOID_CCU); in tu_store_gmem_attachment()