SPIRV-Tools/source
Ehsan Nasiri d0620061c7 Adding validation code for more data rules.
These rules are under "Data Rules" in 2.16.1 (Universal Validation
Rules) part of the SPIR-V 1.1 Specification document:

* Scalar floating-point types can be parameterized only as 32 bit, plus
any additional sizes enabled by capabilities.

* Scalar integer types can be parameterized only as 32 bit, plus any
additional sizes enabled by capabilities.

* Vector types can only be parameterized with numerical types or the
OpTypeBool type.

* Matrix types can only be parameterized with floating-point types.

* Matrix types can only be parameterized as having only 2, 3, or 4
columns.

* Specialization constants (see Specialization) are limited to integers,
Booleans, floating-point numbers, and vectors of these.
2016-11-15 13:38:39 -05:00
..
opt Add begin() and end() for TypeManager. 2016-09-30 16:56:42 -04:00
util Guard against nullptr in number parsing utilities 2016-09-13 12:12:31 -04:00
val Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
assembly_grammar.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
assembly_grammar.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
binary.cpp Clean up header dependency. 2016-09-22 18:15:23 -04:00
binary.h Clean up header dependency. 2016-09-22 18:15:23 -04:00
CMakeLists.txt Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
diagnostic.cpp Publish the C++ interface. 2016-09-21 14:41:47 -04:00
diagnostic.h Clean up header dependency. 2016-09-22 18:15:23 -04:00
disassemble.cpp Add a callback mechanism for communicating messages to callers. 2016-09-15 12:35:48 -04:00
enum_set.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
enum_set.h enum_set: Fix bool performance warning. 2016-10-27 16:09:06 -04:00
ext_inst.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
ext_inst.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
extinst-1.0.opencl.std.grammar.json Fix OpenCL pow and pown arguments 2016-06-14 12:14:38 -04:00
instruction.h Remove source/instruction.cpp 2016-11-03 11:40:52 -04:00
libspirv.cpp Clean up header dependency. 2016-09-22 18:15:23 -04:00
macro.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
message.cpp Avoid appending EOL in StringifyMessage(). 2016-09-23 15:13:24 -04:00
message.h Clean up header dependency. 2016-09-22 18:15:23 -04:00
name_mapper.cpp Provide friendly names for shader ballot BuiltIns 2016-09-19 17:31:25 -04:00
name_mapper.h Make friendly names for built-in variables. 2016-09-14 15:25:24 -04:00
opcode.cpp Fix validator: OpUndef can be member of a constant composite 2016-09-14 15:21:09 -04:00
opcode.h Fix validator: OpUndef can be member of a constant composite 2016-09-14 15:21:09 -04:00
operand.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
operand.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
print.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
print.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
software_version.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
spirv_constant.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
spirv_definition.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
spirv_endian.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
spirv_endian.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
spirv_target_env.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
spirv_target_env.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
table.cpp Clean up header dependency. 2016-09-22 18:15:23 -04:00
table.h Clean up header dependency. 2016-09-22 18:15:23 -04:00
text_handler.cpp Pull out the number parsing logic 2016-09-08 18:42:54 -04:00
text_handler.h Add a callback mechanism for communicating messages to callers. 2016-09-15 12:35:48 -04:00
text.cpp Add a callback mechanism for communicating messages to callers. 2016-09-15 12:35:48 -04:00
text.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
validate_cfg.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
validate_datarules.cpp Adding validation code for more data rules. 2016-11-15 13:38:39 -05:00
validate_id.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
validate_instruction.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
validate_layout.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
validate.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
validate.h Adding validation for vector data rule. 2016-11-08 17:48:30 -05:00