Skip to content

Commit 62f5b09

Browse files
vmaksimoDmitry Sidorov
authored andcommitted
[SPIR-V 1.5] Move the version to supported
Original commit: a104311
1 parent b509ef2 commit 62f5b09

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ the version of the SPIR-V file which is being generated/consumed.
202202
the input file and emit an error if the SPIR-V version in it is higher than
203203
one specified via this option.
204204
205-
Allowed values are `1.0`, `1.1`, `1.2`, `1.3`, and `1.4`.
205+
Allowed values are `1.0`, `1.1`, `1.2`, `1.3`, `1.4`, and `1.5`.
206206
207207
More information can be found in
208208
[SPIR-V versions and extensions handling](docs/SPIRVVersionsAndExtensionsHandling.rst)

docs/SPIRVVersionsAndExtensionsHandling.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ the version of the SPIR-V file which is being generated/consumed.
6565
one exception: resulting SPIR-V version cannot be raised higher than
6666
specified by this option.
6767

68-
Allowed values are ``1.0``, ``1.1``, ``1.2``, ``1.3``, and ``1.4``.
68+
Allowed values are ``1.0``, ``1.1``, ``1.2``, ``1.3``, ``1.4``, and ``1.5``.
6969

7070
.. warning::
7171
These two options are mutually exclusive and cannot be specified at the

tools/llvm-spirv/llvm-spirv.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ static cl::opt<VersionNumber> MaxSPIRVVersion(
110110
clEnumValN(VersionNumber::SPIRV_1_2, "1.2", "SPIR-V 1.2"),
111111
clEnumValN(VersionNumber::SPIRV_1_3, "1.3", "SPIR-V 1.3"),
112112
clEnumValN(VersionNumber::SPIRV_1_4, "1.4", "SPIR-V 1.4"),
113-
clEnumValN(VersionNumber::SPIRV_1_5, "1.5",
114-
"SPIR-V 1.5 (experimental)")),
113+
clEnumValN(VersionNumber::SPIRV_1_5, "1.5", "SPIR-V 1.5")),
115114
cl::init(VersionNumber::MaximumVersion));
116115

117116
static cl::list<std::string>

0 commit comments

Comments
 (0)