diff options
author | Zack Rusin <[email protected]> | 2010-07-13 21:54:14 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2010-07-13 21:54:14 -0400 |
commit | 582132aaef3fa6fa912f27c75c3b3e5bd89d3714 (patch) | |
tree | 2c6cb9a4c6b0558b1741430c5a6aa727cf73b261 /src/mesa/state_tracker/st_program.c | |
parent | 9fa64ea67544d252c6713e21d3b9c17a2bbb0603 (diff) | |
parent | 1491c6aa2de17760ab157a3fe71e45006e4eecf6 (diff) |
Merge branch 'mesa-2d-registers'
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r-- | src/mesa/state_tracker/st_program.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index 1d748965f80..6f3ecdbce11 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -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. */ |