r600: since 8744c36e added asserts - use another random register for shader with...
authorAndre Maasikas <amaasikas@gmail.com>
Thu, 29 Jul 2010 12:18:19 +0000 (15:18 +0300)
committerAndre Maasikas <amaasikas@gmail.com>
Thu, 29 Jul 2010 12:18:19 +0000 (15:18 +0300)
src/mesa/drivers/dri/r600/r700_assembler.c

index 99a33df4fcb3c6cfbdf348f2ec969ce97af7e303..8f6cc1d8753fd6cda22152cc90bcc5b5b64591d4 100644 (file)
@@ -6473,7 +6473,7 @@ GLboolean Process_Fragment_Exports(r700_AssemblerBase *pR700AsmCode,
      * results are undefined anyway */
     if(export_count == 0)
     {
-        Process_Export(pR700AsmCode, SQ_EXPORT_PIXEL, 0, 1, 0, GL_FALSE);
+        Process_Export(pR700AsmCode, SQ_EXPORT_PIXEL, 0, 1, pR700AsmCode->starting_export_register_number, GL_FALSE);
     }
     
     if(pR700AsmCode->cf_last_export_ptr != NULL)