diff options
author | Dave Airlie <[email protected]> | 2010-08-31 14:57:57 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-08-31 15:13:21 +1000 |
commit | 580781babe99bbfd0181b911e1e53e94728faa04 (patch) | |
tree | 56113da111f5e89fd89609e6ed31093ce42948d0 /src | |
parent | 5d66a8606d68caf0fb4754c144c5fb7d87fbf7df (diff) |
r600g: fix typo in last commit
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 5675e395422..dae37819789 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -205,7 +205,7 @@ static int r600_pipe_shader_ps(struct pipe_context *ctx, struct r600_context_sta state->states[R600_PS_SHADER__SPI_PS_IN_CONTROL_0] = S_0286CC_NUM_INTERP(rshader->ninput) | S_0286CC_PERSP_GRADIENT_ENA(1); if (have_pos) { - state->states[R600_PS_SHADER__SPI_PS_IN_CONTROL_0] |= S_0286CC_POSITION_ENA(1); + state->states[R600_PS_SHADER__SPI_PS_IN_CONTROL_0] |= S_0286CC_POSITION_ENA(1) | S_0286CC_BARYC_SAMPLE_CNTL(1); } state->states[R600_PS_SHADER__SPI_PS_IN_CONTROL_1] = 0x00000000; |