Module: Mesa
Branch: master
Commit: 62831815e69f4d998c6fc319a5a66182abad9665
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=62831815e69f4d998c6fc319a5a66182abad9665

Author: Nanley Chery <[email protected]>
Date:   Mon Dec 14 21:29:00 2020 -0800

iris: Delete redundant assertion in iris_hiz_exec

There's an iris_resource_level_has_hiz assert at the top of the
function. Also, aux surfaces are allocated in the same BO as main
surfaces.

Reviewed-by: Kenneth Graunke <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8853>

---

 src/gallium/drivers/iris/iris_resolve.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gallium/drivers/iris/iris_resolve.c 
b/src/gallium/drivers/iris/iris_resolve.c
index cdd0c352a44..45787a1c6df 100644
--- a/src/gallium/drivers/iris/iris_resolve.c
+++ b/src/gallium/drivers/iris/iris_resolve.c
@@ -546,8 +546,6 @@ iris_hiz_exec(struct iris_context *ice,
                                 PIPE_CONTROL_DEPTH_STALL |
                                 PIPE_CONTROL_CS_STALL);
 
-   assert(isl_aux_usage_has_hiz(res->aux.usage) && res->aux.bo);
-
    iris_batch_sync_region_start(batch);
 
    struct blorp_surf surf;

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to