summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_rgtc.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-09-12 15:24:40 -0700
committerJason Ekstrand <[email protected]>2017-09-18 12:16:50 -0700
commite97f4b748094466567c7f3bad1a02ecee13db9c8 (patch)
tree316bab5c566a7be5c2366ce819bcf8a22938c760 /src/mesa/main/texcompress_rgtc.c
parent400ffa748ec95bc8733f92084818cd073193669a (diff)
i965: Reset miptree aux state on update_image_buffer
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. Reviewed-by: Topi Pohjolainen <[email protected]> Reviewed-by: Daniel Stone <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress_rgtc.c')
0 files changed, 0 insertions, 0 deletions