diff options
author | Marek Olšák <[email protected]> | 2018-08-21 21:59:23 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-09-06 21:53:00 -0400 |
commit | daa19363def83c025ccf16106b3402268bf1f56f (patch) | |
tree | 94fd791ebf78e36f29ddf8c8cd665a3731688d6e /src/gallium/state_trackers/xa | |
parent | 7b26741806c521279a1b83f2eae40a277d806626 (diff) |
gallium: split depth_clip into depth_clip_near & depth_clip_far
for AMD_depth_clamp_separate.
Diffstat (limited to 'src/gallium/state_trackers/xa')
-rw-r--r-- | src/gallium/state_trackers/xa/xa_renderer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xa/xa_renderer.c b/src/gallium/state_trackers/xa/xa_renderer.c index e3311232e77..d87a14e8088 100644 --- a/src/gallium/state_trackers/xa/xa_renderer.c +++ b/src/gallium/state_trackers/xa/xa_renderer.c @@ -121,7 +121,8 @@ renderer_init_state(struct xa_context *r) memset(&raster, 0, sizeof(struct pipe_rasterizer_state)); raster.half_pixel_center = 1; raster.bottom_edge_rule = 1; - raster.depth_clip = 1; + raster.depth_clip_near = 1; + raster.depth_clip_far = 1; raster.scissor = 1; cso_set_rasterizer(r->cso, &raster); |