vc4: Add a bitmap of branch targets in kernel validation.
authorEric Anholt <eric@anholt.net>
Sat, 2 Jul 2016 17:03:05 +0000 (10:03 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 13 Jul 2016 00:42:38 +0000 (17:42 -0700)
commite2d7760df5a65ce6ab119e026725c809b8e8bfe3
treed41ab18b9fab376840bf954950cf96d815ebc435
parent24095c8b3bf20a5b667f3f7e7245a4d5739ad951
vc4: Add a bitmap of branch targets in kernel validation.

This isn't used yet, it's just a first step toward loop validation.
During the main parsing of instructions, we need to know when we hit a new
basic block so that we can reset validated state.
src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c
src/gallium/drivers/vc4/vc4_qpu_defines.h
src/gallium/drivers/vc4/vc4_simulator_validate.h