From 252b004a51d951391846ec5644abe88bfffb72bd Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 5 Jun 2017 11:46:22 -0700 Subject: i965/blorp: Take a layer range in intel_hiz_exec Cc: "17.1" Reviewed-by: Topi Pohjolainen --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/i965/intel_mipmap_tree.c') 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; } -- cgit v1.2.3