gallium/swr: Fix glClear when it's used with glEnable/glDisable GL_SCISSOR_TEST
authorKrzysztof Raszkowski <krzysztof.raszkowski@intel.com>
Fri, 9 Aug 2019 15:04:57 +0000 (17:04 +0200)
committerKrzysztof Raszkowski <krzysztof.raszkowski@intel.com>
Fri, 9 Aug 2019 16:56:13 +0000 (18:56 +0200)
commitc0ab268f9c2f5a608eaa5102a0aca4ba34c85a1a
treea27d6e0768a92629a48d25e445ee7c46f283ad73
parentd6f8ce1c96e39f4d0309a337b7839aee3b330a87
gallium/swr: Fix glClear when it's used with glEnable/glDisable GL_SCISSOR_TEST

When GL_SCISSOR_TEST is enabled glClear is handled by state tracker
and there is no need to do this in gallium driver.

Reviewed-by: Alok Hota alok.hota@intel.com
src/gallium/drivers/swr/swr_clear.cpp