diff options
author | Axel Davy <[email protected]> | 2016-06-14 23:24:24 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-06-25 10:16:15 +0200 |
commit | b76fa5673924ce09e28f3000808e3bd50ffe4570 (patch) | |
tree | c9846c29bdc634f15f6be86b1411dc18eac1c280 /src/gallium/state_trackers/nine/device9.h | |
parent | f6704f2a4db7113e597d4bab2cefc02e166c2ad9 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/device9.h')
-rw-r--r-- | src/gallium/state_trackers/nine/device9.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/device9.h b/src/gallium/state_trackers/nine/device9.h index 73a43cf08ff..d584a3558ab 100644 --- a/src/gallium/state_trackers/nine/device9.h +++ b/src/gallium/state_trackers/nine/device9.h @@ -121,6 +121,7 @@ struct NineDevice9 boolean window_space_position_support; boolean vs_integer; boolean ps_integer; + boolean offset_units_unscaled; } driver_caps; struct { |