Mesa (gallium-depth-clamp): softpipe: advertise depth clamp

Marek Olšák mareko at kemper.freedesktop.org
Wed Jul 21 08:47:16 UTC 2010


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

Author: Marek Olšák <maraeo at 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;
    }




More information about the mesa-commit mailing list