r600: set mega fetch count to 16 for gs copy shader
authorDave Airlie <airlied@redhat.com>
Tue, 24 Feb 2015 06:07:23 +0000 (16:07 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 1 Dec 2015 22:25:13 +0000 (08:25 +1000)
Seems like MFC should be set for this shader.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c

index e258d76301d435981a2b0a34dbe64cf65bf7f855..4142c3e30e5201bf87f6823e6fa054395aba1fed 100644 (file)
@@ -1554,6 +1554,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;