Lines Matching refs:p_res

66                      struct pipe_resource *p_res,  in can_fast_clear_color()  argument
74 struct crocus_resource *res = (void *) p_res; in can_fast_clear_color()
84 box->width < u_minify(p_res->width0, level) || in can_fast_clear_color()
85 box->height < u_minify(p_res->height0, level)) { in can_fast_clear_color()
126 struct pipe_resource *p_res = (void *) res; in convert_fast_clear_color() local
128 const enum pipe_format format = p_res->format; in convert_fast_clear_color()
208 struct pipe_resource *p_res = (void *) res; in fast_clear_color() local
301 p_res, res->aux.usage, level, true); in fast_clear_color()
327 struct pipe_resource *p_res, in clear_color() argument
335 struct crocus_resource *res = (void *) p_res; in clear_color()
349 if (p_res->target == PIPE_BUFFER) in clear_color()
354 bool can_fast_clear = can_fast_clear_color(ice, p_res, level, box, in clear_color()
371 p_res, aux_usage, level, true); in clear_color()
402 struct pipe_resource *p_res = (void *) res; in can_fast_clear_depth() local
415 box->width < u_minify(p_res->width0, level) || in can_fast_clear_depth()
416 box->height < u_minify(p_res->height0, level)) { in can_fast_clear_depth()
457 struct pipe_resource *p_res = (void *) res; in fast_clear_depth() local
466 const unsigned nbits = p_res->format == PIPE_FORMAT_Z16_UNORM ? 16 : 24; in fast_clear_depth()
468 depth = p_res->format == PIPE_FORMAT_Z32_FLOAT ? depth : in fast_clear_depth()
540 struct pipe_resource *p_res, in clear_depth_stencil() argument
549 struct crocus_resource *res = (void *) p_res; in clear_depth_stencil()
569 crocus_get_depth_stencil_resources(&batch->screen->devinfo, p_res, &z_res, &stencil_res); in clear_depth_stencil()
709 struct pipe_resource *p_res, in crocus_clear_texture() argument
717 struct crocus_resource *res = (void *) p_res; in crocus_clear_texture()
720 util_clear_texture(ctx, p_res, in crocus_clear_texture()
728 if (util_format_is_depth_or_stencil(p_res->format)) { in crocus_clear_texture()
730 util_format_unpack_description(p_res->format); in crocus_clear_texture()
741 clear_depth_stencil(ice, p_res, level, box, true, true, true, in crocus_clear_texture()
745 struct crocus_resource *res = (void *) p_res; in crocus_clear_texture()
771 clear_color(ice, p_res, level, box, true, format, in crocus_clear_texture()