Skip to content

iris: Fix fence leak in iris_fence_flush

Danylo Piliaiev requested to merge GL/mesa:fix/iris/fence-flush-leak into master

Documentation for pipe_context::flush states:
"NOTE: use screen->fence_reference() (or equivalent) to transfer
new fence ref to **fence, to ensure that previous fence is unref'd"

Hence we need to unref previous out_fence.

Merge request reports