summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-12-08 19:02:43 -0700
committerBrian Paul <[email protected]>2010-12-08 19:04:16 -0700
commitcf2184f05717deb860aaaa031fbac48c89865ddd (patch)
treec2883e3845868d19e30eafdd4176953f99d8de43 /src/gallium/drivers
parent1d6f3543a063ab9e740fd0c149dcce26c282d773 (diff)
softpipe: enable instanced drawing cap
Diffstat (limited to 'src/gallium/drivers')
-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 5f171d314a3..9b54babdfb7 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -123,6 +123,8 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
return 0;
case PIPE_CAP_SHADER_STENCIL_EXPORT:
return 1;
+ case PIPE_CAP_INSTANCED_DRAWING:
+ return 1;
default:
return 0;
}