vc4: Track the current instruction into the validation_state.
authorEric Anholt <eric@anholt.net>
Fri, 3 Jun 2016 19:48:59 +0000 (12:48 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 13 Jul 2016 00:42:38 +0000 (17:42 -0700)
commit24095c8b3bf20a5b667f3f7e7245a4d5739ad951
tree744ceeaff35acf9825703f3fe7059ecaea2f0e7c
parentc73aa0a09b996feff5aec42e0347b99b35b2f981
vc4: Track the current instruction into the validation_state.

This reduces how much we need to pass around as arguments, which was
becoming more of a problem with looping validation.
src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c