diff options
author | Marek Olšák <[email protected]> | 2010-07-21 22:31:59 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-07-21 22:54:34 +0200 |
commit | 1a3fa3e91089d534b8219518a44ae8ada66be3e3 (patch) | |
tree | 11baf1e9b85ebb58a782486632b22ad697159777 | |
parent | ca7ead03da4481cd34933175898f4a924e588ad4 (diff) |
llvmpipe: say no to depth clamp
The other drivers just return 0 without the assert.
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |