From: Alex Deucher Date: Fri, 10 Sep 2010 01:16:55 +0000 (-0400) Subject: r600c: fix some typos X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f35b728accbb5a8da5706c4acd0189c6c8a94859;p=mesa.git r600c: fix some typos --- 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();