Skip to content

iris: Fix aux assertion in resource_get_handle

Nanley Chery requested to merge nchery/mesa:wip/fix/display-ccs into master

iris_resource_get_handle currently asserts that the resource has an aux state that is suitable for sharing. However, the caller of this function can pass a flag to specify that it will handle flushing/resolving the resource as needed for sharing. Take this flag into account when asserting the state of the aux buffer.

/cc @rantogno

Edited by Nanley Chery

Merge request reports