Skip to content

i965: Use brw_batch_references in tex_busy check

Kenneth Graunke requested to merge kwg/mesa:brw-tex-busy-ref into master

If the batch references the buffer, we will have to flush the batch immediately before mapping it, at which point it will be busy.

(This bug has existed for a long time...even going back to BLT-era...)

Fixes: 77992319 ("i965/tex_image: Use meta for instead of the blitter PBO TexImage and GetTexImage") Fixes: d5d4ba91 ("i965/tex_subimage: use meta instead of the blitter for PBO TexSubImage")

Merge request reports