nvfx: handle PIPE_CAP_SM3
authorDavid Heidelberger <d.okias@gmail.com>
Mon, 11 Jul 2011 19:50:24 +0000 (21:50 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Mon, 11 Jul 2011 19:52:24 +0000 (21:52 +0200)
Signed-off-by: David Heidelberger <d.okias@gmail.com>
src/gallium/drivers/nvfx/nvfx_screen.c

index 7a013a9..8569b5a 100644 (file)
@@ -33,6 +33,9 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
                return 1;
        case PIPE_CAP_GLSL:
                return 1;
+       case PIPE_CAP_SM3:
+               /* TODO: >= nv4x support Shader Model 3.0 */
+               return 0;
        case PIPE_CAP_ANISOTROPIC_FILTER:
                return 1;
        case PIPE_CAP_POINT_SPRITE: