summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_screen.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-09-27 21:02:15 +0200
committerMarek Olšák <[email protected]>2015-10-20 12:51:51 +0200
commitd74e7b6fb9dca5622c17413821d4cfcc67472e76 (patch)
tree614d9f104d536c6c40de5052377e68cee7a55869 /src/gallium/drivers/softpipe/sp_screen.c
parent12321966aec5e635c51208f409737dd1ddc3c883 (diff)
gallium: add PIPE_CAP_SHAREABLE_SHADERS
I'll let drivers figure out how to do it. Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_screen.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index d468cf4de54..e7006d2fa0d 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -248,6 +248,7 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_DEPTH_BOUNDS_TEST:
case PIPE_CAP_TGSI_TXQS:
case PIPE_CAP_FORCE_PERSAMPLE_INTERP:
+ case PIPE_CAP_SHAREABLE_SHADERS:
return 0;
}
/* should only get here on unhandled cases */