summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-08-21 21:59:23 -0400
committerMarek Olšák <[email protected]>2018-09-06 21:53:00 -0400
commitdaa19363def83c025ccf16106b3402268bf1f56f (patch)
tree94fd791ebf78e36f29ddf8c8cd665a3731688d6e /src/gallium/auxiliary/hud
parent7b26741806c521279a1b83f2eae40a277d806626 (diff)
gallium: split depth_clip into depth_clip_near & depth_clip_far
for AMD_depth_clamp_separate.
Diffstat (limited to 'src/gallium/auxiliary/hud')
-rw-r--r--src/gallium/auxiliary/hud/hud_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c
index 3dd7c102edb..9f9db850a71 100644
--- a/src/gallium/auxiliary/hud/hud_context.c
+++ b/src/gallium/auxiliary/hud/hud_context.c
@@ -1860,7 +1860,8 @@ hud_create(struct cso_context *cso, struct hud_context *share)
/* rasterizer */
hud->rasterizer.half_pixel_center = 1;
hud->rasterizer.bottom_edge_rule = 1;
- hud->rasterizer.depth_clip = 1;
+ hud->rasterizer.depth_clip_near = 1;
+ hud->rasterizer.depth_clip_far = 1;
hud->rasterizer.line_width = 1;
hud->rasterizer.line_last_pixel = 1;