Fix color data can't be fetched issue
authorCooper Yuan <cooperyuan@gmail.com>
Thu, 25 Jun 2009 11:48:43 +0000 (19:48 +0800)
committerCooper Yuan <cooperyuan@gmail.com>
Thu, 25 Jun 2009 11:48:43 +0000 (19:48 +0800)
src/mesa/drivers/dri/r600/r600_cmdbuf.c
src/mesa/drivers/dri/r600/r700_clear.c

index 5edc42b532725bb804b162eb2a6235fc56bcba5e..90f546edf1e3960d6773877edce33a6f58063728 100644 (file)
@@ -288,7 +288,7 @@ restart:
                         relocs[i].base.bo, soffset, eoffset);
                 return r;
             }
-            asicoffset = cs->packets[relocs[i].indices[j]] + soffset;
+            asicoffset = soffset;
             if (asicoffset >= eoffset) 
             {
              /*                radeon_bo_debug(relocs[i].base.bo, 12); */
index f142aafd03e4874a164e2c62735331426ddbcc6d..b04441da28194ef5b072dc58c534e81c0179b062 100644 (file)
@@ -63,9 +63,6 @@ void r700Clear(GLcontext * ctx, GLbitfield mask)
     int i;
     struct gl_framebuffer *fb = ctx->DrawBuffer;
 
-    /* XXX FIXME */
-    return;
-
     if( GL_TRUE == r700ClearFast(context, mask) )
     {
         return;