r600g: set max tex/vtx instructions count to 16 for evergreen
authorVadim Girlin <vadimgirlin@gmail.com>
Sat, 15 Oct 2011 01:47:49 +0000 (05:47 +0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Nov 2011 15:59:53 +0000 (10:59 -0500)
According to evergreen-isa doc 16 is max value for evergreen.
More than 16 doesn't work for me.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/r600_asm.c

index f923c622f0b48c3d72f00275ff10c46bece21592..8d0a04da8fb898b008507a00a6c84d29c675054f 100644 (file)
@@ -1367,9 +1367,9 @@ static unsigned r600_bytecode_num_tex_and_vtx_instructions(const struct r600_byt
                return 8;
 
        case R700:
+       case EVERGREEN:
                return 16;
 
-       case EVERGREEN:
        case CAYMAN:
                return 64;