ilo: Drop the explicit intialization of gaps in TGSI opcodes.
authorEric Anholt <eric@anholt.net>
Wed, 12 Nov 2014 21:40:50 +0000 (13:40 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 24 Nov 2014 22:56:22 +0000 (14:56 -0800)
commit7361d5ba63dda35683569e76caa33f886304958f
treea4d685b7df95668e449d1e7a3f7b173218a0c14e
parent386c3fcb14354b131cd51b902d3aac7c15169658
ilo: Drop the explicit intialization of gaps in TGSI opcodes.

The nice thing about the good way of initializing arrays like this is that
you don't need to initialize everything in order, or even everything at
all.  Taking advantage of that only needs a tiny fixup to deal with the
default NULL value of the pointers.

I haven't dropped the initialization of opcodes that exist and are unsupported.
src/gallium/drivers/ilo/shader/toy_tgsi.c