Home
last modified time | relevance | path

Searched refs:aux_usage (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_mipmap_tree.c262 assert(mt->aux_usage == ISL_AUX_USAGE_CCS_E); in format_ccs_e_compat_with_miptree()
363 assert(mt->aux_usage == ISL_AUX_USAGE_NONE); in intel_miptree_choose_aux_usage()
367 mt->aux_usage = ISL_AUX_USAGE_MCS; in intel_miptree_choose_aux_usage()
372 mt->aux_usage = ISL_AUX_USAGE_CCS_E; in intel_miptree_choose_aux_usage()
374 mt->aux_usage = ISL_AUX_USAGE_CCS_D; in intel_miptree_choose_aux_usage()
378 mt->aux_usage = ISL_AUX_USAGE_HIZ; in intel_miptree_choose_aux_usage()
384 if (mt->aux_usage != ISL_AUX_USAGE_NONE) in intel_miptree_choose_aux_usage()
1035 if (mod_info && mod_info->aux_usage != ISL_AUX_USAGE_NONE) in intel_miptree_create_for_dri_image()
1071 if (mod_info && mod_info->aux_usage != ISL_AUX_USAGE_NONE) { in intel_miptree_create_for_dri_image()
1072 assert(mod_info->aux_usage == ISL_AUX_USAGE_CCS_E); in intel_miptree_create_for_dri_image()
[all …]
Dbrw_blorp.c121 enum isl_aux_usage aux_usage, in blorp_surf_for_miptree() argument
150 .aux_usage = aux_usage, in blorp_surf_for_miptree()
163 if (surf->aux_usage == ISL_AUX_USAGE_HIZ && in blorp_surf_for_miptree()
165 surf->aux_usage = ISL_AUX_USAGE_NONE; in blorp_surf_for_miptree()
167 if (surf->aux_usage != ISL_AUX_USAGE_NONE) { in blorp_surf_for_miptree()
184 assert(surf->aux_usage == ISL_AUX_USAGE_HIZ); in blorp_surf_for_miptree()
195 assert((surf->aux_usage == ISL_AUX_USAGE_NONE) == in blorp_surf_for_miptree()
381 switch (src_mt->aux_usage) { in brw_blorp_copy_miptrees()
384 src_aux_usage = src_mt->aux_usage; in brw_blorp_copy_miptrees()
398 switch (dst_mt->aux_usage) { in brw_blorp_copy_miptrees()
[all …]
Dintel_mipmap_tree.h281 enum isl_aux_usage aux_usage; member
570 enum isl_aux_usage aux_usage,
597 enum isl_aux_usage aux_usage);
661 enum isl_aux_usage aux_usage);
666 enum isl_aux_usage aux_usage);
Dbrw_draw.c353 if (tex_mt->aux_usage != ISL_AUX_USAGE_CCS_D && in intel_disable_rb_aux_buffer()
354 tex_mt->aux_usage != ISL_AUX_USAGE_CCS_E) in intel_disable_rb_aux_buffer()
552 enum isl_aux_usage aux_usage = in brw_predraw_resolve_framebuffer() local
556 if (brw->draw_aux_usage[i] != aux_usage) { in brw_predraw_resolve_framebuffer()
558 brw->draw_aux_usage[i] = aux_usage; in brw_predraw_resolve_framebuffer()
563 aux_usage); in brw_predraw_resolve_framebuffer()
566 isl_format, aux_usage); in brw_predraw_resolve_framebuffer()
632 enum isl_aux_usage aux_usage = brw->draw_aux_usage[i]; in brw_postdraw_set_buffers_need_resolve() local
634 brw_render_cache_add_bo(brw, irb->mt->bo, isl_format, aux_usage); in brw_postdraw_set_buffers_need_resolve()
638 aux_usage); in brw_postdraw_set_buffers_need_resolve()
Dintel_fbo.h241 enum isl_aux_usage aux_usage);
245 enum isl_aux_usage aux_usage);
Dintel_fbo.c1026 format_aux_tuple(enum isl_format format, enum isl_aux_usage aux_usage) in format_aux_tuple() argument
1028 return (void *)(uintptr_t)((uint32_t)format << 8 | aux_usage); in format_aux_tuple()
1034 enum isl_aux_usage aux_usage) in brw_cache_flush_for_render() argument
1063 if (entry && entry->data != format_aux_tuple(format, aux_usage)) in brw_cache_flush_for_render()
1070 enum isl_aux_usage aux_usage) in brw_render_cache_add_bo() argument
1078 assert(entry->data == format_aux_tuple(format, aux_usage)); in brw_render_cache_add_bo()
1083 format_aux_tuple(format, aux_usage)); in brw_render_cache_add_bo()
Dbrw_wm_surface_state.c138 enum isl_aux_usage aux_usage, in brw_emit_surface_state() argument
156 switch (aux_usage) { in brw_emit_surface_state()
175 if (aux_usage != ISL_AUX_USAGE_NONE) { in brw_emit_surface_state()
191 .aux_surf = aux_surf, .aux_usage = aux_usage, in brw_emit_surface_state()
568 enum isl_aux_usage aux_usage = in brw_update_texture_surface() local
571 brw_emit_surface_state(brw, mt, mt->target, view, aux_usage, in brw_update_texture_surface()
1047 enum isl_aux_usage aux_usage = in update_renderbuffer_read_surfaces() local
1050 aux_usage = ISL_AUX_USAGE_NONE; in update_renderbuffer_read_surfaces()
1052 brw_emit_surface_state(brw, irb->mt, target, view, aux_usage, in update_renderbuffer_read_surfaces()
DgenX_blorp_exec.c245 params->dst.aux_usage); in genX()
319 params->dst.aux_usage); in genX()
Dintel_screen.c319 if (modinfo->aux_usage == ISL_AUX_USAGE_CCS_E) { in modifier_is_supported()
722 if (mod_info->aux_usage == ISL_AUX_USAGE_CCS_E) { in intel_create_image_common()
729 assert(mod_info->aux_usage == ISL_AUX_USAGE_NONE); in intel_create_image_common()
1113 if (mod_info->aux_usage == ISL_AUX_USAGE_CCS_E) { in intel_create_image_from_fds_common()
1152 assert(mod_info->aux_usage == ISL_AUX_USAGE_NONE); in intel_create_image_from_fds_common()
Dbrw_wm.c384 if (intel_tex->mt->aux_usage == ISL_AUX_USAGE_MCS) { in brw_populate_sampler_prog_key_data()
Dintel_tex_image.c333 mt->aux_usage == ISL_AUX_USAGE_CCS_E) { in intel_upload_tex()
/external/mesa3d/src/intel/isl/
Disl_surface_state.c526 assert(info->aux_usage == ISL_AUX_USAGE_NONE); in isl_genX()
554 if (info->aux_surf && info->aux_usage != ISL_AUX_USAGE_NONE) { in isl_genX()
570 assert(GEN_GEN >= 9 || info->aux_usage != ISL_AUX_USAGE_CCS_E); in isl_genX()
578 if (info->aux_usage == ISL_AUX_USAGE_HIZ) { in isl_genX()
597 s.AuxiliarySurfaceMode = isl_to_gen_aux_mode[info->aux_usage]; in isl_genX()
599 assert(info->aux_usage == ISL_AUX_USAGE_MCS || in isl_genX()
600 info->aux_usage == ISL_AUX_USAGE_CCS_D); in isl_genX()
630 if (GEN_GEN >= 9 && info->aux_usage == ISL_AUX_USAGE_HIZ) in isl_genX()
637 if (info->aux_usage != ISL_AUX_USAGE_NONE) { in isl_genX()
Disl_drm.c94 .aux_usage = ISL_AUX_USAGE_CCS_E,
Disl.h1072 enum isl_aux_usage aux_usage; member
1270 enum isl_aux_usage aux_usage; member
1563 return isl_drm_modifier_get_info(modifier)->aux_usage != ISL_AUX_USAGE_NONE; in isl_drm_modifier_has_aux()
1579 if (!mod_info || mod_info->aux_usage == ISL_AUX_USAGE_NONE) in isl_drm_modifier_get_default_aux_state()
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c191 enum isl_aux_usage aux_usage, in get_blorp_surf_for_anv_image() argument
196 if (aux_usage == ANV_AUX_USAGE_DEFAULT) in get_blorp_surf_for_anv_image()
197 aux_usage = image->planes[plane].aux_usage; in get_blorp_surf_for_anv_image()
200 aux_usage == ISL_AUX_USAGE_HIZ) in get_blorp_surf_for_anv_image()
201 aux_usage = ISL_AUX_USAGE_NONE; in get_blorp_surf_for_anv_image()
213 if (aux_usage != ISL_AUX_USAGE_NONE) { in get_blorp_surf_for_anv_image()
221 blorp_surf->aux_usage = aux_usage; in get_blorp_surf_for_anv_image()
1183 att_state->aux_usage, &surf); in anv_cmd_buffer_clear_subpass()
1245 bool clear_with_hiz = gen >= 8 && cmd_state->attachments[ds].aux_usage == in anv_cmd_buffer_clear_subpass()
1437 if (image->planes[plane].aux_usage == ISL_AUX_USAGE_NONE) in fast_clear_aux_usage()
[all …]
Danv_image.c341 image->planes[plane].aux_usage = ISL_AUX_USAGE_NONE; in make_surface()
404 image->planes[plane].aux_usage = ISL_AUX_USAGE_HIZ; in make_surface()
459 image->planes[plane].aux_usage = ISL_AUX_USAGE_CCS_E; in make_surface()
472 image->planes[plane].aux_usage = ISL_AUX_USAGE_MCS; in make_surface()
779 return image->planes[plane].aux_usage; in anv_layout_to_aux_usage()
896 enum isl_aux_usage aux_usage, in anv_image_fill_surface_state() argument
931 if (device->info.gen >= 9 && aux_usage == ISL_AUX_USAGE_HIZ) in anv_image_fill_surface_state()
937 const uint64_t aux_address = aux_usage == ISL_AUX_USAGE_NONE ? in anv_image_fill_surface_state()
948 assert(aux_usage == ISL_AUX_USAGE_NONE); in anv_image_fill_surface_state()
964 assert(aux_usage == ISL_AUX_USAGE_NONE); in anv_image_fill_surface_state()
[all …]
DgenX_cmd_buffer.c240 att_state->aux_usage = ISL_AUX_USAGE_NONE; in color_attachment_compute_aux_usage()
244 } else if (iview->image->planes[0].aux_usage == ISL_AUX_USAGE_MCS) { in color_attachment_compute_aux_usage()
245 att_state->aux_usage = ISL_AUX_USAGE_MCS; in color_attachment_compute_aux_usage()
249 } else if (iview->image->planes[0].aux_usage == ISL_AUX_USAGE_CCS_E) { in color_attachment_compute_aux_usage()
250 att_state->aux_usage = ISL_AUX_USAGE_CCS_E; in color_attachment_compute_aux_usage()
253 att_state->aux_usage = ISL_AUX_USAGE_CCS_D; in color_attachment_compute_aux_usage()
336 iview->image->planes[0].aux_usage == ISL_AUX_USAGE_NONE)) { in color_attachment_compute_aux_usage()
381 if (image->planes[0].aux_usage != ISL_AUX_USAGE_HIZ || initial_layout == final_layout) in transition_depth_buffer()
473 enum isl_aux_usage aux_usage = image->planes[plane].aux_usage; in init_fast_clear_state_entry() local
482 aux_usage == ISL_AUX_USAGE_NONE); in init_fast_clear_state_entry()
[all …]
Dgen8_cmd_buffer.c330 assert(ds_iview && ds_iview->image->planes[0].aux_usage == ISL_AUX_USAGE_HIZ); in want_stencil_pma_fix()
Danv_private.h1655 enum isl_aux_usage aux_usage; member
2455 enum isl_aux_usage aux_usage; member
2693 enum isl_aux_usage aux_usage,
/external/mesa3d/src/intel/blorp/
Dblorp.c93 info->aux_usage = surf->aux_usage; in brw_blorp_surface_info_init()
94 if (info->aux_usage != ISL_AUX_USAGE_NONE) { in brw_blorp_surface_info_init()
Dblorp_genX_exec.h1263 enum isl_aux_usage aux_usage = surface->aux_usage; in blorp_emit_surface_state() local
1264 if (aux_usage == ISL_AUX_USAGE_HIZ) in blorp_emit_surface_state()
1265 aux_usage = ISL_AUX_USAGE_NONE; in blorp_emit_surface_state()
1281 .aux_surf = &surface->aux_surf, .aux_usage = aux_usage, in blorp_emit_surface_state()
1289 if (aux_usage != ISL_AUX_USAGE_NONE) { in blorp_emit_surface_state()
1457 info.hiz_usage = params->depth.aux_usage; in blorp_emit_depth_stencil_config()
Dblorp_blit.c1645 wm_prog_key->tex_aux_usage = params->src.aux_usage; in try_blorp_blit()
2424 assert(params.src.aux_usage == ISL_AUX_USAGE_NONE || in blorp_copy()
2425 params.src.aux_usage == ISL_AUX_USAGE_MCS || in blorp_copy()
2426 params.src.aux_usage == ISL_AUX_USAGE_CCS_E); in blorp_copy()
2427 assert(params.dst.aux_usage == ISL_AUX_USAGE_NONE || in blorp_copy()
2428 params.dst.aux_usage == ISL_AUX_USAGE_MCS || in blorp_copy()
2429 params.dst.aux_usage == ISL_AUX_USAGE_CCS_E); in blorp_copy()
2431 if (params.dst.aux_usage == ISL_AUX_USAGE_CCS_E) { in blorp_copy()
2433 if (params.src.aux_usage == ISL_AUX_USAGE_CCS_E) { in blorp_copy()
2441 } else if (params.src.aux_usage == ISL_AUX_USAGE_CCS_E) { in blorp_copy()
[all …]
Dblorp_priv.h56 enum isl_aux_usage aux_usage; member
Dblorp.h101 enum isl_aux_usage aux_usage; member