mesa: get the translation from mesa 2d regs to tgsi working

first working version of arb_geometry_shader4
This commit is contained in:
Zack Rusin
2010-07-10 02:02:35 -04:00
parent 9808308f9a
commit 425870c5fd
5 changed files with 30 additions and 14 deletions

View File

@@ -492,6 +492,9 @@ st_translate_geometry_program(struct st_context *st,
/* which vertex output goes to the first geometry input */
vslot = 0;
memset(inputMapping, 0, sizeof(inputMapping));
memset(outputMapping, 0, sizeof(outputMapping));
/*
* Convert Mesa program inputs to TGSI input register semantics.
*/