projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27d3bab
)
llvmpipe: 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/llvmpipe/lp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_screen.c
b/src/gallium/drivers/llvmpipe/lp_screen.c
index 96633d93654df5c5faf1ee08f175043e35780e6d..ad0ea75b3a3e765fcc6e53f0bb03b168abfd2b5c 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/
src/gallium/drivers/llvmpipe/lp_screen.c
@@
-158,6
+158,8
@@
llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT:
case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER:
return 0;
+ case PIPE_CAP_PRIMITIVE_RESTART:
+ return 1;
case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
return 1;
case PIPE_CAP_DEPTH_CLAMP: