From 95c21f12f321bb33ae8e1f1b255680ac8eeffade Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 26 Jun 2013 13:44:27 +0800 Subject: ilo: support PIPE_CAP_USER_INDEX_BUFFERS We want to access the user buffer, if available, when primitive restart is enabled and the restart index/primitive type is not natively supported. And since we are handling index buffer uploads in the driver with this change, we can also work around misalignment of index buffer offsets. --- src/gallium/drivers/ilo/ilo_screen.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gallium/drivers/ilo/ilo_screen.c') diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c index aaceb7a6494..3f7c8cfab55 100644 --- a/src/gallium/drivers/ilo/ilo_screen.c +++ b/src/gallium/drivers/ilo/ilo_screen.c @@ -391,7 +391,6 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_COMPUTE: return false; /* TODO */ case PIPE_CAP_USER_INDEX_BUFFERS: - return false; case PIPE_CAP_USER_CONSTANT_BUFFERS: return true; case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: -- cgit v1.2.3