Skip to content
Commit 6a47baa6 authored by Owen Taylor's avatar Owen Taylor Committed by Dave Airlie
Browse files

i915: Don't attempt to short-circuit object_wait_rendering by checking domains.



This could return early when reading after writing a buffer, if somebody
had already put it on the flushing list (write domains are 0, but still
active), leading to glReadPixels failure.

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent ad42ca8f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment