Khronos Group Webmaster [Wed, 10 Oct 2018 19:53:13 +0000 (15:53 -0400)]
Create CODE_OF_CONDUCT.md
John Kessenich [Wed, 19 Sep 2018 19:47:46 +0000 (13:47 -0600)]
Fix D -> d typo in previous commit.
John Kessenich [Wed, 19 Sep 2018 16:44:50 +0000 (10:44 -0600)]
Add enumerants for six Nvidia extensions:
SPV_NV_fragment_shader_barycentric
SPV_NV_compute_shader_derivatives
SPV_NV_shader_image_footprint
SPV_NV_shading_rate
SPV_NV_mesh_shader
SPV_NVX_Raytracing
John Kessenich [Thu, 6 Sep 2018 17:10:32 +0000 (11:10 -0600)]
Headers for revision 4 of SPIR-V 1.3, including SPV_KHR_vulkan_memory_model.
John Kessenich [Thu, 9 Aug 2018 16:22:41 +0000 (10:22 -0600)]
Revert "Update grammar for latest release of SPIR-V (revision 4 of 1.3 unified)"
This reverts commit
da767eb63f86e710541296834a25fcd522ba5249.
John Kessenich [Wed, 8 Aug 2018 23:41:18 +0000 (17:41 -0600)]
Update grammar for latest release of SPIR-V (revision 4 of 1.3 unified)
John Kessenich [Tue, 3 Jul 2018 18:58:23 +0000 (12:58 -0600)]
Add enumerants for SPV_KHR_8bit_storage.
John Kessenich [Mon, 2 Jul 2018 21:15:41 +0000 (15:15 -0600)]
Merge pull request #49 from jdknight/cmake-install-cleanup
cmake: support default install target
John Kessenich [Mon, 2 Jul 2018 21:09:41 +0000 (15:09 -0600)]
Revert "Merge pull request #71 from casey/rebuild-makefile"
This reverts commit
443d15017aac19a0d5fe3cdce0d8df745475ed51, reversing
changes made to
1fa0d86ffb850db90d70b257628cbcf230199bc0.
John Kessenich [Mon, 2 Jul 2018 21:03:08 +0000 (15:03 -0600)]
Merge pull request #71 from casey/rebuild-makefile
Add a makefile to the top level for convenience
John Kessenich [Mon, 2 Jul 2018 20:59:54 +0000 (14:59 -0600)]
Merge pull request #70 from casey/bash-path
Use /usr/bin/env to avoid hardcoding path to bash
John Kessenich [Wed, 13 Jun 2018 21:50:08 +0000 (15:50 -0600)]
Add missing #include.
John Kessenich [Wed, 13 Jun 2018 21:49:25 +0000 (15:49 -0600)]
Fix #74: Protect against repeated inclusion of OpenCL.std.h
James Knight [Sat, 2 Jun 2018 00:54:54 +0000 (20:54 -0400)]
cmake: support gnu installation directory convention
Support the handling of the `DESTDIR` environment variable for
environments (UNIX-based) opting for an GNU-style installation over
a CMake-style installation.
Cc: sl1pkn07 <sl1pkn07@gmail.com>
Signed-off-by: James Knight <james.d.knight@live.com>
John Kessenich [Thu, 10 May 2018 16:34:53 +0000 (10:34 -0600)]
Merge pull request #73 from antiagainst/add-missing-extension
Add missing 'extensions' field for some NVIDIA symbols
John Kessenich [Thu, 10 May 2018 16:30:32 +0000 (10:30 -0600)]
Fixes two internal bugs:
- 299: Add the ImageGatherExtended capability to ConstOffsets
- 285: Remove Kernel as a capability implicitly declared by Int8
Lei Zhang [Thu, 10 May 2018 13:54:01 +0000 (09:54 -0400)]
Add missing 'extensions' field for some NVIDIA symbols
* SPV_NV_sample_mask_override_coverage
* SPV_NV_geometry_shader_passthrough
* SPV_NV_stereo_view_rendering
* SPV_NV_shader_subgroup_partitioned
John Kessenich [Thu, 3 May 2018 11:14:58 +0000 (05:14 -0600)]
Merge pull request #72 from clayengine/master
Clay Shader Compiler
Clay Engine [Thu, 3 May 2018 10:02:02 +0000 (17:02 +0700)]
Clay Shader Compiler
Casey Rodarmor [Tue, 17 Apr 2018 18:21:28 +0000 (14:21 -0400)]
Add a makefile to the top level for convenience
Casey Rodarmor [Mon, 16 Apr 2018 22:41:41 +0000 (18:41 -0400)]
Use /usr/bin/env to avoid hardcoding path to bash
John Kessenich [Fri, 13 Apr 2018 21:57:14 +0000 (15:57 -0600)]
Merge pull request #68 from dneto0/hlsl-decorate-string
SPV_GOOGLE_hlsl_functionality1 includes all of SPV_GOOGLE_decorate_st…
David Neto [Fri, 13 Apr 2018 21:50:04 +0000 (17:50 -0400)]
SPV_GOOGLE_hlsl_functionality1 includes all of SPV_GOOGLE_decorate_string
This fix to the SPV_GOOGLE_hlsl_functionality1 extension spec is pending.
John Kessenich [Thu, 5 Apr 2018 16:42:47 +0000 (10:42 -0600)]
Add tokens for SPV_EXT_descriptor_indexing.
John Kessenich [Fri, 30 Mar 2018 20:00:04 +0000 (14:00 -0600)]
Merge pull request #67 from jeffbolznv/partition_missing_extension
Add missing 'extensions' for OpGroupNonUniformPartitionNV
Jeff Bolz [Fri, 30 Mar 2018 19:57:06 +0000 (14:57 -0500)]
Add missing 'extensions' for OpGroupNonUniformPartitionNV
John Kessenich [Fri, 30 Mar 2018 17:58:42 +0000 (11:58 -0600)]
Add SPV_NV_shader_subgroup_partitioned to SPIR-V JSON
John Kessenich [Thu, 29 Mar 2018 17:14:45 +0000 (11:14 -0600)]
Merge pull request #66 from bashbaug/intel_enum_block
reserve 2x SPIR-V enum blocks for upcoming Intel extensions
bashbaug [Wed, 28 Mar 2018 23:29:46 +0000 (16:29 -0700)]
reserve 2x SPIR-V enum blocks for upcoming Intel extensions
John Kessenich [Wed, 21 Mar 2018 00:41:58 +0000 (18:41 -0600)]
Merge pull request #64 from antiagainst/add-extensions
Add missing extensions on some symbols
Lei Zhang [Mon, 19 Mar 2018 23:55:17 +0000 (19:55 -0400)]
Add missing extensions on some symbols
For the following extensions:
* SPV_KHR_post_depth_coverage
* SPV_EXT_fragment_fully_covered
* SPV_AMD_shader_fragment_mask
John Kessenich [Mon, 19 Mar 2018 20:24:59 +0000 (14:24 -0600)]
Merge pull request #63 from antiagainst/add-missing-extensions
Add missing extensions for several symbols
Lei Zhang [Mon, 19 Mar 2018 19:08:33 +0000 (15:08 -0400)]
Add missing extensions for several symbols
Added the extension requirement for the symbols of the following
extensions:
* SPV_EXT_shader_stencil_export
* SPV_AMD_shader_explicit_vertex_parameter
John Kessenich [Wed, 14 Mar 2018 21:47:53 +0000 (15:47 -0600)]
Merge pull request #62 from antiagainst/fix-extensions
Add missing extension/capability requirements for some symbols
Lei Zhang [Wed, 14 Mar 2018 14:23:16 +0000 (10:23 -0400)]
Add missing extension/capability requirements for some symbols
Make the grammar more accurate:
Certain symbols can be enabled by an extension in all SPIR-V
versions, like DeviceGroup. Previously the extension for it
is missing, which makes it look like it is only available from
SPIR-V 1.3.
Make tooling more easier to check certain rules:
Certain symbols require both an extension and a capability to
be available. Instead of only specifying the capability, we can
specify both the capability and the extension on the symbol.
So tools don't need to perform indirect query on the capability
to find out the extension requirements. For example, BaseVertex
requires the DrawParameters capability. But it also requires
the SPV_KHR_shader_draw_parameters extension in SPIR-V <1.3.
Previously we can only find out that fact by checking the
extension requirements for DrawParameters.
Make the grammar more consistent:
Previously some symbols have all their capabilities and extensions
listed, but some are not.
John Kessenich [Wed, 7 Mar 2018 03:49:00 +0000 (20:49 -0700)]
Create version 1.3 of SPIR-V.
John Kessenich [Fri, 2 Mar 2018 21:19:16 +0000 (14:19 -0700)]
Merge pull request #61 from antiagainst/backport-google-ext
Fix Google extension grammar error and backport
Lei Zhang [Fri, 2 Mar 2018 17:46:51 +0000 (12:46 -0500)]
Back port grammar and symbols for two Google extensions
* SPV_GOOGLE_decorate_string
* SPV_GOOGLE_hlsl_functionality1
Lei Zhang [Fri, 2 Mar 2018 20:45:55 +0000 (15:45 -0500)]
Fix grammar error for Google decorate_string & hlsl_functionality1
John Kessenich [Fri, 2 Mar 2018 16:49:57 +0000 (09:49 -0700)]
Merge pull request #60 from antiagainst/add-google-ext
Add grammar and symbols for two Google extensions to unified1
Lei Zhang [Thu, 1 Mar 2018 21:24:21 +0000 (16:24 -0500)]
Add grammar and symbols for two Google extensions to unified1
* SPV_GOOGLE_decorate_string
* SPV_GOOGLE_hlsl_functionality1
John Kessenich [Fri, 2 Mar 2018 16:40:00 +0000 (09:40 -0700)]
Be more clear about build directories in the README.
John Kessenich [Fri, 2 Mar 2018 16:35:52 +0000 (09:35 -0700)]
Generate headers from last grammar change.
John Kessenich [Fri, 2 Mar 2018 16:33:07 +0000 (09:33 -0700)]
Merge pull request #59 from amdrexu/feature
Update grammar json for SPV_AMD_gpu_shader_half_float_fetch
Rex Xu [Fri, 2 Mar 2018 14:15:21 +0000 (22:15 +0800)]
Update grammar json for SPV_AMD_gpu_shader_half_float_fetch
John Kessenich [Thu, 15 Feb 2018 17:10:42 +0000 (10:10 -0700)]
Merge pull request #57 from antiagainst/shader_ballot
Allow SubgroupSize and SubgroupLocalInvocationId with SubgroupBallotKHR
Lei Zhang [Tue, 13 Feb 2018 17:29:01 +0000 (12:29 -0500)]
Allow SubgroupSize and SubgroupLocalInvocationId with SubgroupBallotKHR
As specified in https://www.khronos.org/registry/spir-v/extensions/KHR/SPV_KHR_shader_ballot.html:
```
(Add the SubgroupBallotKHR capability to SubgroupSize.)
(Add the SubgroupBallotKHR capability to SubgroupLocalInvocationId.)
```
John Kessenich [Thu, 1 Feb 2018 21:46:45 +0000 (14:46 -0700)]
BuildHeaders: Add missing 'const'.
John Kessenich [Thu, 1 Feb 2018 21:32:00 +0000 (14:32 -0700)]
Update copyright dates.
John Kessenich [Tue, 23 Jan 2018 09:46:13 +0000 (02:46 -0700)]
Add a header generator project.
John Kessenich [Wed, 31 Jan 2018 19:25:35 +0000 (12:25 -0700)]
Merge pull request #56 from jozefkucia/register-vkd3d-shader-compiler
Register the VKD3D Shader Compiler
Józef Kucia [Wed, 31 Jan 2018 10:52:24 +0000 (11:52 +0100)]
Register the VKD3D Shader Compiler
See https://source.winehq.org/git/vkd3d.git/
John Kessenich [Sun, 14 Jan 2018 10:26:45 +0000 (03:26 -0700)]
Correct the version/revision in the grammar file.
John Kessenich [Wed, 3 Jan 2018 23:43:17 +0000 (16:43 -0700)]
Add headers for the 1.2 unified (1.0, 1.1, and 1.2) specification.
John Kessenich [Sat, 2 Dec 2017 02:13:54 +0000 (19:13 -0700)]
Merge pull request #54 from dneto0/google-range
Reserve token range for Google
David Neto [Fri, 1 Dec 2017 15:34:45 +0000 (10:34 -0500)]
Reserve token range for Google
John Kessenich [Sun, 15 Oct 2017 03:03:27 +0000 (21:03 -0600)]
Add new Intel token reservations.
James Knight [Thu, 28 Sep 2017 03:14:10 +0000 (23:14 -0400)]
README.md: update install notes
Update recommended installation documentation to use the "install"
target (from "install-headers").
Signed-off-by: James Knight <james.d.knight@live.com>
James Knight [Thu, 28 Sep 2017 03:05:35 +0000 (23:05 -0400)]
cmake: support default install target
Allow the common install target to support the installation of
header files (rather then having a custom target). Developers should
be able to invoke the install target as follows:
cmake --build . --target install
This commit leaves the original custom target to install headers
for interim support.
Signed-off-by: James Knight <james.d.knight@live.com>
James Knight [Thu, 28 Sep 2017 02:57:36 +0000 (22:57 -0400)]
cmake: bump minimum required to support example
The sub-directory "example" takes advantage of the command
"target_include_directories", which is only available in CMake
v2.8.11+ [1][2]. Bumping the minimum version of CMake required.
[1]: https://cmake.org/cmake/help/v2.8.11/cmake.html#command:target_include_directories
[2]: https://cmake.org/cmake/help/v2.8.10/cmake.html#section_Commands
Signed-off-by: James Knight <james.d.knight@live.com>
John Kessenich [Wed, 13 Sep 2017 22:25:38 +0000 (16:25 -0600)]
Add new tokens for SPV_AMD_shader_fragment_mask, and rebuild all headers.
Replaces #47.
Rex Xu [Tue, 12 Sep 2017 07:51:35 +0000 (15:51 +0800)]
Add new tokens for SPV_AMD_shader_fragment_mask
John Kessenich [Fri, 1 Sep 2017 07:09:12 +0000 (01:09 -0600)]
Fix #45, and minor reordering.
- SPV_EXT_shader_stencil_export
- SPV_AMD_shader_image_load_store_lod
John Kessenich [Wed, 30 Aug 2017 21:35:17 +0000 (15:35 -0600)]
Merge pull request #46 from dneto0/regsiter-spirv-tools-linker
Register the Khronos SPIRV-Tools Linker
David Neto [Wed, 30 Aug 2017 04:07:21 +0000 (00:07 -0400)]
Register the Khronos SPIRV-Tools Linker
See https://github.com/KhronosGroup/SPIRV-Tools/pull/693
John Kessenich [Tue, 22 Aug 2017 15:27:46 +0000 (09:27 -0600)]
Update all headers for SPV_EXT_shader_stencil_export.
John Kessenich [Fri, 11 Aug 2017 18:37:09 +0000 (12:37 -0600)]
Add SPV_EXT_shader_viewport_index_layer.
John Kessenich [Fri, 21 Jul 2017 05:26:56 +0000 (14:26 +0900)]
Merge pull request #41 from metora/master
Reserve number 16 to Mesa-IR/SPIR-V Translator
metora [Fri, 21 Jul 2017 04:40:12 +0000 (12:40 +0800)]
Reserve number 16 to Mesa-IR/SPIR-V Translator
John Kessenich [Fri, 30 Jun 2017 19:46:52 +0000 (13:46 -0600)]
Incremental update for multiple recent extensions.
SPV_KHR_shader_atomic_counter_ops
SPV_KHR_post_depth_coverage
SPV_AMD_texture_gather_bias_lod
OpGroup*AMD
ExplicitInterpAMD
John Kessenich [Thu, 22 Jun 2017 18:09:01 +0000 (12:09 -0600)]
Merge pull request #39 from bashbaug/intel_enum_block
reserve SPIR-V enum block for upcoming Intel extension
bashbaug [Thu, 22 Jun 2017 17:55:10 +0000 (10:55 -0700)]
reserve SPIR-V enum block for upcoming Intel extension
John Kessenich [Tue, 16 May 2017 05:34:12 +0000 (23:34 -0600)]
Add version 1.2 headers, update 1.1 to rev. 7, and 1.0 to rev. 11.
John Kessenich [Thu, 6 Apr 2017 20:35:19 +0000 (14:35 -0600)]
Add recently reserved enumerants.
John Kessenich [Thu, 30 Mar 2017 23:21:18 +0000 (17:21 -0600)]
Synchronize OpenCL extended instruction set header with spec, and add missing capability use to the JSON grammar.
John Kessenich [Thu, 23 Mar 2017 18:26:43 +0000 (12:26 -0600)]
Update JSON grammar files for 16-bit storage.
John Kessenich [Tue, 14 Mar 2017 16:09:29 +0000 (10:09 -0600)]
Merge pull request #31 from antiagainst/spirv-generator-15
Reserve SPIR-V generator number 15 for rspirv
Lei Zhang [Tue, 14 Mar 2017 13:51:07 +0000 (09:51 -0400)]
Reserve SPIR-V generator number 15 for rspirv
link: https://github.com/google/rspirv
John Kessenich [Mon, 13 Mar 2017 21:30:17 +0000 (15:30 -0600)]
Merge pull request #30 from antiagainst/spirv-generator-14
Reserve generator number 14
Lei Zhang [Tue, 7 Mar 2017 22:21:25 +0000 (17:21 -0500)]
Reserve generator number 14
John Kessenich [Mon, 27 Feb 2017 09:08:09 +0000 (02:08 -0700)]
Add Rev. 10 of 1.0 and Rev. 6 of 1.1 headers.
John Kessenich [Thu, 16 Feb 2017 18:14:01 +0000 (11:14 -0700)]
Merge pull request #29 from antiagainst/core-grammar-revision
Update SPIR-V core grammar revision number
Lei Zhang [Wed, 15 Feb 2017 20:11:38 +0000 (15:11 -0500)]
Update SPIR-V core grammar revision number
John Kessenich [Wed, 15 Feb 2017 18:34:58 +0000 (11:34 -0700)]
New revisions of SPIR-V 1.0 and 1.1, and both extended instruction sets.
This includes SPV_KHR_subgroup_vote tokens.
John Kessenich [Thu, 8 Dec 2016 17:01:06 +0000 (10:01 -0700)]
Merge pull request #26 from dneto0/register-shaderc-glslang-frontend
Add "Shaderc over Glslang" as a front end
David Neto [Thu, 8 Dec 2016 16:47:22 +0000 (11:47 -0500)]
Add "Shaderc over Glslang" as a front end
This will help gauge Shaderc usage.
John Kessenich [Sat, 22 Oct 2016 08:22:42 +0000 (02:22 -0600)]
Add Imagination as a vendor and reserve an enum range for them.
John Kessenich [Sat, 8 Oct 2016 23:56:28 +0000 (17:56 -0600)]
Correct Revision numbers for previous commit.
John Kessenich [Sat, 8 Oct 2016 22:51:48 +0000 (16:51 -0600)]
Update to Rev. 8 of 1.0 and Rev. 4 of 1.1. Includes enums for SPV_KHR_shader_draw_parameters.
John Kessenich [Wed, 21 Sep 2016 15:45:31 +0000 (09:45 -0600)]
Merge pull request #23 from dneto0/clarify-opcode-enum-ranges
Clarify opcode/enum ranges
David Neto [Wed, 21 Sep 2016 15:39:17 +0000 (11:39 -0400)]
Fix typos and style, from review feedback
David Neto [Mon, 19 Sep 2016 20:28:24 +0000 (16:28 -0400)]
Clarify uses of value used in KHR specs
If a value's use is adopted by a KHR extension or
spec, then it's as if the value were originally
reserved in a Khronos ragne. Khronos permanently
fixes that use.
David Neto [Mon, 19 Sep 2016 19:41:05 +0000 (15:41 -0400)]
Clarify opcode/enum ranges
John Kessenich [Fri, 16 Sep 2016 18:16:00 +0000 (12:16 -0600)]
Add SPV_KHR_shader_ballot enumerants for 1.0.
John Kessenich [Fri, 16 Sep 2016 18:09:29 +0000 (12:09 -0600)]
Add SPV_KHR_shader_ballot enumerants.
John Kessenich [Fri, 12 Aug 2016 05:07:49 +0000 (23:07 -0600)]
Update headers to latest revision (no functional changes).
John Kessenich [Sat, 16 Jul 2016 00:54:29 +0000 (18:54 -0600)]
Rev. 6 of 1.0 and Rev. 2 of 1.1 headers (changed headers).
The previous commit was just new headers, for simpler tracking.
John Kessenich [Sat, 16 Jul 2016 00:49:51 +0000 (18:49 -0600)]
Rev. 6 of 1.0 and Rev. 2 of 1.1 headers.
Jon Leech [Thu, 19 May 2016 19:17:43 +0000 (12:17 -0700)]
Merge pull request #8 from KhronosGroup/issue-7-README
Fixes #7. Direct people to file header issues in github, not bugzilla.
Jon Leech [Thu, 19 May 2016 19:11:12 +0000 (12:11 -0700)]
Fixes #7.
Direct people to file header issues in github, not bugzilla.