lima: move clear into submit (v2)
authorQiang Yu <yuq825@gmail.com>
Wed, 5 Feb 2020 12:05:03 +0000 (20:05 +0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Feb 2020 02:54:15 +0000 (02:54 +0000)
commited117ee630f449fe6d2ed9e205a6dc80bed6dfa2
tree4ef57469463841f97bcf7d3a9b22023bb2563b50
parent4b93792274f363983949502315ca693a83fdfb56
lima: move clear into submit (v2)

clear info is needed when submit flush and may be changed after
framebuffer switch, so we need to move it into submit.

This also fixes 5 dEQP tests as a side effect: clear info is per
submit so clear value when one submit won't affect next submit.

v2:
remove fixed dEQP test from CI list.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3755>
.gitlab-ci/deqp-lima-fails.txt
src/gallium/drivers/lima/lima_context.h
src/gallium/drivers/lima/lima_draw.c
src/gallium/drivers/lima/lima_submit.c
src/gallium/drivers/lima/lima_submit.h