On at least Kepler hardware, the units differ based on RT format. Emit a properly scaled value for Z16 depth buffers vs other formats, to help out st/nine.
89a7496 nvc0: provide support for unscaled poly offset units
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 +-
src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 6 ++++--
.../drivers/nouveau/nvc0/nvc0_state_validate.c | 21 ++++++++++++++++++++
3 files changed, 26 insertions(+), 3 deletions(-)
Upstream: cgit.freedesktop.org