gallium: fix tgsi sanity checker with respect to END.
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 17 Sep 2008 19:14:57 +0000 (13:14 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 17 Sep 2008 19:14:57 +0000 (13:14 -0600)
commite6a120fefea44078b3a8d4292d83671e6c41357f
treef3cc3cbb154e7f523bb8ed0564962dc785a3a98f
parent133693ebe8904de785610efd38219bca67b75222
gallium: fix tgsi sanity checker with respect to END.

Subroutine code may be found after the END instruction so it's not always
the last instruction.
At least check for presence of exactly one END instruction though.
src/gallium/auxiliary/tgsi/tgsi_sanity.c