[Mesa-dev] [PATCH 8/8] r600: set mega fetch count to 16 for gs copy shader

Dave Airlie airlied at gmail.com
Mon Nov 9 20:10:29 PST 2015


From: Dave Airlie <airlied at redhat.com>

Seems like MFC should be set for this shader.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/gallium/drivers/r600/r600_shader.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index 80922bf..c8eb03f 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -1549,6 +1549,7 @@ static int generate_gs_copy_shader(struct r600_context *rctx,
 		vtx.op = FETCH_OP_VFETCH;
 		vtx.buffer_id = R600_GS_RING_CONST_BUFFER;
 		vtx.fetch_type = SQ_VTX_FETCH_NO_INDEX_OFFSET;
+		vtx.mega_fetch_count = 16;
 		vtx.offset = out->ring_offset;
 		vtx.dst_gpr = out->gpr;
 		vtx.src_gpr = 0;
-- 
2.1.0



More information about the mesa-dev mailing list