Mesa (master): r600g: set max max tex/ vtx instructions count to 16 for cayman

Alex Deucher agd5f at kemper.freedesktop.org
Mon Nov 14 16:33:15 UTC 2011


Module: Mesa
Branch: master
Commit: ebecbbc2e68673a49c3d0394c2f591f7a605110f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebecbbc2e68673a49c3d0394c2f591f7a605110f

Author: Alex Deucher <alexander.deucher at amd.com>
Date:   Mon Nov 14 11:01:00 2011 -0500

r600g: set max max tex/vtx instructions count to 16 for cayman

Cayman is 16 as well.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

---

 src/gallium/drivers/r600/r600_asm.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index 8d0a04d..add1276 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -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);




More information about the mesa-commit mailing list