vc4: Avoid a null-deref if a sampler index isn't used.
authorEric Anholt <eric@anholt.net>
Mon, 18 Aug 2014 22:50:48 +0000 (15:50 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 19 Aug 2014 15:47:13 +0000 (08:47 -0700)
commitc8097afe2902c89d6d8a90c1948051680eaca9ae
tree1ddff19e0ed8c40291a5d7a56009c368dafa9226
parent31ce84a81f7166ded07e9cb41e5dfe212dd8fed1
vc4: Avoid a null-deref if a sampler index isn't used.

Part of fixing ARB_fragment_program/sparse-samplers
src/gallium/drivers/vc4/vc4_program.c