Mesa (bug-109980): iris: Enable auxiliary buffer support again

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Mar 14 13:04:18 UTC 2019


Module: Mesa
Branch: bug-109980
Commit: 2b2b449dd146c43860c71eb05f0f02ee2ad69854
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b2b449dd146c43860c71eb05f0f02ee2ad69854

Author: Rafael Antognolli <rafael.antognolli at intel.com>
Date:   Thu Feb 21 17:51:26 2019 -0800

iris: Enable auxiliary buffer support again

Now that we are properly resolving buffers before giving them to the
window system, let's enable aux support again.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

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

diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c
index 8bc162f797c..1dc13ad16a6 100644
--- a/src/gallium/drivers/iris/iris_resource.c
+++ b/src/gallium/drivers/iris/iris_resource.c
@@ -584,9 +584,6 @@ 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