summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2011-06-08 17:33:57 +0200
committerAlex Deucher <[email protected]>2011-06-13 11:31:13 -0400
commite2529442e6cc208a4f62ff7dc00d5e2ba7c92624 (patch)
tree6caf48b861d495cf8264a732c59ebac1aa26fb98 /src/gallium/drivers/r600
parent92563476e451a7df131822a8bcdedc2c161ed75f (diff)
r600g: Fix typo.
Fix an obvious typo in the yet unused part of the shader setup.
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/r600_state.c2
1 files changed, 1 insertions, 1 deletions
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 */