r6xx/r7xx: fix segfault in vertex shader setup
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 21 May 2009 21:40:27 +0000 (17:40 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Thu, 21 May 2009 21:40:27 +0000 (17:40 -0400)
src/mesa/drivers/dri/r600/r700_assembler.c

index 5ceb3fd..1610020 100644 (file)
@@ -4041,7 +4041,7 @@ GLboolean Process_Vertex_Exports(r700_AssemblerBase *pR700AsmCode,
                                        SQ_EXPORT_PARAM, 
                                        0, 
                                        1, 
-                                       0,
+                                       pR700AsmCode->starting_export_register_number,
                                        GL_FALSE) )
         {
             return GL_FALSE;