summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2009-08-09 20:46:12 +1000
committerDave Airlie <airlied@linux.ie>2009-08-09 20:46:12 +1000
commit728da99737d6618388ea724d211819227654608a (patch)
tree34be872487f4f55da1de469dac292158d681090f /src/mesa
parentb2927a620409e49f26592e8f4bde6911e29de3f3 (diff)
r600: looks like a typo
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r600/r700_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_fragprog.c b/src/mesa/drivers/dri/r600/r700_fragprog.c
index f3dd7b6db1..c914f75fa8 100644
--- a/src/mesa/drivers/dri/r600/r700_fragprog.c
+++ b/src/mesa/drivers/dri/r600/r700_fragprog.c
@@ -347,7 +347,7 @@ GLboolean r700SetupFragmentProgram(GLcontext * ctx)
if (mesa_fp->Base.InputsRead & (1 << FRAG_ATTRIB_WPOS))
{
SETbit(r700->SPI_PS_IN_CONTROL_0.u32All, POSITION_ENA_bit);
- SetField(r700->SPI_PS_IN_CONTROL_0.u32All, CENTERS_ONLY, BARYC_SAMPLE_CNTL_shift, BARYC_SAMPLE_CNTL_mask);
+ SETfield(r700->SPI_PS_IN_CONTROL_0.u32All, CENTERS_ONLY, BARYC_SAMPLE_CNTL_shift, BARYC_SAMPLE_CNTL_mask);
SETbit(r700->SPI_INPUT_Z.u32All, PROVIDE_Z_TO_SPI_bit);
}