nv50: handle TEXTURE_SWIZZLE and GEOMETRY_SHADER4 caps
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 24 Aug 2010 09:21:06 +0000 (11:21 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 1 Sep 2010 16:02:50 +0000 (18:02 +0200)
GP support will probably be re-added soon.

src/gallium/drivers/nv50/nv50_screen.c

index 78137d694028abd8a72c141a52b715729ff48ef6..fc75d81d54971302b1b3ffd0d280c8024065aa2e 100644 (file)
@@ -84,6 +84,8 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
                return 1;
        case PIPE_CAP_GLSL:
                return 1;
+       case PIPE_CAP_GEOMETRY_SHADER4:
+               return 0;
        case PIPE_CAP_ANISOTROPIC_FILTER:
                return 1;
        case PIPE_CAP_POINT_SPRITE:
@@ -105,6 +107,8 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        case PIPE_CAP_TEXTURE_MIRROR_CLAMP:
        case PIPE_CAP_TEXTURE_MIRROR_REPEAT:
                return 1;
+       case PIPE_CAP_TEXTURE_SWIZZLE:
+               return 1;
        case PIPE_CAP_TGSI_CONT_SUPPORTED:
                return 1;
        case PIPE_CAP_BLEND_EQUATION_SEPARATE: