gallium: check execution mask in indirect register loads
authorBrian <brian.paul@tungstengraphics.com>
Thu, 6 Nov 2008 03:04:49 +0000 (20:04 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 6 Nov 2008 03:04:49 +0000 (20:04 -0700)
commit5b2b064a5c1328449e3eb8179afc2ba366f18ae6
tree9d299298a6714df6306b1da2ee9a7d1763aa3674
parent639a2b0ec853eda49e3e7150b2ed7f8f40d101af
gallium: check execution mask in indirect register loads

Zero-out the index for disabled execution channels to avoid using potential
garbage values (thus avoiding bad array indexing).
src/gallium/auxiliary/tgsi/tgsi_exec.c