r600g: Set the fetch type in r600_bc_vtx_build().
authorHenri Verbeet <hverbeet@gmail.com>
Mon, 7 Feb 2011 14:22:08 +0000 (15:22 +0100)
committerHenri Verbeet <hverbeet@gmail.com>
Mon, 7 Feb 2011 14:22:08 +0000 (15:22 +0100)
src/gallium/drivers/r600/r600_asm.c

index ad08aa533a8911e8d685bffcbee88160c864a100..d687c23f4f25678adec571e50384f0c90e571713 100644 (file)
@@ -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);