Mesa (master): llvmpipe: Advertise PIPE_CAP_DEPTH_CLIP_DISABLE.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Wed Oct 16 01:23:00 UTC 2013
Module: Mesa
Branch: master
Commit: 85d7f6779fb007e8d0530adbdb9dc97294a0b67e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85d7f6779fb007e8d0530adbdb9dc97294a0b67e
Author: José Fonseca <jfonseca at vmware.com>
Date: Tue Oct 15 18:08:26 2013 -0700
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 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 b3cd77f..723e40e 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:
More information about the mesa-commit
mailing list