diff options
author | Boris Brezillon <[email protected]> | 2019-11-14 09:35:27 +0100 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2019-11-29 10:20:29 +0100 |
commit | c6e2096c47f05aab6807325799bf0b6a4092084d (patch) | |
tree | f7a32d0091f2fca37b16079bee11fc101395ee6c /src/mesa/drivers/dri/meson.build | |
parent | b196e1a8cfbd2c6b53f688542bcda5bb8f7f8888 (diff) |
panfrost: Make sure we reset the damage region of RTs at flush time
We must reset the damage info of our render targets here even though a
damage reset normally happens when the DRI layer swaps buffers. That's
because there can be implicit flushes the GL app is not aware of, and
those might impact the damage region: if part of the damaged portion
is drawn during those implicit flushes, you have to reload those areas
before next draws are pushed, and since the driver can't easily know
what's been modified by the draws it flushed, the easiest solution is
to reload everything.
Reported-by: Carsten Haitzler <[email protected]>
Fixes: 65ae86b85422 ("panfrost: Add support for KHR_partial_update()")
Cc: <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Acked-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/meson.build')
0 files changed, 0 insertions, 0 deletions