r600g: enable transform feedback on Cayman
authorMarek Olšák <maraeo@gmail.com>
Thu, 30 Aug 2012 14:33:36 +0000 (16:33 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 30 Aug 2012 23:19:03 +0000 (01:19 +0200)
There doesn't seem to be anything wrong with it.

src/gallium/drivers/r600/r600_pipe.c

index 7856e624ea2d3d45399ebecce3ad2b30696a6635..286c676f85b39ac7b910bd13de4270e785993983 100644 (file)
@@ -934,14 +934,12 @@ struct pipe_screen *r600_screen_create(struct radeon_winsys *ws)
        switch (rscreen->chip_class) {
        case R600:
        case EVERGREEN:
+       case CAYMAN:
                rscreen->has_streamout = rscreen->info.drm_minor >= 14;
                break;
        case R700:
                rscreen->has_streamout = rscreen->info.drm_minor >= 17;
                break;
-       /* TODO: Cayman */
-       default:
-               rscreen->has_streamout = debug_get_bool_option("R600_STREAMOUT", FALSE);
        }
 
        if (r600_init_tiling(rscreen)) {