nv50: fix mistake in pipe caps for pre-NVA0 cards
authorMaxim Levitsky <maximlevitsky@gmail.com>
Tue, 10 May 2011 08:16:54 +0000 (10:16 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 10 May 2011 08:16:54 +0000 (10:16 +0200)
Introduced by 531b12af35a832bcd8928a4919d76f8e9405cde0.

src/gallium/drivers/nv50/nv50_screen.c

index 4dad8599870ac81a02eb6f4d8f2f27c539b81240..a5a45a6928495afa7f992ac45d68c909d9f72122 100644 (file)
@@ -89,6 +89,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_TEXTURE_SHADOW_MAP:
    case PIPE_CAP_NPOT_TEXTURES:
    case PIPE_CAP_ANISOTROPIC_FILTER:
+      return 1;
    case PIPE_CAP_SEAMLESS_CUBE_MAP:
       return nv50_screen(pscreen)->tesla->grclass >= NVA0_3D;
    case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE: