summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_screen.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-10-06 09:32:32 +1000
committerDave Airlie <[email protected]>2010-10-13 09:30:04 +1000
commitd8f6ef456581644ab9444a1ed23542c2b0fff9e4 (patch)
tree88b0e8615ec9eda6aeac7c5b88e71731a65dace6 /src/gallium/drivers/softpipe/sp_screen.c
parentc79e681a68a1ef73cdb756f7b46b2a1df1bcc710 (diff)
softpipe: add support for shader stencil export capability
this allows softpipe to be used to test shader stencil ref exporting. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_screen.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_screen.c2
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 2053d02f628..37557d11940 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -114,6 +114,8 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
return 1;
case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
return 0;
+ case PIPE_CAP_SHADER_STENCIL_EXPORT:
+ return 1;
default:
return 0;
}