Module: Mesa
Branch: gallium-depth-clamp
Commit: b709891fceea9181b799a754c1d6de0a1609fb65
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b709891fceea9181b799a754c1d6de0a1609fb65

Author: Marek Olšák <mar...@gmail.com>
Date:   Tue Jul 20 20:57:43 2010 +0200

softpipe: advertise depth clamp

---

 src/gallium/drivers/softpipe/sp_screen.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_screen.c 
b/src/gallium/drivers/softpipe/sp_screen.c
index 93af6ee..01a7399 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -152,6 +152,8 @@ softpipe_get_param(struct pipe_screen *screen, enum 
pipe_cap param)
 
    case PIPE_CAP_GEOMETRY_SHADER4:
       return 1;
+   case PIPE_CAP_DEPTH_CLAMP:
+      return 1;
    default:
       return 0;
    }

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to