diff options
author | Kenneth Graunke <[email protected]> | 2018-06-24 15:16:34 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:07 -0800 |
commit | 72416a2d0d98038476f0bf04bb67263197a2bdfd (patch) | |
tree | 5f3828c1f7a4f89c379b18b84c14bef223c930a9 /src/gallium/drivers/iris/iris_blit.c | |
parent | eef0d33cee9f3891984e2dac1d7a77c988df7de1 (diff) |
iris: clears
Diffstat (limited to 'src/gallium/drivers/iris/iris_blit.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_blit.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gallium/drivers/iris/iris_blit.c b/src/gallium/drivers/iris/iris_blit.c index 9c328ac12f1..f6b6e3b1530 100644 --- a/src/gallium/drivers/iris/iris_blit.c +++ b/src/gallium/drivers/iris/iris_blit.c @@ -32,11 +32,11 @@ #include "iris_resource.h" #include "iris_screen.h" -static void -blorp_surf_for_resource(struct blorp_surf *surf, - struct pipe_resource *p_res, - enum isl_aux_usage aux_usage, - bool is_render_target) +void +iris_blorp_surf_for_resource(struct blorp_surf *surf, + struct pipe_resource *p_res, + enum isl_aux_usage aux_usage, + bool is_render_target) { struct iris_resource *res = (void *) p_res; @@ -72,10 +72,10 @@ iris_blit(struct pipe_context *ctx, const struct pipe_blit_info *info) { struct iris_context *ice = (void *) ctx; struct blorp_surf src_surf, dst_surf; - blorp_surf_for_resource(&src_surf, info->src.resource, ISL_AUX_USAGE_NONE, - false); - blorp_surf_for_resource(&dst_surf, info->dst.resource, ISL_AUX_USAGE_NONE, - true); + iris_blorp_surf_for_resource(&src_surf, info->src.resource, + ISL_AUX_USAGE_NONE, false); + iris_blorp_surf_for_resource(&dst_surf, info->dst.resource, + ISL_AUX_USAGE_NONE, true); enum isl_format src_isl_format = iris_get_blorp_format(info->src.format); enum isl_format dst_isl_format = iris_get_blorp_format(info->dst.format); |