Mesa (master): r600: looks like a typo

Dave Airlie airlied at kemper.freedesktop.org
Sun Aug 9 10:46:30 UTC 2009


Module: Mesa
Branch: master
Commit: 728da99737d6618388ea724d211819227654608a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=728da99737d6618388ea724d211819227654608a

Author: Dave Airlie <airlied at linux.ie>
Date:   Sun Aug  9 20:46:12 2009 +1000

r600: looks like a typo

---

 src/mesa/drivers/dri/r600/r700_fragprog.c |    2 +-
 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 f3dd7b6..c914f75 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);	
     }
 




More information about the mesa-commit mailing list