mesa: fix instruction indexing bugs
authorBrian Paul <brianp@vmware.com>
Fri, 9 Apr 2010 16:03:31 +0000 (10:03 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 9 Apr 2010 16:03:36 +0000 (10:03 -0600)
commitb22a00bff4aadd390dd8af6b5b05bd2833ec7f85
tree447e8e71663137cee731a5955fa5bf9aba4c465b
parent21cf976ad970bb407b53a863a30efbcd1c8bbf7c
mesa: fix instruction indexing bugs

We were looping over instructions but only looking at the 0th instruction's
opcode.

Fixes fd.o bug 27566.
src/mesa/shader/program.c