From: Marek Olšák Date: Wed, 21 Jul 2010 20:31:59 +0000 (+0200) Subject: llvmpipe: say no to depth clamp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a3fa3e91089d534b8219518a44ae8ada66be3e3;p=mesa.git llvmpipe: say no to depth clamp The other drivers just return 0 without the assert. --- diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index f7f1635ef96..167cb2ee2e0 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -169,6 +169,8 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) return 1; case PIPE_CAP_GEOMETRY_SHADER4: return 1; + case PIPE_CAP_DEPTH_CLAMP: + return 0; default: assert(0); return 0;