anv: fix incorrect asserts when combining CPS and per sample interpolation
authorRohan Garg <rohan.garg@intel.com>
Tue, 30 May 2023 16:10:53 +0000 (18:10 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 31 May 2023 19:26:59 +0000 (19:26 +0000)
commitef2b763d9c7f35661dc0154450c80b86122a026b
tree0f4378e077561dd2b67c0f1127e3fea14cf07ee2
parentdc07e0d3feaaf5390db659bd999f1a97fa89ff64
anv: fix incorrect asserts when combining CPS and per sample interpolation

CPS is dynamically turned off when per sample interpolation is active.
Update the asserts to reflect this.

Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 5644011f06 ("intel/compiler: Convert wm_prog_key::persample_interp to a tri-state")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23103>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs_visitor.cpp