tgsi: add assertion to verify legal register file
authorBrian Paul <brianp@vmware.com>
Thu, 7 Jan 2010 18:18:04 +0000 (11:18 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 7 Jan 2010 18:18:12 +0000 (11:18 -0700)
commit7335d8006fdc065c8dbe6b63007ffa77ffd53470
tree28565f9ebfef275be8c577e76e0d5b390228216c
parent0c6794c46fdd1225bb1d8ece77ea937cb822a1a3
tgsi: add assertion to verify legal register file

This assertion fails with piglit glsl-vs-mov-after-deref test
because we're double freeing the memory.  It seems there's some
confusion between what's placed in the hash table and what isn't.
src/gallium/auxiliary/tgsi/tgsi_sanity.c