aboutsummaryrefslogtreecommitdiff
path: root/source/spirv_definition.h
AgeCommit message (Collapse)Author
2017-12-14Refactor include of latest spir-v header versionsAndrey Tuganov
2017-05-15Add SPIR-V 1.2 support, for OpenCL 2.2David Neto
2016-09-02Relicense SPIRV-Tools under Apache 2.0David Neto
Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/383 Finalize v2016.4
2016-08-30Handle capabilities larger than value 63David Neto
Use libspirv::CapabilitySet instead of a 64-bit mask. Remove dead function spvOpcodeRequiresCapability and its tests. The JSON grammar parser is simplified since it just writes the list of capabilities as a braced list, and takes advantage of the CapabilitySet intializer-list constructor.
2016-08-07Remove unnecessary headersUmar Arshad
2016-04-22Eliminate kCapabilitiesMin/Max.Dejan Mircevski
2016-04-21Bump kCapabilitiesMaxValue for v1.1.Dejan Mircevski
2016-04-04Remove dependency on SPIR-V headers in libspirv.h.Lei Zhang
For fulfilling this purpose, the |opcode| field in the |spv_parsed_instruction_t| struct is changed to of type uint16_t. Also add functions to query the information of a given SPIR-V target environment.
2016-02-17Add MultiViewport capability, new in 1.0.3David Neto
Fix typos in previous tests with MultiViewport.
2016-02-17Rearrange headersDavid Neto
Now we have public headers arranged as follows: $SPIRV_TOOLS_ROOT/include/spirv-tools/libspirv.h $SPIRV_TOOLS_ROOT/include/spirv/spirv.h $SPIRV_TOOLS_ROOT/include/spirv/GLSL.std.450.h $SPIRV_TOOLS_ROOT/include/spirv/OpenCL.std.h A project should use -I$SPIRV_TOOLS_ROOT/include and then #include "spirv-tools/libspirv.h" The headers from the SPIR-V Registry can be accessed as "spirv/spirv." for example. The install target should also install the headers from the SPIR-V Registry. The libspirv.h header is broken otherwise. The SPIRV-Tools library depends on the headers from the SPIR-V Registry. The util/bitutils.h and util/hex_float.h are pulled into the internal source tree. Those are not part of the public API to SPIRV-Tools.
2016-02-02Use AssemblyGrammar for capability validation.Dejan Mircevski
Also: - ForEach() for spv_capability_mask_t. - Add capability min/max constants. - Move max definition from validate_types.cpp to spirv_definition.h.
2016-01-07Extend copyright to 2016.Dejan Mircevski
2015-11-12Support capabilities StorageImageReadWithoutFormatDavid Neto
Also add capability StorageImageWriteWithoutFormat. They only affect validation rules.
2015-11-12Move internal macros/structs for SPIR-V to a separate header.Lei Zhang