Mesa (master): Revert "iris: Enable auxiliary buffer support"

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Feb 21 23:51:12 UTC 2019


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Feb 21 15:50:14 2019 -0800

Revert "iris: Enable auxiliary buffer support"

This reverts commit cd0ced49e7957182d23e21657445b720184ea425.

It breaks glxgears rendering.

---

 src/gallium/drivers/iris/iris_resource.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c
index 978bbb656cb..b5829e94b36 100644
--- a/src/gallium/drivers/iris/iris_resource.c
+++ b/src/gallium/drivers/iris/iris_resource.c
@@ -584,6 +584,9 @@ iris_resource_create_with_modifiers(struct pipe_screen *pscreen,
       }
    }
 
+   // XXX: we don't actually do aux yet
+   res->aux.possible_usages = 1 << ISL_AUX_USAGE_NONE;
+
    res->aux.usage = util_last_bit(res->aux.possible_usages) - 1;
 
    const char *name = "miptree";




More information about the mesa-commit mailing list