summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_text.c
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2013-03-07 19:11:28 -0800
committerZack Rusin <zackr@vmware.com>2013-03-07 20:16:00 -0800
commite5406f70589049b12cbff8b1a5b451001d46e687 (patch)
tree0fdc4792674e9c9464d4cc2598fb0ef15be2fb00 /src/gallium/auxiliary/tgsi/tgsi_text.c
parent9060c835fd3db29c657b62c5ec403e994c0ebce8 (diff)
downloadexternal_mesa3d-e5406f70589049b12cbff8b1a5b451001d46e687.zip
external_mesa3d-e5406f70589049b12cbff8b1a5b451001d46e687.tar.gz
external_mesa3d-e5406f70589049b12cbff8b1a5b451001d46e687.tar.bz2
tgsi/exec: Correctly reset NumOutputs before parsing the shader
Whenever we're binding the shaders we're incrementing NumOutputs, assuming the parser spots an output decleration, but we were never reseting the variable. That means that each subsequent bind of a geometry shader would add its number of output to the number of output bound by all previously ran shaders and our indexes would get completely messed up. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_text.c')
0 files changed, 0 insertions, 0 deletions