summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard Li <richardradeon@gmail.com>2009-05-19 10:28:40 -0400
committerRichard Li <richardradeon@gmail.com>2009-05-19 10:28:40 -0400
commit465588cd0e6451c758a12108787331d03ed52780 (patch)
tree43aa1aa801fe5406279ddf1f18974a1a35fe9886 /src
parent2a7a2c6b77116fd475e1d05fb0adbd1702d11f77 (diff)
Fix nop insertion bug. redbook hello can run.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r600/r700_chip.c2
-rw-r--r--src/mesa/drivers/dri/r600/r700_clear.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_chip.c b/src/mesa/drivers/dri/r600/r700_chip.c
index 1f160364fa..9395bae296 100644
--- a/src/mesa/drivers/dri/r600/r700_chip.c
+++ b/src/mesa/drivers/dri/r600/r700_chip.c
@@ -680,7 +680,7 @@ GLboolean r700SendContextStates(context_t *context, GLboolean bUseStockShader)
R600_OUT_BATCH_REGSEQ(((pInit->unOffset + ASIC_CONTEXT_BASE_INDEX)<<2), toSend);
for(ui=0; ui<toSend; ui++)
{
- if( GL_FALSE == setRelocReg(context, (pInit->unOffset+ui), bUseStockShader) )
+ if( GL_FALSE == setRelocReg(context, pInit->unOffset, bUseStockShader) )
{
/* for not reloc reg. */
R600_OUT_BATCH(*(pInit->puiValue));
diff --git a/src/mesa/drivers/dri/r600/r700_clear.c b/src/mesa/drivers/dri/r600/r700_clear.c
index 9a7cc000a6..e2571626dc 100644
--- a/src/mesa/drivers/dri/r600/r700_clear.c
+++ b/src/mesa/drivers/dri/r600/r700_clear.c
@@ -262,7 +262,7 @@ void r700Clear(GLcontext * ctx, GLbitfield mask)
return;
}
- r700ClearWithDraw(context, mask);
+ //r700ClearWithDraw(context, mask);
}