From: Mathias Fröhlich Date: Wed, 8 Jun 2011 15:33:57 +0000 (+0200) Subject: r600g: Fix typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2529442e6cc208a4f62ff7dc00d5e2ba7c92624;p=mesa.git r600g: Fix typo. Fix an obvious typo in the yet unused part of the shader setup. --- diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 5a1c456309b..98f5c511f5b 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -1243,7 +1243,7 @@ void r600_init_config(struct r600_pipe_context *rctx) /* SQ_GPR_RESOURCE_MGMT_2 */ tmp = 0; tmp |= S_008C08_NUM_GS_GPRS(num_gs_gprs); - tmp |= S_008C08_NUM_GS_GPRS(num_es_gprs); + tmp |= S_008C08_NUM_ES_GPRS(num_es_gprs); r600_pipe_state_add_reg(rstate, R_008C08_SQ_GPR_RESOURCE_MGMT_2, tmp, 0xFFFFFFFF, NULL); /* SQ_THREAD_RESOURCE_MGMT */