From: Henri Verbeet Date: Mon, 7 Feb 2011 14:22:08 +0000 (+0100) Subject: r600g: Set the fetch type in r600_bc_vtx_build(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=871460eb149b9868e5750f13b8206e271743c4a2;p=mesa.git r600g: Set the fetch type in r600_bc_vtx_build(). --- diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index ad08aa533a8..d687c23f4f2 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_asm.c @@ -1348,6 +1348,7 @@ static int r600_bc_vtx_build(struct r600_bc *bc, struct r600_bc_vtx *vtx, unsign } } bc->bytecode[id++] = S_SQ_VTX_WORD0_BUFFER_ID(vtx->buffer_id + fetch_resource_start) | + S_SQ_VTX_WORD0_FETCH_TYPE(vtx->fetch_type) | S_SQ_VTX_WORD0_SRC_GPR(vtx->src_gpr) | S_SQ_VTX_WORD0_SRC_SEL_X(vtx->src_sel_x) | S_SQ_VTX_WORD0_MEGA_FETCH_COUNT(vtx->mega_fetch_count);