Skip to content

gallium/u_threaded: do not apply start twice

Erik Faye-Lund requested to merge kusma/mesa:tc-coverity-fix into main

We already apply start when setting the bits in writable_buffer, so shifting the bits up by start just makes us apply the offset twice.

Caught by Coverity.

Fixes: 988d0917 ("gallium/u_threaded: clear valid buffer range only if it's not bound for write")

Merge request reports