Mesa (master): r600g: Set the fetch type in r600_bc_vtx_build().

Henri Verbeet hverbeet at kemper.freedesktop.org
Mon Feb 7 14:24:47 UTC 2011


Module: Mesa
Branch: master
Commit: 871460eb149b9868e5750f13b8206e271743c4a2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=871460eb149b9868e5750f13b8206e271743c4a2

Author: Henri Verbeet <hverbeet at gmail.com>
Date:   Mon Feb  7 15:22:08 2011 +0100

r600g: Set the fetch type in r600_bc_vtx_build().

---

 src/gallium/drivers/r600/r600_asm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index ad08aa5..d687c23 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);




More information about the mesa-commit mailing list