platform/upstream/SPIRV-Headers.git
3 years agoadd generated headers
Ben Ashbaugh [Wed, 27 Jan 2021 16:50:30 +0000 (08:50 -0800)]
add generated headers

3 years agoadd None as a possible value for DebugInfoFlags
Ben Ashbaugh [Wed, 27 Jan 2021 16:03:49 +0000 (08:03 -0800)]
add None as a possible value for DebugInfoFlags

3 years agoMerge pull request #191 from dneto0/reorder-enums-in-spec
John Kessenich [Fri, 22 Jan 2021 20:34:02 +0000 (13:34 -0700)]
Merge pull request #191 from dneto0/reorder-enums-in-spec

Push FPDenormMode, FPOperationMode to the end

3 years agoPush FPDenormMode, FPOperationMode to the end
David Neto [Wed, 20 Jan 2021 21:54:17 +0000 (16:54 -0500)]
Push FPDenormMode, FPOperationMode to the end

This is a cosmetic change for the benefit of generating the SPIR-V spec.
It reorders the "FP Denorm Mode" and "FP Operation Mode" so they are
the last sections in chapter 3 before the instruction listing.
They become 3.37 and 3.38. The idea is to preserve the section numbering
for earlier sections. For example, keep 3.31 as the Capability section.

3 years agoMerge pull request #176 from MrSidims/private/MrSidims/OtherExtensions
John Kessenich [Wed, 20 Jan 2021 16:44:51 +0000 (09:44 -0700)]
Merge pull request #176 from MrSidims/private/MrSidims/OtherExtensions

Upstream several Intel extensions

3 years agoApply suggestions to Intel extensions PR
Dmitry Sidorov [Wed, 20 Jan 2021 11:36:25 +0000 (14:36 +0300)]
Apply suggestions to Intel extensions PR

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoUpdate generated files
Dmitry Sidorov [Wed, 16 Dec 2020 16:35:01 +0000 (19:35 +0300)]
Update generated files

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoAdd SPV_INTEL_long_constant_composite extension
Dmitry Sidorov [Wed, 16 Dec 2020 16:34:22 +0000 (19:34 +0300)]
Add SPV_INTEL_long_constant_composite extension

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoAdd SPV_INTEL_loop_fuse extension
Dmitry Sidorov [Wed, 16 Dec 2020 15:47:50 +0000 (18:47 +0300)]
Add SPV_INTEL_loop_fuse extension

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoAdd SPV_INTEL_fpga_cluster_attributes and SPV_INTEL_fp_fast_math_mode
Dmitry Sidorov [Mon, 23 Nov 2020 08:19:33 +0000 (11:19 +0300)]
Add SPV_INTEL_fpga_cluster_attributes and SPV_INTEL_fp_fast_math_mode

Spec:
https://github.com/KhronosGroup/SPIRV-Registry/blob/7d96a31cf56c60de76a6ae7a26ace3c7bfd999bf/extensions/INTEL/SPV_INTEL_fpga_cluster_attributes.asciidoc
https://github.com/KhronosGroup/SPIRV-Registry/blob/7d96a31cf56c60de76a6ae7a26ace3c7bfd999bf/extensions/INTEL/SPV_INTEL_fp_fast_math_mode.asciidoc

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoUpdate SPV_INTEL_fpga_loop_controls extension
Dmitry Sidorov [Mon, 23 Nov 2020 08:09:22 +0000 (11:09 +0300)]
Update SPV_INTEL_fpga_loop_controls extension

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoUpdate SPV_INTEL_kernel_attributes extension
Dmitry Sidorov [Mon, 16 Nov 2020 19:41:33 +0000 (22:41 +0300)]
Update SPV_INTEL_kernel_attributes extension

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoUpdate SPV_INTEL_function_pointers extension
Dmitry Sidorov [Mon, 9 Nov 2020 13:05:22 +0000 (16:05 +0300)]
Update SPV_INTEL_function_pointers extension

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoUpstream SPV_INTEL_float_controls2 extension
Dmitry Sidorov [Mon, 9 Nov 2020 10:03:22 +0000 (13:03 +0300)]
Upstream SPV_INTEL_float_controls2 extension

Spec:
https://github.com/intel/llvm/blob/39fa9b0cbfbae88327118990a05c5b387b56d2ef/sycl/doc/extensions/SPIRV/SPV_INTEL_float_controls2.asciidoc

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoUpstream SPV_INTEL_vector_compute extension
Dmitry Sidorov [Mon, 9 Nov 2020 09:18:01 +0000 (12:18 +0300)]
Upstream SPV_INTEL_vector_compute extension

Spec:
https://github.com/intel/llvm/blob/e185a6b49e4bc9806a799b774977f1196b24f0d6/sycl/doc/extensions/SPIRV/SPV_INTEL_vector_compute.asciidoc

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoUpstream SPV_INTEL_fpga_memory_accesses extension
Dmitry Sidorov [Fri, 6 Nov 2020 10:04:08 +0000 (13:04 +0300)]
Upstream SPV_INTEL_fpga_memory_accesses extension

Spec:
https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/INTEL/SPV_INTEL_fpga_memory_accesses.asciidoc

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoUpstream SPV_INTEL_io_pipes extension
Dmitry Sidorov [Fri, 6 Nov 2020 09:52:16 +0000 (12:52 +0300)]
Upstream SPV_INTEL_io_pipes extension

Spec:
https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/INTEL/SPV_INTEL_io_pipes.asciidoc

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoUpstream SPV_INTEL_variable_length_array extension
Dmitry Sidorov [Thu, 5 Nov 2020 10:01:03 +0000 (13:01 +0300)]
Upstream SPV_INTEL_variable_length_array extension

Spec:
https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/SPIRV/SPV_INTEL_variable_length_array.asciidoc

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoUpstream SPV_INTEL_usm_storage_classes extension
Dmitry Sidorov [Thu, 5 Nov 2020 09:29:39 +0000 (12:29 +0300)]
Upstream SPV_INTEL_usm_storage_classes extension

Spec:
https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/SPIRV/SPV_INTEL_usm_storage_classes.asciidoc

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoUpstream SPV_INTEL_arbitrary_precision_integers extensions
Dmitry Sidorov [Thu, 5 Nov 2020 09:05:34 +0000 (12:05 +0300)]
Upstream SPV_INTEL_arbitrary_precision_integers extensions

Spec:
https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/SPIRV/SPV_INTEL_arbitrary_precision_int.asciidoc

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoUpstream SPV_INTEL_inline_assembly extension
Dmitry Sidorov [Thu, 5 Nov 2020 08:45:16 +0000 (11:45 +0300)]
Upstream SPV_INTEL_inline_assembly extension

Spec:
https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/SPIRV/SPV_INTEL_inline_assembly.asciidoc

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoUpstream SPV_INTEL_fpga_buffer_location extension
Dmitry Sidorov [Tue, 3 Nov 2020 13:52:47 +0000 (16:52 +0300)]
Upstream SPV_INTEL_fpga_buffer_location extension

Spec:
https://github.com/intel/llvm/blob/2237b42035f31cb10b16d4f9abaeed45bed98587/sycl/doc/extensions/SPIRV/SPV_INTEL_fpga_buffer_location.asciidoc

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
3 years agoMerge pull request #184 from dgkoch/dkoch_remove_hittkhr
Raun Krisch [Fri, 27 Nov 2020 23:52:34 +0000 (17:52 -0600)]
Merge pull request #184 from dgkoch/dkoch_remove_hittkhr

remove HitTKHR alias

3 years agoremove HitTKHR
Daniel Koch [Thu, 26 Nov 2020 22:28:05 +0000 (17:28 -0500)]
remove HitTKHR

It was not added to the SPV_KHR_ray_tracing extension since it is just
an alias of RayTMaxKHR.

3 years agoMerge pull request #180 from dneto0/issue-179
David Neto [Mon, 23 Nov 2020 15:16:21 +0000 (10:16 -0500)]
Merge pull request #180 from dneto0/issue-179

MeshShadingNV enables builtins PrimitiveId, Layer, and ViewportIndex

3 years agoMeshShadingNV enables builtins PrimitiveId, Layer, and ViewportIndex
David Neto [Thu, 12 Nov 2020 19:28:10 +0000 (14:28 -0500)]
MeshShadingNV enables builtins PrimitiveId, Layer, and ViewportIndex

Fixes #179

See extension SPV_NV_mesh_shader

3 years agoMerge pull request #182 from dgkoch/khr_rt_final
Raun Krisch [Mon, 23 Nov 2020 14:58:25 +0000 (08:58 -0600)]
Merge pull request #182 from dgkoch/khr_rt_final

Updates to final ray tracing extensions

3 years agode-alias/reassign OpIgnoreIntersectionKHR/OpTerminateRayKHR
Daniel Koch [Fri, 16 Oct 2020 18:18:46 +0000 (14:18 -0400)]
de-alias/reassign OpIgnoreIntersectionKHR/OpTerminateRayKHR

vulkan/vulkan#2374

3 years agoRaytracing and Rayquery updates for final
alelenv [Mon, 29 Jun 2020 18:42:18 +0000 (11:42 -0700)]
Raytracing and Rayquery updates for final

3 years agoUpdated headers for new trace/executeCallable and acceleration structure cast.
alelenv [Mon, 15 Jun 2020 18:08:39 +0000 (11:08 -0700)]
Updated headers for new trace/executeCallable and acceleration structure cast.

3 years agoReserve additional loop control bit for Intel extension (NoFusionINTEL) (#175)
Mike Kinsner [Thu, 5 Nov 2020 02:58:17 +0000 (22:58 -0400)]
Reserve additional loop control bit for Intel extension (NoFusionINTEL) (#175)

3 years agoAdd EmbarkStudios/rust-gpu to vendor list. (#174)
XAMPPRocky [Mon, 2 Nov 2020 16:14:05 +0000 (17:14 +0100)]
Add EmbarkStudios/rust-gpu to vendor list. (#174)

3 years agoBump revision to 4, for SPIR-V 1.5.
John Kessenich [Fri, 23 Oct 2020 15:21:38 +0000 (09:21 -0600)]
Bump revision to 4, for SPIR-V 1.5.

3 years agoAdd SPV_EXT_shader_image_int64 (#170)
Tobski [Mon, 19 Oct 2020 20:56:28 +0000 (21:56 +0100)]
Add SPV_EXT_shader_image_int64 (#170)

Co-authored-by: Arkadiusz Sarwa <arkadiusz.sarwa@amd.com>
3 years agoAdded SPV_KHR_fragment_shading_rate (#172)
Tobski [Mon, 19 Oct 2020 20:55:32 +0000 (21:55 +0100)]
Added SPV_KHR_fragment_shading_rate (#172)

3 years ago Register the Xenia emulator as a generator (#171)
Triang3l [Mon, 12 Oct 2020 16:31:57 +0000 (19:31 +0300)]
 Register the Xenia emulator as a generator (#171)

3 years agoRegister the Messiah SPIR-V CodeGen (#169)
Yuwen Wu [Sun, 27 Sep 2020 03:57:26 +0000 (11:57 +0800)]
Register the Messiah SPIR-V CodeGen (#169)

3 years agoRegister the ANGLE compiler (#168)
Shahbaz Youssefi [Thu, 10 Sep 2020 16:03:06 +0000 (12:03 -0400)]
Register the ANGLE compiler (#168)

3 years agoRebuild of latest headers, which slightly moves OpTerminateInvocation
John Kessenich [Tue, 8 Sep 2020 14:01:38 +0000 (08:01 -0600)]
Rebuild of latest headers, which slightly moves OpTerminateInvocation

4 years agoReserve SPIR-V token range for upcoming Intel extensions. (#165)
Mariusz Merecki [Mon, 3 Aug 2020 09:04:37 +0000 (11:04 +0200)]
Reserve SPIR-V token range for upcoming Intel extensions. (#165)

4 years agoUpdate BUILD.bazel and BUILD.gn (#166)
alan-baker [Wed, 29 Jul 2020 20:56:17 +0000 (16:56 -0400)]
Update BUILD.bazel and BUILD.gn (#166)

* Export NonSemantic.ClspvReflection.h for both
* Add exports for the extended instruction sets in the unified1
  directory (for use in SPIRV-Tools)

4 years agoPublish the headers for the clspv embedded reflection non-semantic extended instructi...
alan-baker [Wed, 29 Jul 2020 18:23:29 +0000 (14:23 -0400)]
Publish the headers for the clspv embedded reflection non-semantic extended instruction set (#164)

* Clspv non-semantic reflection instruction set
* Version 1

4 years agoUpdate the registry in spir-v.xml to modernize and split out opcodes. (#156)
John Kessenich [Wed, 29 Jul 2020 15:38:57 +0000 (09:38 -0600)]
Update the registry in spir-v.xml to modernize and split out opcodes. (#156)

4 years agoSupport SPV_KHR_terminate_invocation (#163)
alan-baker [Tue, 21 Jul 2020 06:15:13 +0000 (02:15 -0400)]
Support SPV_KHR_terminate_invocation (#163)

* Support SPV_KHR_terminate_invocation

* Fix order in spirv.core.grammar.json

Co-authored-by: David Neto <dneto@google.com>
4 years agoMerge pull request #162 from vkushwaha-nv/SPV_EXT_shader_atomic_float
John Kessenich [Mon, 20 Jul 2020 17:40:06 +0000 (00:40 +0700)]
Merge pull request #162 from vkushwaha-nv/SPV_EXT_shader_atomic_float

Add changes for SPV_EXT_shader_atomic_float

4 years agoAdd changes for SPV_EXT_shader_atomic_float
Vikram Kushwaha [Sun, 19 Jul 2020 22:29:04 +0000 (15:29 -0700)]
Add changes for SPV_EXT_shader_atomic_float

4 years agoMerge pull request #160 from dj2/reg_tint
David Neto [Mon, 6 Jul 2020 15:49:37 +0000 (08:49 -0700)]
Merge pull request #160 from dj2/reg_tint

Register the Tint compiler

4 years agoRegister the Tint compiler
dan sinclair [Fri, 26 Jun 2020 16:00:08 +0000 (12:00 -0400)]
Register the Tint compiler

4 years agoMerge pull request #159 from dneto0/fix-quotes
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

4 years agospir-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.

4 years agoMerge pull request #158 from mkinsner/mkinsner/fpfastmath_allocation_mechanism
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

4 years agoRebuild headers against the previous grammar commit.
John Kessenich [Fri, 29 May 2020 13:48:16 +0000 (07:48 -0600)]
Rebuild headers against the previous grammar commit.

4 years agoMerge pull request #150 from MrSidims/private/MrSidims/UpstreamIntelExt
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…

4 years agoApply suggestions
Dmitry Sidorov [Fri, 29 May 2020 11:14:14 +0000 (14:14 +0300)]
Apply suggestions

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
4 years agoAdd Intel specific definitions from KhronosGroup/SPIRV-LLVM-Translator
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>
4 years agoHeader build from previous grammar update.
John Kessenich [Fri, 29 May 2020 09:36:53 +0000 (03:36 -0600)]
Header build from previous grammar update.

4 years agoMerge pull request #152 from MrSidims/private/MrSidims/FunctionPointers
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

4 years agoPropose bit allocation mechanism for the FP Fast Math Mode bitfield, following from...
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.

4 years agoMerge pull request #157 from dneto0/update-example
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

4 years agoUpdate 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.

4 years agoUpdate headers to SPIR-V 1.5 Revision 3
John Kessenich [Fri, 24 Apr 2020 14:50:04 +0000 (08:50 -0600)]
Update headers to SPIR-V 1.5 Revision 3

4 years agoAdd a bunch of missing "version" : "None" for ray tracing.
John Kessenich [Fri, 24 Apr 2020 12:50:35 +0000 (06:50 -0600)]
Add a bunch of missing "version" : "None" for ray tracing.

4 years agoRebuild the headers with the fixed grammar file.
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.

4 years agoAdd missing "version" : "None" for ShaderCallKHR
John Kessenich [Fri, 24 Apr 2020 07:20:05 +0000 (01:20 -0600)]
Add missing "version" : "None" for ShaderCallKHR

4 years agoGrammar: The ray-tracing updates were not done in numerical ordering.
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

4 years agoDiscuss generator magic number reservations.
John Kessenich [Mon, 13 Apr 2020 14:10:55 +0000 (08:10 -0600)]
Discuss generator magic number reservations.

4 years agoAdd SPV_INTEL_function_pointers preview extension
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>
4 years agoMerge pull request #149 from dgkoch/prov_ray_tracing
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

4 years agoAdd shadercalls scope
Daniel Koch [Tue, 17 Mar 2020 11:39:38 +0000 (07:39 -0400)]
Add shadercalls scope

and update copyright notices

4 years agoAdded ray flags, primitive culling flags, queries
Torosdagli [Tue, 3 Mar 2020 23:01:57 +0000 (18:01 -0500)]
Added ray flags, primitive culling flags, queries

4 years agoNon-functional: Update header build to match Khronos spec. builder.
John Kessenich [Tue, 17 Mar 2020 06:44:51 +0000 (00:44 -0600)]
Non-functional: Update header build to match Khronos spec. builder.

4 years agoMerge pull request #135 from vulturm/patch-1
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

4 years agoUpdate headers for SPV_KHR_ray_tracing.
alelenv [Fri, 14 Feb 2020 20:51:42 +0000 (12:51 -0800)]
Update headers for SPV_KHR_ray_tracing.

4 years agoMerge pull request #148 from null77/fix-gn
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.

4 years agoAdd 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.

4 years agoMerge pull request #146 from s-perron/bazel
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

4 years agoExport NonSemanticDebugPrintf.h in bazel build
Steven Perron [Mon, 9 Mar 2020 18:23:42 +0000 (14:23 -0400)]
Export NonSemanticDebugPrintf.h in bazel build

4 years agoMerge pull request #145 from jeffbolznv/nonsemantic_debugprintf
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

4 years agoAdd NonSemantic.DebugPrintf JSON/header
Jeff Bolz [Mon, 2 Mar 2020 15:44:14 +0000 (09:44 -0600)]
Add NonSemantic.DebugPrintf JSON/header

4 years agoFix max enum value
Jeff Bolz [Mon, 2 Mar 2020 15:43:49 +0000 (09:43 -0600)]
Fix max enum value

4 years agoAdd grammars, C header, and header generator for vendor and KHR extended instruction...
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

4 years agoMerge pull request #142 from mkinsner/additional_loop_control_bits
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

4 years agoAllocate three bits for upcoming Intel extension
Michael Kinsner [Fri, 7 Feb 2020 16:12:03 +0000 (11:12 -0500)]
Allocate three bits for upcoming Intel extension

4 years agoMerge pull request #141 from dneto0/update-buildgn-lic
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

4 years agoFix 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.)

4 years agoMerge pull request #140 from ShabbyX/add_build_gn
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

4 years agoAdd 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>
4 years agoAlso propagate SPIRV-Headers version to CMakeLists.txt
Mihai Vultur [Wed, 1 Jan 2020 02:50:17 +0000 (04:50 +0200)]
Also propagate SPIRV-Headers version to CMakeLists.txt

4 years agoMerge pull request #134 from Tobski/patch-1
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

4 years agoOff-by-one errors
Tobski [Wed, 20 Nov 2019 14:32:51 +0000 (14:32 +0000)]
Off-by-one errors

4 years agoReserve a new block of 64 opcodes
Tobski [Wed, 20 Nov 2019 14:31:37 +0000 (14:31 +0000)]
Reserve a new block of 64 opcodes

4 years agoVersioning: Complete the versioning change in recent commits.
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.

4 years agoMerge pull request #133 from nhaehnle/buildHeader-spv15
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

4 years agobuildHeaders: 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.

4 years agoMerge pull request #131 from lukaszgotszaldintel/new_branch
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

4 years agoMerge pull request #128 from amdrexu/bugfix
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

4 years agoMerge pull request #129 from ehsannas/update_doc
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.

4 years agoImprove the doc on using Bazel.
Ehsan Nasiri [Tue, 24 Sep 2019 14:51:17 +0000 (10:51 -0400)]
Improve the doc on using Bazel.

4 years agoMerge pull request #127 from ehsannas/add_bazel_build
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.

4 years agoadd cmake option SPIRV_HEADERS_SKIP_INSTALL
lgotszal [Tue, 24 Sep 2019 14:44:13 +0000 (16:44 +0200)]
add cmake option SPIRV_HEADERS_SKIP_INSTALL