i915g: Fix off-by-one in constant count assertion.
authorEmma Anholt <emma@anholt.net>
Mon, 28 Jun 2021 03:30:27 +0000 (20:30 -0700)
committerEmma Anholt <emma@anholt.net>
Mon, 28 Jun 2021 22:01:37 +0000 (15:01 -0700)
commit71617c33284f728167010f0af2c267a8b7fad271
treebac6e1c1a568adfbe983d13aa0e26e8e05fba74c
parentccc9418b27d06e8880cc9158d06df1e7fbe40eef
i915g: Fix off-by-one in constant count assertion.

You can have up to C[31].

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11617>
src/gallium/drivers/i915/ci/piglit-i915-g33-fails.txt
src/gallium/drivers/i915/i915_state_emit.c