dan sinclair [Fri, 26 Jun 2020 16:00:08 +0000 (12:00 -0400)]
Register the Tint compiler
John Kessenich [Mon, 1 Jun 2020 16:40:53 +0000 (10:40 -0600)]
Merge pull request #159 from dneto0/fix-quotes
spir-v.xml: Use plain ASCII quotes in comment
David Neto [Mon, 1 Jun 2020 15:58:55 +0000 (11:58 -0400)]
spir-v.xml: Use plain ASCII quotes in comment
Avoids parse error on Windows-based Python3.
John Kessenich [Fri, 29 May 2020 13:50:37 +0000 (07:50 -0600)]
Merge pull request #158 from mkinsner/mkinsner/fpfastmath_allocation_mechanism
Propose bit allocation mechanism for the FP Fast Math Mode bitfield
John Kessenich [Fri, 29 May 2020 13:48:16 +0000 (07:48 -0600)]
Rebuild headers against the previous grammar commit.
John Kessenich [Fri, 29 May 2020 13:47:40 +0000 (07:47 -0600)]
Merge pull request #150 from MrSidims/private/MrSidims/UpstreamIntelExt
Add Intel specific definitions from https://github.com/KhronosGroup/S…
Dmitry Sidorov [Fri, 29 May 2020 11:14:14 +0000 (14:14 +0300)]
Apply suggestions
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
Dmitry Sidorov [Sun, 5 Apr 2020 14:30:50 +0000 (17:30 +0300)]
Add Intel specific definitions from KhronosGroup/SPIRV-LLVM-Translator
List of extensions:
SPV_INTEL_fpga_memory_attributes
https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/INTEL/SPV_INTEL_fpga_memory_attributes.asciidoc
SPV_INTEL_kernel_attributes
https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/INTEL/SPV_INTEL_kernel_attributes.asciidoc
SPV_INTEL_fpga_reg
https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/INTEL/SPV_INTEL_fpga_reg.asciidoc
SPV_INTEL_blocking_pipes
https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/INTEL/SPV_INTEL_blocking_pipes.asciidoc
SPV_INTEL_fpga_loop_controls
https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/INTEL/SPV_INTEL_fpga_loop_controls.asciidoc
SPV_INTEL_unstructured_loop_controls
https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/INTEL/SPV_INTEL_unstructured_loop_controls.asciidoc
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
John Kessenich [Fri, 29 May 2020 09:36:53 +0000 (03:36 -0600)]
Header build from previous grammar update.
John Kessenich [Fri, 29 May 2020 09:28:43 +0000 (03:28 -0600)]
Merge pull request #152 from MrSidims/private/MrSidims/FunctionPointers
Add SPV_INTEL_function_pointers preview extension
Michael Kinsner [Mon, 25 May 2020 20:15:28 +0000 (17:15 -0300)]
Propose bit allocation mechanism for the FP Fast Math Mode bitfield, following from the mechanism previously added for the loop control bitfield.
John Kessenich [Thu, 21 May 2020 11:35:51 +0000 (05:35 -0600)]
Merge pull request #157 from dneto0/update-example
Update example to use unified1 headers
David Neto [Wed, 20 May 2020 15:58:47 +0000 (11:58 -0400)]
Update example to use unified1 headers
Also remove the 1.1-specific example.
John Kessenich [Fri, 24 Apr 2020 14:50:04 +0000 (08:50 -0600)]
Update headers to SPIR-V 1.5 Revision 3
John Kessenich [Fri, 24 Apr 2020 12:50:35 +0000 (06:50 -0600)]
Add a bunch of missing "version" : "None" for ray tracing.
John Kessenich [Fri, 24 Apr 2020 08:56:56 +0000 (02:56 -0600)]
Rebuild the headers with the fixed grammar file.
See previous 2 commits.
John Kessenich [Fri, 24 Apr 2020 07:20:05 +0000 (01:20 -0600)]
Add missing "version" : "None" for ShaderCallKHR
John Kessenich [Fri, 24 Apr 2020 06:26:45 +0000 (00:26 -0600)]
Grammar: The ray-tracing updates were not done in numerical ordering.
This makes management difficult. See the readme:
Care should be taken to follow existing precedent in populating the
details of reserved tokens. This includes:
* keeping enumerants in numeric order
John Kessenich [Mon, 13 Apr 2020 14:10:55 +0000 (08:10 -0600)]
Discuss generator magic number reservations.
Dmitry Sidorov [Sun, 5 Apr 2020 14:25:26 +0000 (17:25 +0300)]
Add SPV_INTEL_function_pointers preview extension
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
John Kessenich [Tue, 17 Mar 2020 13:49:00 +0000 (07:49 -0600)]
Merge pull request #149 from dgkoch/prov_ray_tracing
Add SPV_KHR_ray_{tracing,query} to headers
Daniel Koch [Tue, 17 Mar 2020 11:39:38 +0000 (07:39 -0400)]
Add shadercalls scope
and update copyright notices
Torosdagli [Tue, 3 Mar 2020 23:01:57 +0000 (18:01 -0500)]
Added ray flags, primitive culling flags, queries
John Kessenich [Tue, 17 Mar 2020 06:44:51 +0000 (00:44 -0600)]
Non-functional: Update header build to match Khronos spec. builder.
John Kessenich [Tue, 17 Mar 2020 06:37:33 +0000 (00:37 -0600)]
Merge pull request #135 from vulturm/patch-1
Also propagate SPIRV-Headers version to CMakeLists.txt
alelenv [Fri, 14 Feb 2020 20:51:42 +0000 (12:51 -0800)]
Update headers for SPV_KHR_ray_tracing.
John Kessenich [Sat, 14 Mar 2020 07:23:58 +0000 (01:23 -0600)]
Merge pull request #148 from null77/fix-gn
Add missing header to BUILD.gn.
Jamie Madill [Fri, 13 Mar 2020 20:53:30 +0000 (16:53 -0400)]
Add missing header to BUILD.gn.
File: include/spirv/unified1/NonSemanticDebugPrintf.h was missing.
This was causing a presubmit step to fail in ANGLE.
Steven Perron [Mon, 9 Mar 2020 18:32:37 +0000 (14:32 -0400)]
Merge pull request #146 from s-perron/bazel
Export NonSemanticDebugPrintf.h in bazel build
Steven Perron [Mon, 9 Mar 2020 18:23:42 +0000 (14:23 -0400)]
Export NonSemanticDebugPrintf.h in bazel build
John Kessenich [Thu, 5 Mar 2020 06:55:33 +0000 (23:55 -0700)]
Merge pull request #145 from jeffbolznv/nonsemantic_debugprintf
Add NonSemantic.DebugPrintf JSON/header
Jeff Bolz [Mon, 2 Mar 2020 15:44:14 +0000 (09:44 -0600)]
Add NonSemantic.DebugPrintf JSON/header
Jeff Bolz [Mon, 2 Mar 2020 15:43:49 +0000 (09:43 -0600)]
Fix max enum value
David Neto [Wed, 26 Feb 2020 18:58:17 +0000 (13:58 -0500)]
Add grammars, C header, and header generator for vendor and KHR extended instruction sets (#143)
* Add JSON grammars for extened instruction sets
Add AMD extended instruction sets
Add DebugInfo
Add OpenCL.DebugInfo.100
* Add script to generate C headers from extinst grammar
This is cloned then adapted from the same-named script in SPIRV-Tools
(contributed under same authorship but different copyright).
Invoke the script as part of the overall header generation script.
* Add generated C header for extended instruction sets
Add for DebugInfo and OpenCLDebugInfo
Add for AMD vendor extended instruction sets
* Update the README for extinst header generation
* Fix header include guard to match directory structure
* Ensure generated header ends in newline
* Fix typo in file reference
* Fix name of AMD_shader_explicit_vertex_parameter.h
* Avoid duplicate generation
* Split Revision and Version enum values by newlines
Per code review request
* Convert C header generator driver to Python3
* Fix README for Python3 for extinst header generation
* Use 4-space in generated headers, consistently
John Kessenich [Fri, 7 Feb 2020 23:09:58 +0000 (16:09 -0700)]
Merge pull request #142 from mkinsner/additional_loop_control_bits
Allocate three loop control bits for an upcoming Intel extension
Michael Kinsner [Fri, 7 Feb 2020 16:12:03 +0000 (11:12 -0500)]
Allocate three bits for upcoming Intel extension
David Neto [Mon, 20 Jan 2020 20:27:01 +0000 (12:27 -0800)]
Merge pull request #141 from dneto0/update-buildgn-lic
Fix the license to match LICENSE
David Neto [Mon, 20 Jan 2020 20:25:39 +0000 (15:25 -0500)]
Fix the license to match LICENSE
(Code was committed by Googler, so it is owned by Google. I can change it.)
dan sinclair [Mon, 20 Jan 2020 19:50:09 +0000 (14:50 -0500)]
Merge pull request #140 from ShabbyX/add_build_gn
Add BUILD.gn
Shahbaz Youssefi [Mon, 20 Jan 2020 19:26:35 +0000 (14:26 -0500)]
Add BUILD.gn
Signed-off-by: Shahbaz Youssefi <syoussefi@google.com>
Mihai Vultur [Wed, 1 Jan 2020 02:50:17 +0000 (04:50 +0200)]
Also propagate SPIRV-Headers version to CMakeLists.txt
John Kessenich [Wed, 20 Nov 2019 14:41:17 +0000 (07:41 -0700)]
Merge pull request #134 from Tobski/patch-1
Reserve a new block of 64 opcodes
Tobski [Wed, 20 Nov 2019 14:32:51 +0000 (14:32 +0000)]
Off-by-one errors
Tobski [Wed, 20 Nov 2019 14:31:37 +0000 (14:31 +0000)]
Reserve a new block of 64 opcodes
John Kessenich [Tue, 15 Oct 2019 06:11:57 +0000 (00:11 -0600)]
Versioning: Complete the versioning change in recent commits.
These didn't include a full rebuild of the headers.
John Kessenich [Tue, 15 Oct 2019 05:30:22 +0000 (23:30 -0600)]
Merge pull request #133 from nhaehnle/buildHeader-spv15
buildHeaders: update version to SPIR-V 1.5
Nicolai Hähnle [Mon, 14 Oct 2019 19:54:38 +0000 (21:54 +0200)]
buildHeaders: update version to SPIR-V 1.5
This seems to have gotten dropped in the latest update.
John Kessenich [Thu, 3 Oct 2019 17:32:37 +0000 (11:32 -0600)]
Merge pull request #131 from lukaszgotszaldintel/new_branch
add cmake option SPIRV_HEADERS_SKIP_INSTALL
John Kessenich [Tue, 24 Sep 2019 14:57:05 +0000 (08:57 -0600)]
Merge pull request #128 from amdrexu/bugfix
Bump the SPIR-V version to 1.5
Ehsan [Tue, 24 Sep 2019 14:54:00 +0000 (10:54 -0400)]
Merge pull request #129 from ehsannas/update_doc
Improve the doc on using Bazel.
Ehsan Nasiri [Tue, 24 Sep 2019 14:51:17 +0000 (10:51 -0400)]
Improve the doc on using Bazel.
John Kessenich [Tue, 24 Sep 2019 14:45:29 +0000 (08:45 -0600)]
Merge pull request #127 from ehsannas/add_bazel_build
Add a Bazel build file.
lgotszal [Tue, 24 Sep 2019 14:44:13 +0000 (16:44 +0200)]
add cmake option SPIRV_HEADERS_SKIP_INSTALL
Rex Xu [Tue, 24 Sep 2019 06:51:04 +0000 (14:51 +0800)]
Bump the SPIR-V version to 1.5
Ehsan Nasiri [Mon, 23 Sep 2019 18:38:23 +0000 (14:38 -0400)]
Update documentation.
Ehsan Nasiri [Wed, 18 Sep 2019 20:30:29 +0000 (16:30 -0400)]
Add a Bazel build file.
John Kessenich [Wed, 18 Sep 2019 13:48:41 +0000 (07:48 -0600)]
Add SPV_KHR_physical_storage_buffer.
This just parallels SPV_EXT_physical_storage_buffer.
John Kessenich [Fri, 13 Sep 2019 14:49:39 +0000 (08:49 -0600)]
SPIR-V 1.5.
John Kessenich [Fri, 30 Aug 2019 09:05:58 +0000 (03:05 -0600)]
Minor tweak for Rev. 2 of SPIR-V 1.4.
John Kessenich [Mon, 26 Aug 2019 11:44:38 +0000 (05:44 -0600)]
Merge branch 'printing-classes'
John Kessenich [Mon, 22 Jul 2019 12:30:18 +0000 (06:30 -0600)]
Merge pull request #123 from AaronHaganAMD/master
Add SPV_KHR_shader_clock to spirv-headers
amhagan [Sun, 14 Jul 2019 20:36:10 +0000 (16:36 -0400)]
Add SPV_KHR_shader_clock to spirv-headers
John Kessenich [Sat, 13 Jul 2019 00:31:09 +0000 (18:31 -0600)]
Merge pull request #122 from mkinsner/array_init_loop_control_bit
Reserve additional loop control bit for upcoming update to SPV_INTEL_fpga_loop_controls
Michael Kinsner [Fri, 12 Jul 2019 15:43:52 +0000 (11:43 -0400)]
Reserve additional loop control bit for upcoming update to SPV_INTEL_fpga_loop_controls extension
John Kessenich [Wed, 3 Jul 2019 15:55:23 +0000 (09:55 -0600)]
Merge pull request #120 from antiagainst/mlir-serializer
Reserve ID 22 for MLIR SPIR-V Serializer
John Kessenich [Tue, 2 Jul 2019 15:08:14 +0000 (09:08 -0600)]
Merge pull request #121 from jeffbolznv/demote_to_helper_invocation
add SPV_EXT_demote_to_helper_invocation
Jeff Bolz [Mon, 1 Jul 2019 14:01:42 +0000 (09:01 -0500)]
add SPV_EXT_demote_to_helper_invocation
Lei Zhang [Sat, 15 Jun 2019 11:24:19 +0000 (07:24 -0400)]
Reserve ID 23 for MLIR SPIR-V Serializer
John Kessenich [Thu, 13 Jun 2019 04:06:13 +0000 (22:06 -0600)]
Merge pull request #119 from dneto0/spirv-issue-476
Add Volatile to Memory Semantics, for SPV_KHR_vulkan_memory_model
David Neto [Wed, 12 Jun 2019 21:56:03 +0000 (17:56 -0400)]
Add Volatile to Memory Semantics, for SPV_KHR_vulkan_memory_model
From Khronos-internal issue 476: Update SPV_KHR_vulkan_memory_model
to be able to express volatile OpAtomic* operations.
Also regenerate the language-specific headers. This step fixes
two problems with UserTypeGOOGLE in those headers.
John Kessenich [Wed, 12 Jun 2019 06:32:32 +0000 (00:32 -0600)]
Merge pull request #117 from ehsannas/UserTypeGOOGLE
Add grammar and symbols for UserTypeGOOGLE extension to unified1.
John Kessenich [Wed, 12 Jun 2019 06:17:15 +0000 (00:17 -0600)]
Grammar: Add instruction-printing classes.
Each instruction belongs to exactly one instruction class.
@exclude will put in the headers, but not in the specification.
Reserved is for instructions that are both to be reserved in the
specification and not yet put into another printing class.
(It is okay to establish a printing class for a reserved instruction.)
Ehsan Nasiri [Mon, 10 Jun 2019 15:12:25 +0000 (11:12 -0400)]
Add grammar and symbols for UserTypeGOOGLE extension to unified1.
John Kessenich [Sat, 8 Jun 2019 08:01:20 +0000 (02:01 -0600)]
Merge pull request #105 from mchiasson/cmake_install_config
cmake development configuration package
John Kessenich [Sat, 8 Jun 2019 05:31:31 +0000 (23:31 -0600)]
Add missing "version" : "None" to a bunch of reserved enumerants.
John Kessenich [Sat, 8 Jun 2019 05:05:30 +0000 (23:05 -0600)]
Add more detail about reserving tokens to the README.
John Kessenich [Sat, 8 Jun 2019 04:33:45 +0000 (22:33 -0600)]
Restore numerical order in enumerants.
John Kessenich [Mon, 3 Jun 2019 02:22:37 +0000 (20:22 -0600)]
Merge pull request #114 from jeffbolznv/fsi
Add SPV_EXT_fragment_shader_interlock
Jeff Bolz [Mon, 3 Jun 2019 01:25:14 +0000 (20:25 -0500)]
Add SPV_EXT_fragment_shader_interlock
John Kessenich [Mon, 3 Jun 2019 02:16:27 +0000 (20:16 -0600)]
Merge pull request #115 from dgkoch/SPV_NV_sm_shader_builts
Add support for SPV_NV_sm_shader_builtins
Daniel Koch [Fri, 17 May 2019 19:05:34 +0000 (15:05 -0400)]
Add support for SPV_NV_sm_shader_builtins
John Kessenich [Fri, 31 May 2019 09:18:12 +0000 (03:18 -0600)]
OpenCL ext. inst. header: Support C in addition to C++.
Via #ifdef cplusplus.
John Kessenich [Wed, 29 May 2019 21:58:32 +0000 (15:58 -0600)]
Merge pull request #112 from mkinsner/master
Proposed LoopControl bitfield allocation mechanism in spir-v.xml
Michael Kinsner [Mon, 27 May 2019 20:11:48 +0000 (16:11 -0400)]
Proposed LoopControl bitfield allocation mechanism in spir-v.xml
John Kessenich [Thu, 23 May 2019 20:31:30 +0000 (14:31 -0600)]
Merge pull request #111 from Naghasan/codeplay-range
Reserve token range for Codeplay
Victor Lomuller [Thu, 23 May 2019 09:31:50 +0000 (10:31 +0100)]
Reserve token range for Codeplay
Matt Chiasson [Sat, 18 May 2019 23:44:18 +0000 (19:44 -0400)]
Update CMakeLists.txt
John Kessenich [Fri, 17 May 2019 03:44:32 +0000 (10:44 +0700)]
Merge pull request #102 from ianromanick/INTEL_shader_integer_functions2
Add INTEL_shader_integer_functions2
John Kessenich [Fri, 17 May 2019 03:42:55 +0000 (10:42 +0700)]
Merge pull request #107 from jeffbolznv/duplicate_enum_switch
Update HasResultAndType code generation to skip duplicate enum values
Jeff Bolz [Thu, 16 May 2019 21:15:54 +0000 (16:15 -0500)]
Update HasResultAndType code generation to skip duplicate enum values. There weren't any until SPIR-V 1.4 release, now there are two.
Matt Chiasson [Thu, 16 May 2019 11:45:30 +0000 (07:45 -0400)]
updated as per code review
John Kessenich [Sun, 12 May 2019 11:24:42 +0000 (18:24 +0700)]
Merge pull request #106 from alankemp/fix_json_writer
Compare enum names rather than values to determine last element
Alan Kemp [Sat, 11 May 2019 23:44:05 +0000 (00:44 +0100)]
Compare enum names rather than values to determine last element
Mathieu-Andre Chiasson [Sat, 11 May 2019 19:49:18 +0000 (15:49 -0400)]
cmake development configuration package
Fixes #104
John Kessenich [Fri, 10 May 2019 17:40:31 +0000 (00:40 +0700)]
Merge pull request #103 from amdrexu/bugfix
Enable Groups capability by the extension SPV_AMD_shader_ballot
Rex Xu [Thu, 9 May 2019 08:43:37 +0000 (16:43 +0800)]
Enable Groups capability by the extension SPV_AMD_shader_ballot
Ian Romanick [Tue, 30 Apr 2019 17:28:58 +0000 (10:28 -0700)]
Add INTEL_shader_integer_functions2
John Kessenich [Tue, 7 May 2019 05:34:36 +0000 (23:34 -0600)]
Move to version 1.4 of SPIR-V.
John Kessenich [Mon, 6 May 2019 13:33:29 +0000 (07:33 -0600)]
Rationalize opcode ordering and a few spaces.
John Kessenich [Tue, 7 May 2019 04:47:09 +0000 (11:47 +0700)]
Merge pull request #101 from dneto0/clspv-generator
Reserve generator 21 for Clspv