Malcolm Bechard
ba5c010c59
fix crash when atomicCounter() with no args is used.
2024-07-12 11:30:49 -04:00
dependabot[bot]
42d9adf50b
Bump lukka/get-cmake from 3.29.6 to 3.30.0
...
Bumps [lukka/get-cmake](https://github.com/lukka/get-cmake ) from 3.29.6 to 3.30.0.
- [Release notes](https://github.com/lukka/get-cmake/releases )
- [Commits](2bcb1a4c14...983956e4a5
)
---
updated-dependencies:
- dependency-name: lukka/get-cmake
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 11:18:26 -04:00
Arcady Goldmints-Orlov
5ec1a8d0b5
Update macOS requirement from 11 to 12 in github CD workflow
2024-07-08 18:49:30 -04:00
dependabot[bot]
fae2f0ada8
Bump actions/upload-artifact from 4.3.3 to 4.3.4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](65462800fd...0b2256b8c0
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 17:08:05 -04:00
David Neto
4a516f28a1
kokoro: use Python 3.12 for Linux builds
...
Bug: crbug.com/350048185
2024-07-05 17:36:16 -04:00
friendlyanon
f9fbc91d4f
Fix glslangValidator
installation
...
This caused the glslang[tools] vcpkg feature to not install properly,
because the glslangValidator executable didn't exist for tool
installation.
2024-07-05 13:17:03 -04:00
Mason Remaley
5939e32b87
Fixes undefined behavior due to unspecified enum backing
...
In C++, enums can only represent "in range" values. If the backing
type is not specified, then the result of using bitwise negation on
an enum is not gaurenteed to be in range, resulting in UB.
This was caught by UBSAN, stack trace is as follows:
0. 0x000000000426e391 in spv::operator& (a=spv::MemoryAccessMaskNone,
b=(spv::MemoryAccessVolatileMask | spv::MemoryAccessAlignedMask | spv::MemoryAccessNontemporalMask | spv::MemoryAccessMakePointerVisibleMask | spv::MemoryAccessNonPrivatePointerMask | spv::MemoryAccessAliasScopeINTELMaskMask | spv::MemoryAccessNoAliasINTELMaskMask | unknown: 0xfffcffc0)) at SPIRV/spirv.hpp:2804
1. 0x00000000041e81e0 in (anonymous namespace)::TGlslangToSpvTraverser::accessChainLoad (this=0x7fffffffcbb8, type=...) at SPIRV/GlslangToSpv.cpp:5127
2. 0x00000000041bc059 in (anonymous namespace)::TGlslangToSpvTraverser::visitBinary (this=0x7fffffffcbb8, node=0x5f6a6c8) at SPIRV/GlslangToSpv.cpp:2192
3. 0x0000000003db8660 in glslang::TIntermBinary::traverse (this=0x5f6a6c8, it=0x7fffffffcbb8) at glslang/glslang/MachineIndependent/IntermTraverse.cpp:92
4. 0x0000000003db952e in glslang::TIntermAggregate::traverse (this=0x5f6a7d8, it=0x7fffffffcbb8) at glslang/glslang/MachineIndependent/IntermTraverse.cpp:175
5. 0x00000000042082db in (anonymous namespace)::TGlslangToSpvTraverser::makeGlobalInitializers (this=0x7fffffffcbb8, initializers=...) at SPIRV/GlslangToSpv.cpp:5618
6. 0x00000000041c511f in (anonymous namespace)::TGlslangToSpvTraverser::visitAggregate (this=0x7fffffffcbb8, visit=glslang::EvPreVisit, node=0x5f6a9b8) at SPIRV/GlslangToSpv.cpp:2907
7. 0x0000000003db8fb9 in glslang::TIntermAggregate::traverse (this=0x5f6a9b8, it=0x7fffffffcbb8) at glslang/glslang/MachineIndependent/IntermTraverse.cpp:159
8. 0x00000000041acc04 in glslang::GlslangToSpv (intermediate=..., spirv=..., logger=0x7fffffffdc38, options=0x7fffffffdc2f) at SPIRV/GlslangToSpv.cpp:10398
9. 0x0000000003bfd6f1 in CompileAndLinkShaderUnits (compUnits=...) at StandAlone/StandAlone.cpp:1547
10. 0x0000000003bfe2f8 in CompileAndLinkShaderFiles (Worklist=...) at StandAlone/StandAlone.cpp:1640
11. 0x0000000003bfec2c in singleMain () at StandAlone/StandAlone.cpp:1713
12. 0x0000000003bff4dd in main (argc=5, argv=0x7fffffffe3d8) at StandAlone/StandAlone.cpp:1767
2024-07-03 15:59:55 -04:00
Qingyuan Zheng
704107fda3
Fix function call line number for calls spanning multiple lines.
2024-07-02 14:38:40 -04:00
Qingyuan Zheng
85262fb20e
Fill correct file name to OpDebugFunction and add line info for parameters' OpDebugDeclare
2024-07-02 14:23:59 -04:00
dependabot[bot]
8a5086efb0
Bump github/codeql-action from 3.25.10 to 3.25.11
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.25.10 to 3.25.11.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](23acc5c183...b611370bb5
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 14:19:02 -04:00
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
Antoine
7c40de7aa2
Auto-detect WASI platform
2024-06-28 11:00:54 -04:00
Antoine
20490a11aa
Adding the preprocessor value DISABLE_THREAD_SUPPORT to allow compilation of glslang without thread support for WASI.
2024-06-28 11:00:54 -04:00
dependabot[bot]
ea087ff90d
Bump lukka/get-cmake from 3.29.5 to 3.29.6
...
Bumps [lukka/get-cmake](https://github.com/lukka/get-cmake ) from 3.29.5 to 3.29.6.
- [Release notes](https://github.com/lukka/get-cmake/releases )
- [Commits](18d87816d1...2bcb1a4c14
)
---
updated-dependencies:
- dependency-name: lukka/get-cmake
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-26 13:18:45 -04:00
Jeremy Hayes
fa9c3deb49
Update CHANGES for 14.3.0
2024-06-25 18:42:43 -04:00
Jeremy Hayes
0d6be86cf1
Update known_good.json
2024-06-25 13:59:16 -04:00
Arcady Goldmints-Orlov
0c15a28c94
refactor: Make type component/constituent counts unsigned
...
A type can't have a negative number of constituents, components, rows,
or columns. Therefore, the utility functions to query said information
on types and values should return unsigned int rather than int.
2024-06-24 13:52:56 -04:00
Arcady Goldmints-Orlov
33d517470e
Generate vector constructions more efficiently when sizes match
...
When two vectors are the same size, there is no need to extract the
components and construct a new vector.
2024-06-24 13:52:56 -04:00
Arcady Goldmints-Orlov
2d8b71fc63
Add test cases for redundant type conversions
...
These redundant type conversions were generating illegal SPIR-V when
only the 8-bit/16-bit storage extensions and not the corresponding
arithmetic extensions were enabled.
2024-06-20 20:12:29 -04:00
RP Singh
a05c4eca74
Skip identity conversions for 8-bit and 16-bit types ( #3622 )
...
[BugFix] Do not generate any conversion for 8-bit and 16-bit types if it is an identity conversion.
Earlier (before this fix), it generated incorrect SPIR-V convert instructions, as SPIR-V
requires that the types being converted differ.
2024-06-20 16:34:59 -04:00
dependabot[bot]
68a17eb721
Bump actions/checkout from 4.1.6 to 4.1.7
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](a5ac7e51b4...692973e3d9
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 14:42:30 -04:00
dependabot[bot]
d275ea6c52
Bump github/codeql-action from 3.25.8 to 3.25.10
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.25.8 to 3.25.10.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](2e230e8fe0...23acc5c183
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 14:41:55 -04:00
Romaric Jodin
eadafe80ed
Update known_good.json
...
Also update test that is now passing
2024-06-17 14:41:34 -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
AnyOldName3
a92c61f845
Add aliases for the public libraries
...
This makes things consistent between when glslang is installed and imported versus when it's included as nested CMake project.
You can now use `glslang::glslang` in both cases instead of needing the non-namespaced version sometimes and the namespaced one other times.
Resolves one of the problems discussed in https://github.com/KhronosGroup/glslang/issues/3509
2024-06-11 15:34:07 -04:00
Pedro Olsen Ferreira
02263efcd6
Add support for the ARM extended matrix layout
2024-06-11 15:33:49 -04:00
dependabot[bot]
68821c4da8
Bump github/codeql-action from 3.25.7 to 3.25.8
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.25.7 to 3.25.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](f079b84933...2e230e8fe0
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 18:48:34 -04:00
dependabot[bot]
d2b2a3d057
Bump lukka/get-cmake from 3.29.3 to 3.29.5
...
Bumps [lukka/get-cmake](https://github.com/lukka/get-cmake ) from 3.29.3 to 3.29.5.
- [Release notes](https://github.com/lukka/get-cmake/releases )
- [Commits](c57ffe818c...18d87816d1
)
---
updated-dependencies:
- dependency-name: lukka/get-cmake
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 18:31:28 -04:00
Arcady Goldmints-Orlov
73eccd4b67
Add the KHR suffix for OpExtInstWithForwardRefsKHR instruction
2024-06-06 18:46:14 -04:00
Arcady Goldmints-Orlov
81f7045aa0
Emit debug info for buffer references
...
Using OpExtInstWithForwardRefs, the debug type information for buffer
reference types can be emitted alongside the OpFowardPointer opcode.
2024-06-06 18:46:14 -04:00
Arcady Goldmints-Orlov
996c5d3123
Add support for OpExtInstWithForwardRefs
2024-06-06 18:46:14 -04:00
Jeff Bolz
4da479aa6a
Generate SPV_EXT_replicated_composites when requested by pragma.
...
Implement GL_EXT_spec_constant_composites.
2024-06-03 18:13:07 -04:00
Jeff Bolz
6a8b2b2439
Reuse loads generated for repeated function arguments
2024-06-03 18:13:07 -04:00
dependabot[bot]
0e311906b9
Bump github/codeql-action from 3.25.6 to 3.25.7
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.25.6 to 3.25.7.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](9fdb3e4972...f079b84933
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 13:34:31 -04:00
Philippe SWARTVAGHER
2b19bf7e1b
Fix few typos
2024-05-27 05:16:35 -07:00
dependabot[bot]
5b09f3e4bf
Bump github/codeql-action from 3.25.5 to 3.25.6
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.25.5 to 3.25.6.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](b7cec75265...9fdb3e4972
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 04:52:31 -07:00
Max Andersson
1cad045cc2
Make gl_HitT proper aliases of gl_RayTmax
...
Changes the gl_HitT builtins properly alias
their gl_RayTmax. Previously they ended up as
duplicate variables, rather than aliased.
2024-05-24 11:08:06 -07:00
arcady-lunarg
7c3c50ea94
spirv: Add a postprocessing pass to fix up uses of OpSampledImage
...
SPIR-V requires that any instruction using the result of an
OpSampledImage instruction be in the same block as the OpSampledImage.
This is hard to guarantee in code generation but easy to fix after the
fact, by simply inserting a new OpSampledImage before the user of its
result if needed, with the new instruction having the same operands as
the original OpSampledImage.
This change adds a new pass to spv::Builder::postProcess that does this.
This might leave the original OpSampledImage instructions "orphaned"
with no users of their result ID, but dead code elimination would take
care of those further down the line.
2024-05-20 13:25:55 -04:00
dependabot[bot]
2712d643b1
Bump actions/checkout from 4.1.5 to 4.1.6
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](44c2b7a8a4...a5ac7e51b4
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 09:28:35 -07:00
dependabot[bot]
31cfe5f9c7
Bump github/codeql-action from 3.25.3 to 3.25.5
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.25.3 to 3.25.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](d39d31e687...b7cec75265
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 09:28:11 -07:00
Arcady Goldmints-Orlov
af0641aa09
ci: Add testing on Mac OS 14 instead of 12
2024-05-14 17:14:28 -04:00
dependabot[bot]
541733a66b
Bump actions/checkout from 4.1.4 to 4.1.5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](0ad4b8fada...44c2b7a8a4
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 11:25:23 -04:00
dependabot[bot]
b3e9bdbe16
Bump ossf/scorecard-action from 2.3.1 to 2.3.3
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.3.1 to 2.3.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](0864cf1902...dc50aa9510
)
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 10:17:40 -04:00
dependabot[bot]
377c8f979a
Bump lukka/get-cmake from 3.29.2 to 3.29.3
...
Bumps [lukka/get-cmake](https://github.com/lukka/get-cmake ) from 3.29.2 to 3.29.3.
- [Release notes](https://github.com/lukka/get-cmake/releases )
- [Commits](4931ab1fc1...c57ffe818c
)
---
updated-dependencies:
- dependency-name: lukka/get-cmake
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 10:17:23 -04:00
Pavel Rojtberg
edca09e3af
add back layoutLocation to public API
2024-05-10 14:54:17 -04:00
dependabot[bot]
effcbf7893
Bump actions/checkout from 4.1.3 to 4.1.4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](1d96c772d1...0ad4b8fada
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-08 14:24:07 -04:00
Jeremy Hayes
e8dd0b6903
Update CHANGES for 14.2.0
2024-05-02 18:12:36 -04:00
Jeremy Hayes
409c97dfee
Update known_good.json
2024-05-02 14:18:07 -04:00
David Neto
142052fa30
Update validation results of SPV_QCOM_image_processing2
...
Update SPIRV-Tools to include https://github.com/KhronosGroup/SPIRV-Tools/pull/5646
which fixes validation of SPV_QCOM_imageprocessing2
This allows us to remove the "Validation failed" result for two
tests.
2024-04-30 13:26:38 -04:00