st/mesa: fix incorrect loop over instruction src regs
authorBrian Paul <brianp@vmware.com>
Tue, 16 Aug 2011 22:30:52 +0000 (16:30 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Aug 2011 14:12:54 +0000 (08:12 -0600)
commit718b894dbb585af52dd24defb2e8c130216e5485
tree765f62f736bd86190e2bd6ba89269743f538fe1a
parent65bdb878a0afcdffe51716ae4533a04990c7d556
st/mesa: fix incorrect loop over instruction src regs

The array of src regs is of size 3, not 4.
src/mesa/state_tracker/st_glsl_to_tgsi.cpp