From: Christian König Date: Wed, 2 Mar 2011 22:47:41 +0000 (+0100) Subject: r600g: correct mega_fetch_count in fetch shader X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d9ea4c4e7d0aa28ca86e0f620cde187b0c6c96b;p=mesa.git r600g: correct mega_fetch_count in fetch shader --- diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index ea1cf7acecf..6777be80402 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];