From: Dave Airlie Date: Sun, 9 Aug 2009 10:46:12 +0000 (+1000) Subject: r600: looks like a typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=728da99737d6618388ea724d211819227654608a;p=mesa.git r600: looks like a typo --- diff --git a/src/mesa/drivers/dri/r600/r700_fragprog.c b/src/mesa/drivers/dri/r600/r700_fragprog.c index f3dd7b6db19..c914f75fa8d 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); }