SPIRV-Tools/tools
Ari Suonpaa 29923409e9 Add validation for structs decorated as Block or BufferBlock.
Fixes #937

Stop std140/430 validation when runtime array is encountered.

Check for standard uniform/storage buffer layout instead of std140/430.

Added validator command line switch to skip block layout checking.

Validate structs decorated as Block/BufferBlock only when they
are used as variable with storage class of uniform or push
constant.

Expose --relax-block-layout to command line.

dneto0 modification:
- Use integer arithmetic instead of floor.
2018-06-26 14:23:18 -04:00
..
as Support SPIR-V 1.3 and Vulkan 1.1 2018-03-06 15:17:31 -05:00
cfg Re-format files in source, source/opt, source/util, source/val and tools. 2017-11-08 14:03:08 -05:00
comp Add new compression algorithm and models 2017-11-21 17:32:58 -05:00
dis Support SPIR-V 1.3 and Vulkan 1.1 2018-03-06 15:17:31 -05:00
emacs Define variable to skip installation 2017-07-04 12:24:44 -04:00
lesspipe Define variable to skip installation 2017-07-04 12:24:44 -04:00
link linker: Allow modules to be partially linked 2018-02-27 12:21:13 -05:00
opt Delete the insert-extract-elim pass. 2018-06-01 10:13:39 -04:00
stats Consistently include latest spirv.h header file. 2018-02-27 18:47:29 -05:00
val Add validation for structs decorated as Block or BufferBlock. 2018-06-26 14:23:18 -04:00
CMakeLists.txt Add new compression algorithm and models 2017-11-21 17:32:58 -05:00
io.h [val] Add extra context to error messages. (#1600) 2018-06-19 16:02:44 -04:00