projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eaaceb
)
softpipe: enable primitive restart
author
Brian Paul
<brianp@vmware.com>
Fri, 22 Oct 2010 01:03:38 +0000
(19:03 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 22 Oct 2010 01:03:38 +0000
(19:03 -0600)
src/gallium/drivers/softpipe/sp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_screen.c
b/src/gallium/drivers/softpipe/sp_screen.c
index 37557d11940aaa88b6400b0c9a95efb93d7a08a0..a2bfa1bd8d55ec66fa863a71d2061f11b7868f56 100644
(file)
--- 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: