OSDN Git Service

r600g: set max max tex/vtx instructions count to 16 for cayman
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Nov 2011 16:01:00 +0000 (11:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Nov 2011 16:01:00 +0000 (11:01 -0500)
Cayman is 16 as well.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_asm.c

index 8d0a04d..add1276 100644 (file)
@@ -1368,10 +1368,8 @@ static unsigned r600_bytecode_num_tex_and_vtx_instructions(const struct r600_byt
 
        case R700:
        case EVERGREEN:
-               return 16;
-
        case CAYMAN:
-               return 64;
+               return 16;
 
        default:
                R600_ERR("Unknown chip class %d.\n", bc->chip_class);