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

Author: Nanley Chery <[email protected]>
Date:   Thu Nov 12 16:59:12 2020 -0800

iris: Drop an XXX comment about sampling HiZ arrays

Contrary to the comment, i965 doesn't disable sampling with HiZ on 2D
arrays.

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

---

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

diff --git a/src/gallium/drivers/iris/iris_resolve.c 
b/src/gallium/drivers/iris/iris_resolve.c
index 86e108fc272..cdd0c352a44 100644
--- a/src/gallium/drivers/iris/iris_resolve.c
+++ b/src/gallium/drivers/iris/iris_resolve.c
@@ -483,7 +483,6 @@ iris_sample_with_depth_aux(const struct gen_device_info 
*devinfo,
     * There is no such blurb for 1D textures, but there is sufficient evidence
     * that this is broken on SKL+.
     */
-   // XXX: i965 disables this for arrays too, is that reasonable?
    return res->surf.samples == 1 && res->surf.dim == ISL_SURF_DIM_2D;
 }
 

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

Reply via email to