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
Arcady Goldmints-Orlov
19efb4ec60
Move the spv.debugInfo.frag test back into runtests
2024-06-14 19:01:46 -04:00
Qingyuan Zheng
d8f5681ec0
Add includer to gtest for include file tests.
...
Turn on debug info flag for non-semantic debug test.
2024-06-14 19:01:46 -04:00
Qingyuan Zheng
f8a2442a16
Improve line info for symbol access and assignment
2023-04-01 21:04:46 -06:00
Jeremy Hayes
78221d619e
Update CHANGES for release 11.12.0
2022-10-13 10:58:53 -06:00
Jeremy Hayes
7a914ce926
Implement NonSemantic.Shader.DebugInfo.100
...
See https://github.com/KhronosGroup/SPIRV-Registry .
2022-08-26 16:17:54 -06:00
Qingyuan Zheng
279c28e70a
generate OpLine before OpFunction
2022-05-23 23:05:43 -07: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
18d6b6b63e
Tests: Add more test results for the previous generator version bump.
2019-11-03 00:22:47 -06:00
John Kessenich
d6c975572e
Change the major revision number for next commit.
2018-06-04 15:33:31 -06:00
John Kessenich
d3ed90be3a
Fix #944 : Convert argument type to match formal parameter type.
2018-05-04 11:43:03 -06:00
Neil Roberts
1fe4a44759
Add locations to opaque types for OpenGL
2018-03-21 12:03:39 +01:00
John Kessenich
ac3707921e
Revert the commits that change OpArrayLength type and bumped the version number.
...
Now, version 5.* is all connected to making the uint type, which doesn't quite work.
Generator versions 4 and 6 do not do this.
2018-03-07 11:48:25 -07:00
John Kessenich
0216f24f0e
SPV: Bump up the generator number.
2018-03-03 11:47:07 -07:00
John Kessenich
9c9c4e90df
GLSL/SPV: Fix #1196 : Require resources to have layout(binding=X).
2018-02-22 11:47:41 -07:00
John Kessenich
4bee531fc1
HLSL: Fix #1249 : Always execute both sides of ternary "?:".
...
This is semantically required by HLSL, and frequently results in using
OpSelect instead of control flow.
2018-02-20 21:32:33 -07:00
John Kessenich
71b5da60d0
SPV: Bump up generator number, because previous commit changes code gen slightly.
2018-02-06 08:06:36 -07:00
John Kessenich
2b5ea9f851
SPV Version: Emit the requested SPIR-V version, not the header version.
...
Fixes #1236 .
2018-01-31 18:41:59 -07:00
John Kessenich
6c1c2766b6
SPV: Bump SPIR-V header to the unified1 version (version 1.2).
2018-01-29 16:16:11 -07:00
John Kessenich
c72e5937dd
SPV: Bump the generator number to account for barrier changes.
2017-12-16 00:34:08 -07:00
John Kessenich
07ed11f9a0
SPV: GeneratorVersion: bump version number because of atomic decrement change.
2017-10-07 11:41:20 -06:00
John Kessenich
2a27116cae
SPV reflection: Add OpModuleProcessed for compile options.
2017-08-25 11:48:02 -06:00
John Kessenich
e00e8f45a6
GLSL: replace general missing functionality with specific messages.
2017-06-05 16:42:33 -06:00
John Kessenich
e485c7af58
SPV: Debug output: Include OpLine information for execution path.
...
Note that declaratives are not handled, only procedurals.
2017-05-31 18:50:53 -06:00
John Kessenich
121853f4df
SPV: Add OpSource shader source code and file name.
2017-05-31 17:14:15 -06:00