r600: fix some warnings
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 23 Sep 2009 18:56:56 +0000 (14:56 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Wed, 23 Sep 2009 18:58:46 +0000 (14:58 -0400)
src/mesa/drivers/dri/r600/r700_assembler.c
src/mesa/drivers/dri/r600/r700_assembler.h

index dc25f3b418b198d4f42c49f0c470675852de1940..903b6968be1125cdb1d121b0dbace09d6d1bd77b 100644 (file)
@@ -2078,9 +2078,9 @@ GLboolean assemble_alu_instruction(r700_AssemblerBase *pAsm)
     GLuint contiguous_slots_needed;
 
     GLuint    uNumSrc = r700GetNumOperands(pAsm);
-    GLuint    channel_swizzle, j;
-    GLuint    chan_counter[4] = {0, 0, 0, 0};
-    PVSSRC *  pSource[3];
+    //GLuint    channel_swizzle, j;
+    //GLuint    chan_counter[4] = {0, 0, 0, 0};
+    //PVSSRC *  pSource[3];
     GLboolean bSplitInst = GL_FALSE;
 
     if (1 == pAsm->D.dst.math) 
index bd6df94ff95c37abf19f31f4b806e405024de922..0d4283e4bad2ee77494d7633e3761ffa5cb69e4a 100644 (file)
@@ -423,6 +423,7 @@ GLboolean assemble_vfetch_instruction2(r700_AssemblerBase* pAsm,
                                        GLuint              _signed,
                                        GLboolean           normalize,
                                        VTX_FETCH_METHOD  * pFetchMethod);
+GLboolean cleanup_vfetch_instructions(r700_AssemblerBase* pAsm);
 GLuint gethelpr(r700_AssemblerBase* pAsm);
 void resethelpr(r700_AssemblerBase* pAsm);
 void checkop_init(r700_AssemblerBase* pAsm);