SPIRV-Tools/source/val
Ehsan Nasiri 4fb79b54f2 Validation for struct nesting depth.
According to sectin 2.17 in SPIR-V Spec, the structure nesting depth may
not be larger than 255. This is interpreted as structures nested in
structures. The code does not look into arrays or follow pointers to see
if it reaches a structure downstream.

Use memoization to avoid exponential runtime.
2016-12-07 16:15:56 -05:00
..
basic_block.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
basic_block.h Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
construct.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
construct.h Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
function.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
function.h Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
instruction.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
instruction.h Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
validation_state.cpp Validation for struct nesting depth. 2016-12-07 16:15:56 -05:00
validation_state.h Validation for struct nesting depth. 2016-12-07 16:15:56 -05:00