From f35b728accbb5a8da5706c4acd0189c6c8a94859 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Thu, 9 Sep 2010 21:16:55 -0400 Subject: r600c: fix some typos --- src/mesa/drivers/dri/r600/evergreen_chip.c | 2 +- src/mesa/drivers/dri/r600/r600_blit.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/r600/evergreen_chip.c b/src/mesa/drivers/dri/r600/evergreen_chip.c index d58746de30b..e244213265e 100644 --- a/src/mesa/drivers/dri/r600/evergreen_chip.c +++ b/src/mesa/drivers/dri/r600/evergreen_chip.c @@ -118,7 +118,7 @@ static void evergreenSendTexState(GLcontext *ctx, struct radeon_state_atom *atom if( (1<r700AsmCode.unVetTexBits ) { /* vs texture */ - R600_OUT_BATCH((i + VERT_ATTRIB_MAX + EG_SQ_FETCH_RESOURCE_VS_OFFSET) * FETCH_RESOURCE_STRIDE); + R600_OUT_BATCH((i + VERT_ATTRIB_MAX + EG_SQ_FETCH_RESOURCE_VS_OFFSET) * EG_FETCH_RESOURCE_STRIDE); } else { diff --git a/src/mesa/drivers/dri/r600/r600_blit.c b/src/mesa/drivers/dri/r600/r600_blit.c index b98fd4b0b47..3090c9f613b 100644 --- a/src/mesa/drivers/dri/r600/r600_blit.c +++ b/src/mesa/drivers/dri/r600/r600_blit.c @@ -554,9 +554,9 @@ set_vtx_resource(context_t *context) R600_OUT_BATCH(0); R600_OUT_BATCH(0); R600_OUT_BATCH(SQ_TEX_VTX_VALID_BUFFER << SQ_TEX_RESOURCE_WORD6_0__TYPE_shift); - R600_OUT_BATCH_RELOC(SQ_VTX_CONSTANT_WORD0_0, + R600_OUT_BATCH_RELOC(0, bo, - SQ_VTX_CONSTANT_WORD0_0, + 0, RADEON_GEM_DOMAIN_GTT, 0, 0); END_BATCH(); COMMIT_BATCH(); -- cgit v1.2.3