From: Andre Maasikas Date: Thu, 29 Jul 2010 12:18:19 +0000 (+0300) Subject: r600: since 8744c36e added asserts - use another random register for shader with... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b3bf392e1af72d29afa0804260cac4d8ffe24e1;p=mesa.git r600: since 8744c36e added asserts - use another random register for shader with no output --- diff --git a/src/mesa/drivers/dri/r600/r700_assembler.c b/src/mesa/drivers/dri/r600/r700_assembler.c index 99a33df4fcb..8f6cc1d8753 100644 --- a/src/mesa/drivers/dri/r600/r700_assembler.c +++ b/src/mesa/drivers/dri/r600/r700_assembler.c @@ -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)