summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-10-21 19:03:38 -0600
committerBrian Paul <brianp@vmware.com>2010-10-21 19:03:38 -0600
commit6692ed6f03126625810d56102a11171928e054c7 (patch)
tree99ab6fe8d5397c8b09e2ab3f022cf3c430ee657a
parent27d3bab05538a6b4cb41dac8334136f824b0e673 (diff)
llvmpipe: enable primitive restart
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index 96633d9365..ad0ea75b3a 100644
--- 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: