svga: add cases for recently added PIPE_CAP queries
authorBrian Paul <brianp@vmware.com>
Mon, 30 Apr 2012 16:37:33 +0000 (10:37 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 30 Apr 2012 16:38:05 +0000 (10:38 -0600)
src/gallium/drivers/svga/svga_screen.c

index 0db2dd37fe56216ccd886afa700598000c07fd79..11655b394c83ff94bdfef4a68b4b3e3fea4388b6 100644 (file)
@@ -236,6 +236,9 @@ svga_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_TGSI_CAN_COMPACT_VARYINGS:
    case PIPE_CAP_TGSI_CAN_COMPACT_CONSTANTS:
    case PIPE_CAP_GLSL_FEATURE_LEVEL:
+   case PIPE_CAP_VERTEX_BUFFER_OFFSET_4BYTE_ALIGNED_ONLY:
+   case PIPE_CAP_VERTEX_BUFFER_STRIDE_4BYTE_ALIGNED_ONLY:
+   case PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY:
       return 0;
 
    default: