freedreno: scissor vs disabled scissor micro-opt
authorRob Clark <robdclark@chromium.org>
Wed, 22 Apr 2020 22:26:02 +0000 (15:26 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Apr 2020 20:03:17 +0000 (20:03 +0000)
commitf62cad6b7f8d6061dccc1fe548aee1477805d3e8
treea9a5e3a820f60b8e9b33872292a056e8cb75e417
parent373e9ab27c767b13846c81d1c20102bc583415e4
freedreno: scissor vs disabled scissor micro-opt

We don't need to deref and check rast state every time scissor changes,
only when rast state changes.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4813>
src/gallium/drivers/freedreno/freedreno_context.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_state.c