nv50: report driver as GLSL capable
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 21 Mar 2010 13:05:20 +0000 (14:05 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 21 Mar 2010 13:11:59 +0000 (14:11 +0100)
There's still no hint of optimization in the shaders, but
we support conditionals, loops and even integer opcodes so
it isn't that big a lie.

src/gallium/drivers/nv50/nv50_screen.c

index 8fab06c..1a4606d 100644 (file)
@@ -109,7 +109,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, int param)
        case PIPE_CAP_TWO_SIDED_STENCIL:
                return 1;
        case PIPE_CAP_GLSL:
-               return 0;
+               return 1;
        case PIPE_CAP_ANISOTROPIC_FILTER:
                return 1;
        case PIPE_CAP_POINT_SPRITE: