nouveau/nvfx: Add more unsupported PIPE_CAP values
authorPatrice Mandin <patmandin@gmail.com>
Tue, 6 Dec 2011 20:42:31 +0000 (21:42 +0100)
committerPatrice Mandin <patmandin@gmail.com>
Tue, 6 Dec 2011 20:42:31 +0000 (21:42 +0100)
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
src/gallium/drivers/nvfx/nvfx_screen.c

index f56c6975a0bfc0aa0ec9859b73ab10c6f1219586..ac03199b667ea6d20d83f413aa25a12cdbcdf885 100644 (file)
@@ -84,7 +84,11 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        case PIPE_CAP_SEAMLESS_CUBE_MAP:
        case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
        case PIPE_CAP_SHADER_STENCIL_EXPORT:
-               return 0;
+       case PIPE_CAP_MIN_TEXEL_OFFSET:
+       case PIPE_CAP_MAX_TEXEL_OFFSET:
+       case PIPE_CAP_CONDITIONAL_RENDER:
+       case PIPE_CAP_TEXTURE_BARRIER:
+                return 0;
        case PIPE_CAP_MIXED_COLORBUFFER_FORMATS:
                 return 0;
        default: