From 85d7f6779fb007e8d0530adbdb9dc97294a0b67e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Tue, 15 Oct 2013 18:08:26 -0700 Subject: [PATCH] llvmpipe: Advertise PIPE_CAP_DEPTH_CLIP_DISABLE. Actually implemented by draw module. Tested piglit ARB_depth_clamp tests, which pass 100%. Trivial. --- src/gallium/drivers/llvmpipe/lp_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2