r600: looks like a typo
authorDave Airlie <airlied@linux.ie>
Sun, 9 Aug 2009 10:46:12 +0000 (20:46 +1000)
committerDave Airlie <airlied@linux.ie>
Sun, 9 Aug 2009 10:46:12 +0000 (20:46 +1000)
src/mesa/drivers/dri/r600/r700_fragprog.c

index f3dd7b6db19c30e88b194fba057d91cd95746b3f..c914f75fa8de7d2bee419f514a9fe790672c082a 100644 (file)
@@ -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); 
     }