dad5c1184f
Will be needed for partial interleaved depth/stencil copies where the image is treated as a color image with some components assigned to the depth and others assigned to the stencil. If only one aspect is copies using a graphics pipeline, we need to preserve components assigned to the other aspect, and an easy way to do that is to tweak the color attachment write mask. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Suggested-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29333>