Mesa (master): softpipe: enable primitive restart
Brian Paul
brianp at kemper.freedesktop.org
Fri Oct 22 01:11:17 UTC 2010
Module: Mesa
Branch: master
Commit: 27d3bab05538a6b4cb41dac8334136f824b0e673
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=27d3bab05538a6b4cb41dac8334136f824b0e673
Author: Brian Paul <brianp at vmware.com>
Date: Thu Oct 21 19:03:38 2010 -0600
softpipe: enable primitive restart
---
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 37557d1..a2bfa1b 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -112,6 +112,8 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
return 1;
case PIPE_CAP_STREAM_OUTPUT:
return 1;
+ case PIPE_CAP_PRIMITIVE_RESTART:
+ return 1;
case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
return 0;
case PIPE_CAP_SHADER_STENCIL_EXPORT:
More information about the mesa-commit
mailing list