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 5ceb3fdd9b6fa69240a122955f54f11003f43ad5..1610020ee86d76344ed9283ca1b9cf2bc372d8da 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;