summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_clear.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-12-07 18:13:07 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:12 -0800
commit3c979b0e6d9e4d7a880cebcee514238ecb6baf61 (patch)
tree1b83a4598fbbb13ae8251b3d7faaf98e683584d0 /src/gallium/drivers/iris/iris_clear.c
parent53c484ba8acdce11224e98a1d15e5619b8fcb554 (diff)
iris: add some draw resolve hooks
Diffstat (limited to 'src/gallium/drivers/iris/iris_clear.c')
-rw-r--r--src/gallium/drivers/iris/iris_clear.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_clear.c b/src/gallium/drivers/iris/iris_clear.c
index 1fa85241723..11b0a55ba41 100644
--- a/src/gallium/drivers/iris/iris_clear.c
+++ b/src/gallium/drivers/iris/iris_clear.c
@@ -68,7 +68,7 @@ clear_color(struct iris_context *ice,
iris_resource_render_aux_usage(ice, res, format,
false, false);
- iris_resource_prepare_render(ice, res, level,
+ iris_resource_prepare_render(ice, batch, res, level,
box->z, box->depth, aux_usage);
struct blorp_surf surf;
@@ -128,7 +128,7 @@ clear_depth_stencil(struct iris_context *ice,
iris_get_depth_stencil_resources(p_res, &z_res, &stencil_res);
if (z_res) {
- iris_resource_prepare_depth(ice, z_res, level, box->z, box->depth);
+ iris_resource_prepare_depth(ice, batch, z_res, level, box->z, box->depth);
iris_blorp_surf_for_resource(&z_surf, &z_res->base,
z_res->aux.usage, true);
}