From: Mathias Fröhlich Date: Fri, 23 Sep 2011 17:43:31 +0000 (+0200) Subject: r600g: Use the bitfield define matching the register it is used for. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e556983fc8f0ac9046c5a5e3e34e8ea036587ac7;p=mesa.git r600g: Use the bitfield define matching the register it is used for. Fix a typo that should result in the same code. --- diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 03e6958d566..1aa4105ddfe 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -2108,8 +2108,8 @@ void r600_pipe_shader_ps(struct pipe_context *ctx, struct r600_pipe_shader *shad 0, 0xFFFFFFFF, shader->bo, RADEON_USAGE_READ); r600_pipe_state_add_reg(rstate, R_028850_SQ_PGM_RESOURCES_PS, - S_028868_NUM_GPRS(rshader->bc.ngpr) | - S_028868_STACK_SIZE(rshader->bc.nstack), + S_028850_NUM_GPRS(rshader->bc.ngpr) | + S_028850_STACK_SIZE(rshader->bc.nstack), 0xFFFFFFFF, NULL, 0); r600_pipe_state_add_reg(rstate, R_028854_SQ_PGM_EXPORTS_PS,