Adding validation for OpInBoundsAccessChain.
authorEhsan Nasiri <ehsann@google.com>
Tue, 6 Dec 2016 16:59:49 +0000 (11:59 -0500)
committerDavid Neto <dneto@google.com>
Thu, 8 Dec 2016 20:11:30 +0000 (15:11 -0500)
commitd004cd46db4c575e26a529dd75efdc8eb264390e
tree59d5c782408156c2519ff03e9eb00cf081f30721
parent4fb79b54f28791292d7bab029d13cf5f89da5106
Adding validation for OpInBoundsAccessChain.

The validation for this instruction is similar to OpAccessChain.

Include a test for testing a struct with (valid) depth of 255.
source/validate_id.cpp
test/val/val_id_test.cpp