r600g: handle new caps
authorMarek Olšák <maraeo@gmail.com>
Sat, 17 Dec 2011 14:13:23 +0000 (15:13 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 17 Dec 2011 14:13:23 +0000 (15:13 +0100)
src/gallium/drivers/r600/r600_pipe.c

index 22fefaa..24379a7 100644 (file)
@@ -396,6 +396,8 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        case PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT:
        case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER:
        case PIPE_CAP_SCALED_RESOLVE:
+       case PIPE_CAP_TGSI_CAN_COMPACT_VARYINGS:
+       case PIPE_CAP_TGSI_CAN_COMPACT_CONSTANTS:
                return 0;
 
        /* Stream output. */