Lines Matching refs:p_res

68                      struct pipe_resource *p_res,  in can_fast_clear_color()  argument
75 struct iris_resource *res = (void *) p_res; in can_fast_clear_color()
85 box->width < u_minify(p_res->width0, level) || in can_fast_clear_color()
86 box->height < u_minify(p_res->height0, level)) { in can_fast_clear_color()
136 if (level > 0 && util_format_get_blocksizebits(p_res->format) == 8 && in can_fast_clear_color()
137 res->aux.usage == ISL_AUX_USAGE_GFX12_CCS_E && p_res->width0 % 64) { in can_fast_clear_color()
172 struct pipe_resource *p_res = (void *) res; in fast_clear_color() local
280 p_res, res->aux.usage, level, true); in fast_clear_color()
306 struct pipe_resource *p_res, in clear_color() argument
314 struct iris_resource *res = (void *) p_res; in clear_color()
328 if (p_res->target == PIPE_BUFFER) in clear_color()
333 bool can_fast_clear = can_fast_clear_color(ice, p_res, level, box, in clear_color()
350 p_res, aux_usage, level, true); in clear_color()
385 struct pipe_resource *p_res = (void *) res; in can_fast_clear_depth() local
395 box->width < u_minify(p_res->width0, level) || in can_fast_clear_depth()
396 box->height < u_minify(p_res->height0, level)) { in can_fast_clear_depth()
513 struct pipe_resource *p_res, in clear_depth_stencil() argument
522 struct iris_resource *res = (void *) p_res; in clear_depth_stencil()
542 iris_get_depth_stencil_resources(p_res, &z_res, &stencil_res); in clear_depth_stencil()
676 struct pipe_resource *p_res, in iris_clear_texture() argument
685 if (util_format_is_depth_or_stencil(p_res->format)) { in iris_clear_texture()
687 util_format_unpack_description(p_res->format); in iris_clear_texture()
693 util_format_unpack_z_float(p_res->format, &depth, data, 1); in iris_clear_texture()
696 util_format_unpack_s_8uint(p_res->format, &stencil, data, 1); in iris_clear_texture()
698 clear_depth_stencil(ice, p_res, level, box, true, true, true, in iris_clear_texture()
702 struct iris_resource *res = (void *) p_res; in iris_clear_texture()
728 clear_color(ice, p_res, level, box, true, format, in iris_clear_texture()