summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian König <deathsimple@vodafone.de>2011-03-02 23:47:41 +0100
committerChristian König <deathsimple@vodafone.de>2011-03-03 00:23:15 +0100
commit8d9ea4c4e7d0aa28ca86e0f620cde187b0c6c96b (patch)
tree7e5586c3ef9597b8e04992b4dadc562f6e711dcb /src
parentff2a0faba068ac8bc891f4a6427ad3e241c5f09f (diff)
r600g: correct mega_fetch_count in fetch shader
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/r600_asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index ea1cf7acec..6777be8040 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -2176,7 +2176,7 @@ int r600_vertex_elements_build_fetch_shader(struct r600_pipe_context *rctx, stru
vtx.fetch_type = elements[i].instance_divisor ? 1 : 0;
vtx.src_gpr = elements[i].instance_divisor > 1 ? i + 1 : 0;
vtx.src_sel_x = elements[i].instance_divisor ? 3 : 0;
- vtx.mega_fetch_count = 16;
+ vtx.mega_fetch_count = 0x1F;
vtx.dst_gpr = i + 1;
vtx.dst_sel_x = desc->swizzle[0];
vtx.dst_sel_y = desc->swizzle[1];