Steven Perron
33c7e30860
Don't emit duplicate decorations. ( #3635 )
...
It is invalid if the same decoration is applied to the same id multiple
times. This adds a check before adding a decoration that the decoration
is not already in the list. If it is, then the duplicate is not added.
Fixes #3627
2024-06-28 19:16:59 -04:00
alan-baker
1e4f53ab2d
Prevent duplicate SPIR-V decorations ( #3570 )
...
* Update SPIRV-Tools
* https://github.com/KhronosGroup/SPIRV-Tools/pull/5641 added
validation that caught errors
* Modified glslang to prevent duplicate Restrict and Coherent
decorations
* Modify createConstructor to avoid adding duplicate RelaxedPrecision
decorations when generating a scalar
2024-04-15 11:39:23 -04:00
Jeremy Hayes
78221d619e
Update CHANGES for release 11.12.0
2022-10-13 10:58:53 -06:00
Greg Fischer
186e66c1a3
Revert "Update minimum SPIR-V requirement for GL_EXT_buffer_reference"
2021-04-07 15:20:16 -06:00
Jeremy Hayes
97dfbe2c4b
Update minimum SPIR-V requirement
...
Require SPIR-V 1.3 when using GL_EXT_buffer_reference.
Migrate tests to SPIR-V 1.3 fixture as necessary.
Fix extension table key.
Fix whitespace.
2021-03-29 15:10:43 -06:00
Jeremy Hayes
13e27f9dd0
Default to KHR extension
...
Fix #2530 .
2021-03-22 13:42:43 -06:00
Graeme Leese
182ab460d9
Update test expected files with new magic number
...
Updating the SPIR-V generator version number changes the output of all
the SPIR-V tests.
2020-06-22 11:49:38 +01:00
John Kessenich
3641ff7378
Bump code gen version, due to removal of OpEntryPoint operands.
2020-06-10 07:40:56 -06:00
John Kessenich
31c3370d83
Bump up the generator version, which is exposed in SPV test results.
2019-11-02 21:26:40 -06:00
John Kessenich
1ff0c181bb
Fix #1924 : Emit SPV_EXT_physical_storage_buffer, not the KHR form.
...
The KHR form comes along as part of 1.5, and otherwise should require
another form of request to emit it.
2019-10-10 12:01:13 -06:00
John Kessenich
90e402f42b
SPV_KHR_physical_storage_buffer/SPV: Add GL_EXT_buffer_reference_uvec2
...
Adds uvec2 <-> reference constructor support.
Switches from EXT to KHR for physical_storage_buffer.
2019-09-18 23:52:36 -06:00
Daniel Koch
9bb17cd0eb
Return consistent names from CapabilityString
...
Don't prefix with "Capability" since the majority of them don't.
Also add missing CapabilityImageFootprintNV
2019-05-28 15:23:10 -04:00
Jeff Bolz
e135a4897a
More precisely check for the qualifiers that enable the vulkan memory model for buffer references.
...
Not all memory qualifiers necessarily need the vulkan memory model, e.g. volatile/restrict that correspond to core SPIR-V features do not.
2019-01-20 00:59:38 -06:00
Jeff Bolz
9f2aec49e9
GL_EXT_buffer_reference
2019-01-07 12:36:13 -06:00