From: José Fonseca Date: Wed, 16 Oct 2013 01:08:26 +0000 (-0700) Subject: llvmpipe: Advertise PIPE_CAP_DEPTH_CLIP_DISABLE. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85d7f6779fb007e8d0530adbdb9dc97294a0b67e;p=mesa.git llvmpipe: Advertise PIPE_CAP_DEPTH_CLIP_DISABLE. Actually implemented by draw module. Tested piglit ARB_depth_clamp tests, which pass 100%. Trivial. --- 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: