nvfx: don't claim we support preds since the driver doesn't
authorLuca Barbieri <luca@luca-barbieri.com>
Sat, 4 Sep 2010 01:40:49 +0000 (03:40 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Sat, 4 Sep 2010 02:05:37 +0000 (04:05 +0200)
src/gallium/drivers/nvfx/nvfx_screen.c

index 9e7266b874a5d8615994453dcce366e3bbb87189..e01b2a6133b33c27339f304b72abb432d872357a 100644 (file)
@@ -95,7 +95,7 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        case PIPE_CAP_MAX_FS_ADDRS:
                return screen->is_nv4x ? 1 : 0;
        case PIPE_CAP_MAX_FS_PREDS:
-               return screen->is_nv4x ? 1 : 0;
+               return 0; /* we could expose these, but nothing uses them */
        case PIPE_CAP_MAX_VS_INSTRUCTIONS:
        case PIPE_CAP_MAX_VS_ALU_INSTRUCTIONS:
                return screen->is_nv4x ? 512 : 256;
@@ -117,7 +117,7 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        case PIPE_CAP_MAX_VS_ADDRS:
                return 2;
        case PIPE_CAP_MAX_VS_PREDS:
-               return screen->is_nv4x ? 1 : 0;
+               return 0; /* we could expose these, but nothing uses them */
        case PIPE_CAP_GEOMETRY_SHADER4:
                return 0;
        case PIPE_CAP_DEPTH_CLAMP: