commit | 33a2f27ce96203bce6c10f59ac7c863379efa30d | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Fri Oct 30 13:31:26 2020 +1000 |
committer | Marge Bot <eric+marge@anholt.net> | Tue Nov 03 21:35:08 2020 +0000 |
tree | 7517f40da20a58d7f7f32081ae8890d383279eb0 | |
parent | ad3849259a88de04367857765f4b8d56d62dacbc [diff] |
lavapipe: don't write to pending clear aspects in cmd buffer When the cmd buffer is recorded, we record the attachments state into it, however we use the pending clear aspects to keep track of clears, but it should be kept in the state no overwrritten in the cmd buffer. Allocate some memory to store this hanging off the state. This fixes gears and radialblur demos. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7416>