On Tue 12 Sep 2017, Jason Ekstrand wrote: > When we get a miptree in through glxBindImageEXT, we don't know the > current aux state so we have to assume the worst-case. If the image > gets recreated, everything is fine because miptreecreate_for_dri_image > sets it to the default. However, if our miptree is recycled, then we > may have stale aux_usage and we need to reset to the default otherwise > our aux_state tracking will get messed up. > --- > src/mesa/drivers/dri/i965/brw_context.c | 4 +++- > src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 19 +++++++++++++++++++ > src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 3 +++ > 3 files changed, 25 insertions(+), 1 deletion(-)
Reviewed-by: Chad Versace <chadvers...@chromium.org> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev