diff options
author | Andrey Tuganov <andreyt@google.com> | 2018-02-07 11:50:26 -0500 |
---|---|---|
committer | David Neto <dneto@google.com> | 2018-03-23 14:02:42 -0400 |
commit | fe9121f72144f1e1657cd21a55a1fec07c940e56 (patch) | |
tree | 1682011404ca9284293601540a0b40b6b15027b7 /Android.mk | |
parent | 045cc8f75b5679fa148a77801a5a9a59e3f2bc0a (diff) |
Add Vulkan validation rules for BuiltIn variables
Added a framework for validation of BuiltIn variables. The framework
allows implementation of flexible abstract rules which are required for
built-ins as the information (decoration, definition, reference) is not
in one place, but is scattered all over the module.
Validation rules are implemented as a map
id -> list<functor(instrution)>
Ids which are dependent on built-in types or objects receive a task
list, such as "this id cannot be referenced from function which is
called from entry point with execution model X; propagate this rule
to your descendants in the global scope".
Also refactored test/val/val_fixtures.
All built-ins covered by tests
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -39,6 +39,7 @@ SPVTOOLS_SRC_FILES := \ source/validate_atomics.cpp \ source/validate_barriers.cpp \ source/validate_bitwise.cpp \ + source/validate_builtins.cpp \ source/validate_capability.cpp \ source/validate_cfg.cpp \ source/validate_composites.cpp \ |