st/nine: Use offset_units_unscaled
authorAxel Davy <axel.davy@ens.fr>
Tue, 14 Jun 2016 21:24:24 +0000 (23:24 +0200)
committerAxel Davy <axel.davy@ens.fr>
Sat, 25 Jun 2016 08:16:15 +0000 (10:16 +0200)
commitb76fa5673924ce09e28f3000808e3bd50ffe4570
treec9846c29bdc634f15f6be86b1411dc18eac1c280
parentf6704f2a4db7113e597d4bab2cefc02e166c2ad9
st/nine: Use offset_units_unscaled

offset_units_unscaled enables proper support
for depth bias for gallium nine. Use it
if available.

Solves issues with some games using depth bias.
For example:
https://github.com/iXit/Mesa-3D/issues/220

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/device9.c
src/gallium/state_trackers/nine/device9.h
src/gallium/state_trackers/nine/nine_pipe.c
src/gallium/state_trackers/nine/nine_pipe.h
src/gallium/state_trackers/nine/nine_state.c