gallium: fix cap warnings for tbo cap.
authorDave Airlie <airlied@gmail.com>
Tue, 11 Dec 2012 21:15:31 +0000 (07:15 +1000)
committerDave Airlie <airlied@gmail.com>
Tue, 11 Dec 2012 21:16:02 +0000 (07:16 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/svga/svga_screen.c

index de5e4a19d53ea0b4deff527c8c1e9fd79c9f7010..a6fdf391894495e0f8491840d750195603837be5 100644 (file)
@@ -154,6 +154,7 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
         case PIPE_CAP_QUERY_TIMESTAMP:
         case PIPE_CAP_TEXTURE_MULTISAMPLE:
         case PIPE_CAP_CUBE_MAP_ARRAY:
+        case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
             return 0;
 
         /* SWTCL-only features. */
index 4f0e2322cb0d06fc59fded62ada83ea5c672d1b2..deed4ec3c10b91f48a08ed1ea250d17a1bc808a1 100644 (file)
@@ -433,6 +433,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        case PIPE_CAP_FRAGMENT_COLOR_CLAMPED:
        case PIPE_CAP_VERTEX_COLOR_CLAMPED:
        case PIPE_CAP_USER_VERTEX_BUFFERS:
+       case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
                return 0;
 
        /* Stream output. */
index 959c2731cbd4a3cdf710e14a4857581671a78ebc..6b52c4fe0b34fbf1e75ada08d96936407ccda988 100644 (file)
@@ -258,6 +258,7 @@ svga_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_TEXTURE_MULTISAMPLE:
    case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
    case PIPE_CAP_CUBE_MAP_ARRAY:
+   case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
       return 0;
    case PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY:
       return 1;