nvfx: fill some PIPE_CAPs
authorFrancesco Marella <francesco.marella@gmail.com>
Thu, 12 May 2011 11:27:09 +0000 (13:27 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Fri, 13 May 2011 12:56:40 +0000 (14:56 +0200)
Signed-off-by: Francesco Marella <francesco.marella@gmail.com>
src/gallium/drivers/nvfx/nvfx_screen.c

index ab063d6fe4e90e39efb8505aab785ee5cc0d5f33..475138c3c3202cb4ee3e965be5d2e48a432830f4 100644 (file)
@@ -80,6 +80,12 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
                return 0; // TODO: implement depth clamp
        case PIPE_CAP_PRIMITIVE_RESTART:
                return 0; // TODO: implement primitive restart
+       case PIPE_CAP_ARRAY_TEXTURES:
+       case PIPE_CAP_TGSI_INSTANCEID:
+       case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR:
+       case PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL:
+       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_MIXED_COLORBUFFER_FORMATS: