Lines Matching defs:usage
2704 isl_surf_usage_flags_t usage = ISL_SURF_USAGE_TEXTURE_BIT;
2708 usage |= ISL_SURF_USAGE_CUBE_BIT;
2711 crocus_format_for_usage(devinfo, tmpl->format, usage);
2741 .usage = usage,
2838 isl_surf_usage_flags_t usage = 0;
2840 usage = ISL_SURF_USAGE_STORAGE_BIT;
2842 usage = ISL_SURF_USAGE_DEPTH_BIT;
2844 usage = ISL_SURF_USAGE_RENDER_TARGET_BIT;
2847 crocus_format_for_usage(devinfo, tmpl->format, usage);
2849 if ((usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) &&
2886 .usage = usage,
2898 .usage = ISL_SURF_USAGE_TEXTURE_BIT,
2905 if (res->surf.usage & (ISL_SURF_USAGE_DEPTH_BIT |
2934 .bind = (usage & ISL_SURF_USAGE_DEPTH_BIT ? PIPE_BIND_DEPTH_STENCIL : PIPE_BIND_RENDER_TARGET) | PIPE_BIND_SAMPLER_VIEW,
3080 isl_surf_usage_flags_t usage = ISL_SURF_USAGE_STORAGE_BIT;
3082 crocus_format_for_usage(devinfo, img->format, usage);
3104 .usage = usage,
3116 .usage = usage,
3463 aux_usage = zres->aux.usage;
7472 view.usage |= ISL_SURF_USAGE_DEPTH_BIT;
7483 info.hiz_usage = zres->aux.usage;
7506 view.usage |= ISL_SURF_USAGE_STENCIL_BIT;
7507 info.stencil_aux_usage = sres->aux.usage;