radeonsi: fix feature support reporting
authorMarek Olšák <marek.olsak@amd.com>
Sat, 17 Aug 2013 00:47:21 +0000 (02:47 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 17 Aug 2013 00:49:00 +0000 (02:49 +0200)
broken by 21d9a1b5ef51ce449e9a82641d0d605c5448b41c

src/gallium/drivers/radeonsi/radeonsi_pipe.c

index 4211f981fee93c54f90c6b723640090722b3893e..7de9a4eb720c4f67f5b86565901854e33aad88db 100644 (file)
@@ -371,6 +371,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
         case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
        case PIPE_CAP_TGSI_INSTANCEID:
        case PIPE_CAP_COMPUTE:
+               return 1;
 
        case PIPE_CAP_TEXTURE_MULTISAMPLE:
                return HAVE_LLVM >= 0x0304 && rscreen->chip_class == SI;