iris: handle PIPE_CAP_CLEAR_SCISSORED
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 24 Mar 2020 15:58:29 +0000 (11:58 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 18:05:06 +0000 (18:05 +0000)
commit328cc00d39808191529fa359cc21fb935c9acc89
tree0d56fcfb8dfa85d49a99641cd27e0fc8dfd0c15c
parent1c8bcad81a7ce106b37f1ee4a75b817651d6545e
iris: handle PIPE_CAP_CLEAR_SCISSORED

this allows passing scissored clear calls through the driver where it can
be handled by a repclear shader

fix kwg/mesa#61

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4310>
src/gallium/drivers/iris/iris_clear.c
src/gallium/drivers/iris/iris_screen.c