Lines Matching refs:res
94 * to be zeroed. Note that this also guarantees that res->surf.tiling
208 struct pipe_resource *res;
232 struct crocus_resource *res;
295 struct crocus_resource *res = (void *) p_res;
296 return res->bo;
324 struct pipe_resource *res,
330 *out_z = (void *)res;
331 *out_s = (void *)res;
335 if (res && res->format != PIPE_FORMAT_S8_UINT) {
336 *out_z = (void *) res;
337 *out_s = (void *) _crocus_resource_get_separate_stencil(res);
340 *out_s = (void *) res;
346 struct crocus_resource *res,
349 crocus_resource_get_clear_color(const struct crocus_resource *res);
362 struct crocus_resource *res);
363 uint32_t crocus_flush_bits_for_history(struct crocus_resource *res);
367 struct crocus_resource *res,
371 unsigned crocus_get_num_logical_layers(const struct crocus_resource *res,
374 void crocus_resource_disable_aux(struct crocus_resource *res);
382 struct crocus_resource *res,
415 struct crocus_resource *res,
444 struct crocus_resource *res, uint32_t level,
450 crocus_resource_get_aux_state(const struct crocus_resource *res,
464 struct crocus_resource *res, uint32_t level,
477 struct crocus_resource *res,
482 crocus_resource_prepare_access(ice, res, level, 1, layer, num_layers,
485 crocus_resource_finish_write(ice, res, level, layer, num_layers,
491 crocus_resource_get_image_offset(struct crocus_resource *res,
495 crocus_resource_texture_aux_usage(const struct crocus_resource *res)
497 return res->aux.usage == ISL_AUX_USAGE_MCS ? ISL_AUX_USAGE_MCS : ISL_AUX_USAGE_NONE;
501 struct crocus_resource *res,
507 crocus_resource_unfinished_aux_import(struct crocus_resource *res)
509 return res->base.b.next != NULL && res->mod_info &&
510 res->mod_info->aux_usage != ISL_AUX_USAGE_NONE;
514 struct crocus_resource *res);
516 bool crocus_has_invalid_primary(const struct crocus_resource *res,
520 void crocus_resource_check_level_layer(const struct crocus_resource *res,
523 bool crocus_resource_level_has_hiz(const struct crocus_resource *res,
525 bool crocus_has_color_unresolved(const struct crocus_resource *res,
530 struct crocus_resource *res,
535 struct crocus_resource *res, uint32_t level,
539 struct crocus_resource *res, uint32_t level,