r300g: handle seamless_cube_map caps
authorMarek Olšák <maraeo@gmail.com>
Fri, 6 May 2011 19:57:52 +0000 (21:57 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 7 May 2011 00:51:38 +0000 (02:51 +0200)
src/gallium/drivers/r300/r300_screen.c

index e8e16e08172ab219c554c465a4832c1937c4dc1d..7a1366a4f8fd9577c2a9e9bab60004b5991dddb6 100644 (file)
@@ -140,6 +140,8 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
         case PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT:
         case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER:
         case PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS:
+        case PIPE_CAP_SEAMLESS_CUBE_MAP:
+        case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
             return 0;
 
         /* SWTCL-only features. */