i915g: Fix polygon offset by telling draw the Z format.
authorEmma Anholt <emma@anholt.net>
Wed, 18 Aug 2021 23:50:39 +0000 (16:50 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 19 Aug 2021 17:28:14 +0000 (17:28 +0000)
commitda3f20a3ab4eebf48f72f9939a814899fec5c282
treed7b8d7a7fde2b678ceb65ab79742699aec395b05
parent8e5e70bb3de7f75ab1b039e2cec2975ba59e4af7
i915g: Fix polygon offset by telling draw the Z format.

This is what initializes the MRD for draw's polygon offset calculations.

Closes: #4976
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12436>
src/gallium/drivers/i915/ci/deqp-i915-g33-fails.txt
src/gallium/drivers/i915/ci/piglit-i915-g33-fails.txt
src/gallium/drivers/i915/ci/traces-i915.yml
src/gallium/drivers/i915/i915_state.c