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
dependabot[bot]
f857417c99
Bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.13
...
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action ) from 1.2.12 to 1.2.13.
- [Release notes](https://github.com/hendrikmuhs/ccache-action/releases )
- [Commits](faf867a11c...c92f40bee5
)
---
updated-dependencies:
- dependency-name: hendrikmuhs/ccache-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 11:51:53 -04:00
dependabot[bot]
56b4edec35
Bump actions/upload-artifact from 4.3.2 to 4.3.3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](1746f4ab65...65462800fd
)
---
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-04-29 11:51:12 -04:00
dependabot[bot]
1fc07b5d61
Bump github/codeql-action from 3.25.1 to 3.25.3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.25.1 to 3.25.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](c7f9125735...d39d31e687
)
---
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-04-29 11:50:57 -04:00
jimihem
44fcbccd06
location aliasing ( #3438 )
...
* location aliasing
when location aliasing, the aliases sharing the location must have the same underlying numerical type
(floating-point or integer) and the same auxiliary storage and interpolation qualification.
The following case, glslang need report error.
layout(vertices = 1) out;
layout (location = 1, component = 0) in double gohan[];
layout (location = 1, component = 2) in float goten[];
in vec4 vs_tcs[];
out vec4 tcs_tes[];
void main()
{
}
* Need consider the following case: location aliasing with different interpolation qualifier.
2024-04-26 12:05:08 -04:00
Arcady Goldmints-Orlov
9337143313
Increase the TIntermediate::usedIo array
...
In 0bbec2e8f
, the code started using usedIo[4], however it never
increased the size of the array to make that index actually valid.
2024-04-26 11:19:09 -04:00
assiduous
b5672e8e8d
readme: added a note about STACK_SIZE Emscripten compiler setting
2024-04-23 19:08:45 -04:00
Wooyoung Kim
a4f870053f
A couple of fixes to the GL_QCOM_image_processing2 support ( #3578 )
...
1) handle the extension requirements of GL_QCOM_image_processing2
correctly
2) add QCOM image processing decorations to ids only once.
2024-04-23 18:34:51 -04:00
Herman Semenov
b9b8fd917b
Using reserve() in GlslangToSpv
2024-04-22 11:52:16 -04:00
Pavel Asyutchenko
e46c1b725c
Keep vec1.x l-value in HLSL
...
Changes in hlsl.shapeConv.frag are just renumbering,
duplicated load (80) has disappeared for whatever reason.
2024-04-22 11:50:37 -04:00
dependabot[bot]
d4d821272b
Bump github/codeql-action from 3.24.10 to 3.25.1
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.10 to 3.25.1.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](4355270be1...c7f9125735
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 11:50:16 -04:00
dependabot[bot]
d91ca31132
Bump actions/upload-artifact from 4.3.1 to 4.3.2
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](5d5d22a312...1746f4ab65
)
---
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-04-22 11:49:53 -04:00
dependabot[bot]
ce24426fbb
Bump actions/checkout from 4.1.2 to 4.1.3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](9bb56186c3...1d96c772d1
)
---
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-04-22 11:49:32 -04:00
jimihem
68df223056
index outside gl_SampleMask range, compiler need report error. ( #3556 )
2024-04-17 20:14:26 -04:00
Pavel Asyutchenko
593dbafd0d
Better follow HLSL offsets rules ( #3575 )
...
Matrices consuming one vector are treated like vectors for alignment, and
there is no "trailing padding" for matrices and arrays.
2024-04-17 19:34:28 -04:00
dependabot[bot]
9001ec9aa5
Bump lukka/get-cmake from 3.29.1 to 3.29.2
...
Bumps [lukka/get-cmake](https://github.com/lukka/get-cmake ) from 3.29.1 to 3.29.2.
- [Release notes](https://github.com/lukka/get-cmake/releases )
- [Commits](b111a57714...4931ab1fc1
)
---
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-04-16 18:34:29 -04:00
Arcady Goldmints-Orlov
05ba15169e
Update the README-spirv-remap.txt
...
Update the "feedback" section with the new preferred feedback channel.
2024-04-15 20:26:17 -04:00
David Neto
dba720ff94
Adjust hlsl infinity-constant test
...
Test/hlsl.inf.vert tests parsing and some constant math on
infinities, including (-1.#INF * 0.0).
By IEEE 754 rules, that result is a NaN, but its sign is not significant.
The test output assumes a negative-NaN is in the generated SPIR-V.
However, the math library on some platforms (like macOS 14, a.k.a.
Sonoma) will produce a positive NaN instead.
This PR adjusts the test so it takes the absolute value of the NaN,
to ensure we the emitted SPIR-V has the NaN with a 0 for it sign bit.
2024-04-15 18:30:28 -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
Herman Semenov
2db79056b4
Maximum optimization inserts using reserve() for operands
2024-04-11 15:10:58 -04:00
dependabot[bot]
d52749714a
Bump lukka/get-cmake from 3.29.0 to 3.29.1
...
Bumps [lukka/get-cmake](https://github.com/lukka/get-cmake ) from 3.29.0 to 3.29.1.
- [Release notes](https://github.com/lukka/get-cmake/releases )
- [Commits](9438b96ac9...b111a57714
)
---
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-04-09 14:26:48 -04:00
dependabot[bot]
188ec80dc5
Bump github/codeql-action from 3.24.9 to 3.24.10
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.9 to 3.24.10.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](1b1aada464...4355270be1
)
---
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-04-09 14:26:10 -04:00
dependabot[bot]
8a3ea594c7
Bump actions/setup-python from 5.0.0 to 5.1.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](0a5c615913...82c7e631bb
)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 18:00:41 -04:00
“jimihe”
ac5341fe91
Add a test for floating point exponent overflow
...
This adds a test with a floating point exponent that can't fit into a
32-bit int.
2024-04-01 17:58:50 -04:00
Arcady Goldmints-Orlov
d24cda64d1
Check for exponent overflow in float parser
...
Even for a double precision float, the largest valid exponent is 308, so
clamp exponents to 500 when parsing to avoid overflow of the parsed
exponent value if the exponent is too big.
2024-04-01 17:58:50 -04:00
Samuel Bourasseau
0015dc9345
Branch out of relaxed rules on opaque arguments declared at top-level ( #3558 )
2024-03-29 19:40:26 -04:00
dependabot[bot]
8c0199c4fd
Bump github/codeql-action from 3.24.7 to 3.24.9
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.7 to 3.24.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](3ab4101902...1b1aada464
)
---
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-03-27 11:25:19 -04:00
dependabot[bot]
77c4d12792
Bump lukka/get-cmake from 3.28.3 to 3.29.0
...
Bumps [lukka/get-cmake](https://github.com/lukka/get-cmake ) from 3.28.3 to 3.29.0.
- [Release notes](https://github.com/lukka/get-cmake/releases )
- [Commits](139aae9631...9438b96ac9
)
---
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-03-27 11:25:04 -04:00
Rex Xu
3225778615
Fix an issue of getExtBuiltins()
...
This function is used to import SPIR-V extended instruction set. It
mistakenly treated the name of SPIR-V extended instruction set as the
name of SPIR-V extension. For example, when we have such code
getExtBuiltins("NonSemantic.DebugBreak")
'NonSemantic.DebugBreak' is added to SPIR-V extension. Rather, the
SPIR-V extension name should be 'SPV_KHR_non_semantics_info'. Therefore,
we must avoid this since the name of SPIR-V extended instruction set is
not necessarily equal to that of relevant SPIR-V extension. Adding a
SPIR-V extension must be done by calling addExtension() explicitly
outside this function.
This change also fixes disassembly issues of debugBreak().
2024-03-22 12:35:30 -04:00