broadcom/vc5: Skip emitting textures that aren't used.
authorEric Anholt <eric@anholt.net>
Fri, 3 Nov 2017 02:04:12 +0000 (19:04 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 7 Nov 2017 17:40:25 +0000 (09:40 -0800)
commitbd24f4890f7f4b4a2c2c6e92163f655904b8709a
tree0b294c99daed9db78718c348da095e5eee0f8980
parent3d5e62dcfaeb2382f42116612e24f7240f1e521d
broadcom/vc5: Skip emitting textures that aren't used.

Fixes crashes when ARB_fp uses texture[1] but not 0, as in piglit's
fp-fragment-position.
src/gallium/drivers/vc5/vc5_emit.c