drm/vc4: Add a bitmap of branch targets during shader validation.
authorEric Anholt <eric@anholt.net>
Sat, 2 Jul 2016 17:10:24 +0000 (10:10 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 15 Jul 2016 22:19:12 +0000 (15:19 -0700)
commit93aa9ae3e5523e49e4e5abacd4dbee0e4ab2d931
tree8e226bfa2a0fb60daaeee74298f80b49e0ae37ce
parentd0566c2a2f2baacefe1eb75be8a001fdd6fe84a3
drm/vc4: Add a bitmap of branch targets during shader 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.

v2: Fix a stray semicolon after an if block.  (caught by kbuild test).

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_qpu_defines.h
drivers/gpu/drm/vc4/vc4_validate_shaders.c