v3d: Return an invalid src number if asked for a missing implicit uniform.
authorEric Anholt <eric@anholt.net>
Fri, 20 Jul 2018 21:06:57 +0000 (14:06 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 23 Jul 2018 17:21:43 +0000 (10:21 -0700)
commit79e0f042bcd6a1956015cf332c2232ade2c2321f
tree67e2297f139b11c2701cbc9a2e079ff1efacd03a
parentf2ea936f4840f357fd3078857d286dbebded1bf4
v3d: Return an invalid src number if asked for a missing implicit uniform.

Sometimes when iterating over sources, we might want to check if it's the
implicit one.  We wouldn't want to match on a non-implicit src using this
function.
src/broadcom/compiler/vir.c
src/broadcom/compiler/vir_lower_uniforms.c