aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-06-05 11:46:22 -0700
committerJason Ekstrand <[email protected]>2017-06-07 08:54:54 -0700
commit252b004a51d951391846ec5644abe88bfffb72bd (patch)
treeaeb84a2f7b301dbfa2f2a20275c4a4be048473b7 /src/mesa/drivers/dri/i965/intel_mipmap_tree.c
parentf9fd976e8adba733b08dacd597e09a513503c116 (diff)
i965/blorp: Take a layer range in intel_hiz_exec
Cc: "17.1" <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_mipmap_tree.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_mipmap_tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
index 9e9c1d08f01..160588c0296 100644
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
@@ -1991,7 +1991,7 @@ intel_miptree_slice_resolve(struct brw_context *brw,
if (!item || item->need != need)
return false;
- intel_hiz_exec(brw, mt, level, layer, need);
+ intel_hiz_exec(brw, mt, level, layer, 1, need);
intel_resolve_map_remove(item);
return true;
}
@@ -2027,7 +2027,7 @@ intel_miptree_all_slices_resolve(struct brw_context *brw,
if (map->need != need)
continue;
- intel_hiz_exec(brw, mt, map->level, map->layer, need);
+ intel_hiz_exec(brw, mt, map->level, map->layer, 1, need);
intel_resolve_map_remove(map);
did_resolve = true;
}