summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2013-10-15 18:08:26 -0700
committerJosé Fonseca <jfonseca@vmware.com>2013-10-15 18:22:57 -0700
commit85d7f6779fb007e8d0530adbdb9dc97294a0b67e (patch)
tree726dd414e567deccd1efa4e0dabe84cd7947fefb
parent3b3591cd152fb46eedad234c86745de972339459 (diff)
llvmpipe: Advertise PIPE_CAP_DEPTH_CLIP_DISABLE.
Actually implemented by draw module. Tested piglit ARB_depth_clamp tests, which pass 100%. Trivial.
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index b3cd77fe8d4..723e40ee41d 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -163,7 +163,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_PRIMITIVE_RESTART:
return 1;
case PIPE_CAP_DEPTH_CLIP_DISABLE:
- return 0;
+ return 1;
case PIPE_CAP_SHADER_STENCIL_EXPORT:
return 0;
case PIPE_CAP_TGSI_INSTANCEID: