Re: [Mesa-dev] [PATCH 2/4] i965: Reset miptree aux state on update_image_buffer

2017-09-18 Thread Chad Versace
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

[Mesa-dev] [PATCH 2/4] i965: Reset miptree aux state on update_image_buffer

2017-09-12 Thread Jason Ekstrand
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_us