From: Alex Deucher Date: Thu, 21 May 2009 21:40:27 +0000 (-0400) Subject: r6xx/r7xx: fix segfault in vertex shader setup X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b52cdb81e2a0f7109e754daa4a02aced22aa995f;p=mesa.git r6xx/r7xx: fix segfault in vertex shader setup --- diff --git a/src/mesa/drivers/dri/r600/r700_assembler.c b/src/mesa/drivers/dri/r600/r700_assembler.c index 5ceb3fdd9b6..1610020ee86 100644 --- a/src/mesa/drivers/dri/r600/r700_assembler.c +++ b/src/mesa/drivers/dri/r600/r700_assembler.c @@ -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;