-
b9d81146
by Natalie Chouinard at 2024-06-24T14:17:34-04:00
Add re2 dep back to Bazel build (#5721)
This explicit dep was removed in #5707 but it is still used by the test
library. Not sure why the Bazel build didn't catch the indirect
dependence on another module but it is causing build failures
downstream.
-
64d37e28
by Nathan Gauër at 2024-06-25T06:08:28-04:00
[NFC] Fix potential buffer overflow (#5715)
Fixing a clusterfuzz finding.
If the given binary has debug instruction which contained
a badly formatted ANSI escape sequence, the iteration could
go beyond the string length.
Signed-off-by: Nathan Gauër <brioche@google.com>
-
ca004da9
by Steven Perron at 2024-06-26T08:00:29-04:00
Add knowledge of cooperative matrices (#5720)
* Add knowledge of cooperative matrices
Some optimizations are not aware of cooperative matrices, and either do
nothing or assert. This commits fixes that up.
* Add int tests, and a handle a couple more cases.
* Add float tests, and a handle a couple more cases.
* Add NV coop matrix as well.
-
c91d9ec1
by github-actions[bot] at 2024-06-27T06:52:47-04:00
Roll external/abseil_cpp/ 1315c900e..b4e4b6259 (1 commit) (#5716)
* Roll external/re2/ 4a8cee3dd..6144b62be (5 commits)
https://github.com/google/re2/compare/4a8cee3dd3c3...6144b62bece5
Created with:
roll-dep external/re2
* Roll external/abseil_cpp/ 1315c900e..16452e141 (19 commits)
https://github.com/abseil/abseil-cpp/compare/1315c900e1dd...16452e1418c1
Created with:
roll-dep external/abseil_cpp
---------
Co-authored-by: GitHub Actions[bot] <>
-
973e791a
by github-actions[bot] at 2024-07-02T13:14:18+00:00
Roll external/abseil_cpp/ 16452e141..a7c5f985f (5 commits) (#5722)
* Roll external/re2/ 6144b62be..6dcd83d60 (4 commits)
https://github.com/google/re2/compare/6144b62bece5...6dcd83d60f79
Created with:
roll-dep external/re2
* Roll external/googletest/ 1d17ea141..34ad51b3d (1 commit)
https://github.com/google/googletest/compare/1d17ea141d2c...34ad51b3dc4f
Created with:
roll-dep external/googletest
* Roll external/abseil_cpp/ 16452e141..1278ee9bd (11 commits)
https://github.com/abseil/abseil-cpp/compare/16452e1418c1...1278ee9bd9bd
Created with:
roll-dep external/abseil_cpp
---------
Co-authored-by: GitHub Actions[bot] <>
-
3bc9744d
by Victor Lomuller at 2024-07-03T13:18:40-04:00
Add FPEncoding operand type. (#5726)
This patch adds the optional FPEncoding operand that can be added to OpTypeFloat.
At the moment there is no usable operand, so support is limited to adding the entry.
Co-authored-by: Kévin Petit <kevin.petit@arm.com>
Co-authored-by: David Neto <dneto@google.com>
-
216574be
by David Neto at 2024-07-04T10:28:38-04:00
Allow for empty list of enums for an operand (#5727)
Insert a placeholder enum that is never valid.
This allows compilation to pass on MSVC, which doesn't like
creating an array with explicit type elem[] but which has an empty
initializer.
Bug: crbug.com/351140758
-
beabd8b7
by github-actions[bot] at 2024-07-05T13:31:32+00:00
Roll external/abseil_cpp/ 1278ee9bd..0d9c2fc76 (2 commits) (#5724)
* Roll external/abseil_cpp/ 1278ee9bd..074a32af6 (5 commits)
https://github.com/abseil/abseil-cpp/compare/1278ee9bd9bd...074a32af6664
Created with:
roll-dep external/abseil_cpp
* Roll external/spirv-headers/ 2acb319af..41a8eb27f (1 commit)
https://github.com/KhronosGroup/SPIRV-Headers/compare/2acb319af38d...41a8eb27f1a7
Created with:
roll-dep external/spirv-headers
---------
Co-authored-by: GitHub Actions[bot] <>
-
9f2ccaef
by David Neto at 2024-07-05T18:18:59-04:00
kokoro: use Python 3.12 in Linux builds (#5730)
Bug: crbug.com/350048185
-
6a5fa5f7
by Sven van Haastregt at 2024-07-15T20:10:06-04:00
Fix SPRIV -> SPIRV typos (#5735)
Fix all occurrences of "spriv" typos (irrespective of case).
Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
-
257cacfb
by dependabot[bot] at 2024-07-15T20:48:59-04:00
build(deps): bump the github-actions group across 1 directory with 4 updates (#5734)
Bumps the github-actions group with 4 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [lukka/get-cmake](https://github.com/lukka/get-cmake), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [github/codeql-action](https://github.com/github/codeql-action).
Updates `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](https://github.com/actions/checkout/compare/a5ac7e51b41094c92402da3b24376905380afc29...692973e3d937129bcbf40652eb9f2f61becf3332)
Updates `lukka/get-cmake` from 3.29.4 to 3.30.0
- [Release notes](https://github.com/lukka/get-cmake/releases)
- [Commits](https://github.com/lukka/get-cmake/compare/85652a37b177d946c9f4fad0f696b2927ee7754d...983956e4a5edce90f0dfcc38c1543077e668402b)
Updates `actions/upload-artifact` from 4.3.3 to 4.3.4
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/65462800fd760344b1a7b4382951275a0abb4808...0b2256b8c012f0828dc542b3febcab082c67f72b)
Updates `github/codeql-action` from 3.25.8 to 3.25.12
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/2e230e8fe0ad3a14a340ad0815ddb96d599d2aff...4fa2a7953630fd2f3fb380f21be14ede0169dd4f)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: lukka/get-cmake
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
7c778973
by LU-JOHN at 2024-07-16T09:20:04-04:00
Allow fmt arg to printf to be an array of i8 in non-constant space (#5677)
* In spirv-val allow format arg to printf to be an array of i8 in Generic space
Signed-off-by: Lu, John <john.lu@intel.com>
* Allow more addr spaces for printf format string
Signed-off-by: Lu, John <john.lu@intel.com>
* Update printf format arg testcase
Signed-off-by: Lu, John <john.lu@intel.com>
* Apply clang-format
Signed-off-by: Lu, John <john.lu@intel.com>
* Reorder code for clarity
Signed-off-by: Lu, John <john.lu@intel.com>
* Only allow other addr spaces if extension is seen
Signed-off-by: Lu, John <john.lu@intel.com>
* Add test to check printf format with extension
Signed-off-by: Lu, John <john.lu@intel.com>
* Add extension correctly
Signed-off-by: Lu, John <john.lu@intel.com>
---------
Signed-off-by: Lu, John <john.lu@intel.com>
-
6248fda3
by Steven Perron at 2024-07-17T15:22:32+02:00
Handle coop matrix in fix storage class (#5729)
-
3ab0d226
by alan-baker at 2024-07-17T14:51:37-04:00
Support SPV_KHR_untyped_pointers (#5736)
* Support SPV_KHR_untyped_pointers
Covers:
- assembler
- disassembler
- validator
fix copyright
Validate OpTypeUntypedPointerKHR
* Disallow an untyped pointer in a typed pointer
* Validate capability requirements for untyped pointer
* Allow duplicate untyped pointer declarations
Add round trip tests
Validate OpUntypedVariableKHR
Validate untyped access chains
* Add a test for opcodes that generate untyped pointers
* simplify some checks for operands needing types
* validate OpUnypedAccessChainKHR, OpUntypedInBoundsAccessChainKHR,
OpUntypedPtrAccessChainKHR, OpUntypedInBoundsPtrAccessChainKHR
Unify variable validation
Validate OpCopyMemorySized
* Fix some opcode tests to accound for untyped pointers
* Add validation for OpCopyMemorySized for shaders and untyped pointers
* fix up tests
Validate pointer comparisons and bitcast
* Update more helpers
* Fix entry validation to allow OpUntypedVariableKHR
* Validate OpPtrEqual, OpPtrNotEqual and OpPtrDiff
* Validate OpBitcast
Validate atomics and untyped pointers
Make interface variable validation aware of untyped pointers
* Check OpUntypedVariableKHR in interface validation
More untyped pointer validation
* Validate interfaces more thoroughly
* Validate layouts for untyped pointer uses
* Improve capability checks for vulkan with OpTypeUntypedPointerKHR
* workgroup member explicit layout validation updates
More validation
* validate function arguments and parameters
* handle untyped pointer and variable in more places
Add a friendly assembly name for untyped pointers
Update OpCopyMemory validation and tests
Fix test for token update
Fixes for validation
* Allow typed pointers to contain untyped pointers
* Fix decoration validation
* add untyped pointer as a case for size and alignments
Fix interface validation
* Grabbed the wrong storage class operand for untyped variables
* Add ability to specify assembler options in validation tests
Add passthrough validation for OpUntypedArrayLengthKHR
More validation of untyped pointers
* Validate OpUntypedArrayLengthKHR
* Validate layout for OpLoad, OpStore, and OpUntypedArrayLengthKHR
Validation support for cooperative matrix and untyped pointers
* Allow untyped pointers for cooperative matrix KHR load and store
Updates to match spec
* Remove extra capability references
* Swap untyped variable data type and storage class operands
* update validation of variables
* update deps
---------
Co-authored-by: David Neto <dneto@google.com>
-
4c7e1fa5
by github-actions[bot] at 2024-07-18T02:54:47+00:00
Roll external/abseil_cpp/ 074a32af6..af4c589ed (1 commit) (#5731)
* Roll external/googletest/ 34ad51b3d..9ff2450a5 (8 commits)
https://github.com/google/googletest/compare/34ad51b3dc4f...9ff2450a56ae
Created with:
roll-dep external/googletest
* Roll external/abseil_cpp/ 074a32af6..eb8522077 (13 commits)
https://github.com/abseil/abseil-cpp/compare/074a32af6664...eb852207758a
Created with:
roll-dep external/abseil_cpp
* Roll external/effcee/ d74d33d93..2c97e5689 (1 commit)
https://github.com/google/effcee/compare/d74d33d93043...2c97e5689ed8
Created with:
roll-dep external/effcee
---------
Co-authored-by: GitHub Actions[bot] <>
-
2ea40036
by Nathan Gauër at 2024-07-19T11:48:21-04:00
opt: split composite from array flattening (#5733)
* opt: split composite from array flattening
DXC has an option to flatten resource arrays. But when this option
is not used, the resource arrays should be kept as-is.
On the other hand, when a struct contains resources, we MUST flatten is
to be compliant with the Vulkan spec.
Because this pass flattens both types of resources, using a struct of
resources automatically implied flattening arrays.
By adding those 2 new settings, we decide if the pass flattens only one type
of resources, or both.
Note: the flatten_arrays flag only impacts resource arrays.
Arrays of composites containing resources are still flattened.
Since the API is considered stable, I added 2 new functions to create
passes with one flag or the other, and kept the original behavior as-is.
Related to https://github.com/microsoft/DirectXShaderCompiler/issues/6745
Signed-off-by: Nathan Gauër <brioche@google.com>
* add commandline options
Signed-off-by: Nathan Gauër <brioche@google.com>
* clang-format
Signed-off-by: Nathan Gauër <brioche@google.com>
---------
Signed-off-by: Nathan Gauër <brioche@google.com>
-
626dfbff
by github-actions[bot] at 2024-07-19T16:04:25+00:00
Roll external/abseil_cpp/ eb8522077..3cb498899 (4 commits) (#5741)
https://github.com/abseil/abseil-cpp/compare/eb852207758a...3cb4988999d2
Created with:
roll-dep external/abseil_cpp
Co-authored-by: GitHub Actions[bot] <>
-
d1b35bb1
by dependabot[bot] at 2024-07-22T09:34:13-04:00
build(deps): bump the github-actions group with 2 updates (#5744)
Bumps the github-actions group with 2 updates: [lukka/get-cmake](https://github.com/lukka/get-cmake) and [github/codeql-action](https://github.com/github/codeql-action).
Updates `lukka/get-cmake` from 3.30.0 to 3.30.1
- [Release notes](https://github.com/lukka/get-cmake/releases)
- [Commits](https://github.com/lukka/get-cmake/compare/983956e4a5edce90f0dfcc38c1543077e668402b...34181361be075620f7c3871daa1cadb92d9a903e)
Updates `github/codeql-action` from 3.25.12 to 3.25.13
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/4fa2a7953630fd2f3fb380f21be14ede0169dd4f...2d790406f505036ef40ecba973cc774a50395aac)
---
updated-dependencies:
- dependency-name: lukka/get-cmake
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
a0817526
by Ben Ashbaugh at 2024-07-22T11:18:16-04:00
properly handle the load and store cache control operand types (#5664)
* properly handle the load and store cache control operand types
Without handling these operand types, disassembling a SPIR-V module that uses the cache control extension produces an invalid operand type error.
* add a round trip test for SPV_INTEL_cache_controls
-
ca373497
by Steven Perron at 2024-07-24T14:36:26+02:00
[opt] Fix pointer stores in DCE (#5739)
When a trying to mark store that use the same address as a load live, we
consider any use of the pointer in the store instruction enough to make
the store live. This is not correct. We should only mark the store as
live if it store to the pointer, and not storing the pointer to another
memory location.
This causes DCE to miss some dead code.
-
e99a5c03
by Karol Herbst at 2024-07-24T08:38:19-04:00
spirv-link: allow linking functions with different pointer arguments (#5534)
* linker: run dedup earlier
Otherwise `linkings_to_do` might end up with stale IDs.
* linker: allow linking functions with different pointer arguments
Since llvm-17 there are no typed pointers and hte SPIRV-LLVM-Translator
doesn't know the function signature of imported functions.
I'm investigating different ways of solving this problem and adding an
option to work around it inside `spirv-link` is one of those.
The code is almost complete, just I'm having troubles constructing the
bitcast to cast the pointer parameters to the final type.
Closes: https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/2153
* test/linker: add tests to test the AllowPtrTypeMismatch feature
-
81a11600
by Steven Perron at 2024-07-24T14:42:00+02:00
[opt] Fix uses of type manager in fix storage class (#5740)
This removes some uses of the type manager. One use could not be
removed. Instead I had to update GenCopy to not use the type manager,
and be able to copy pointers.
Part of #5691
-
ffb8d85e
by github-actions[bot] at 2024-07-24T13:15:31-04:00
Roll external/googletest/ 9ff2450a5..cee1ba1f2 (1 commit) (#5743)
* Roll external/googletest/ 9ff2450a5..57e107a10 (2 commits)
https://github.com/google/googletest/compare/9ff2450a56ae...57e107a10ea4
Created with:
roll-dep external/googletest
* Roll external/abseil_cpp/ 3cb498899..5ea745c2a (3 commits)
https://github.com/abseil/abseil-cpp/compare/3cb4988999d2...5ea745c2ae28
Created with:
roll-dep external/abseil_cpp
---------
Co-authored-by: GitHub Actions[bot] <>
-
8731673a
by alan-baker at 2024-07-24T13:36:11-04:00
Allow ArrayStride on untyped pointers (#5746)
-
e7216170
by dependabot[bot] at 2024-07-24T13:51:47-04:00
build(deps): bump braces from 3.0.2 to 3.0.3 in /tools/sva (#5737)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
36348647
by github-actions[bot] at 2024-07-30T13:26:22+00:00
roll deps (#5748)
* Roll external/googletest/ 57e107a10..5bcb2d78a (2 commits)
https://github.com/google/googletest/compare/57e107a10ea4...5bcb2d78a16e
Created with:
roll-dep external/googletest
* Roll external/abseil_cpp/ 5ea745c2a..52fad5aa0 (10 commits)
https://github.com/abseil/abseil-cpp/compare/5ea745c2ae28...52fad5aa026b
Created with:
roll-dep external/abseil_cpp
* Roll external/spirv-headers/ db5a00f8c..f013f08e4 (2 commits)
https://github.com/KhronosGroup/SPIRV-Headers/compare/db5a00f8cebe...f013f08e4455
Created with:
roll-dep external/spirv-headers
---------
Co-authored-by: GitHub Actions[bot] <>
-
246daf24
by Steven Perron at 2024-07-31T14:11:45-07:00
[OPT] Avoid assert in generatecopy (#5756)
We want to be able to recover when fix storage class is not able to fix
everything, and just leave the spir-v in an invalid state. The pass
should not fail because of that.
-
bc2478c9
by Steven Perron at 2024-08-07T10:43:18-04:00
Use "docker compose" in wasm build (#5764)
The wasm github action is using the deprecated `docker-compose` command.
This is update to use `docker compose`.
-
72c29133
by Steven Perron at 2024-08-07T12:33:51-04:00
Add OpTypeRuntimeArray to composite types (#5765)
-
b64a423b
by Markus Tavenrath at 2024-08-07T14:11:11-04:00
Workaround issue in MSVC arm64 compiler returning random upper 32-bits in function spvtools::util::CountSetBits. (#5763)
Fix issue #5762
-
87fcbaf1
by dependabot[bot] at 2024-08-09T14:31:05-04:00
build(deps): bump the github-actions group across 1 directory with 4 updates (#5761)
Bumps the github-actions group with 4 updates in the / directory: [lukka/get-cmake](https://github.com/lukka/get-cmake), [ossf/scorecard-action](https://github.com/ossf/scorecard-action), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [github/codeql-action](https://github.com/github/codeql-action).
Updates `lukka/get-cmake` from 3.30.1 to 3.30.2
- [Release notes](https://github.com/lukka/get-cmake/releases)
- [Commits](https://github.com/lukka/get-cmake/compare/34181361be075620f7c3871daa1cadb92d9a903e...a70f1cfa1857a3eecfe0d34962269e1b1e8be56c)
Updates `ossf/scorecard-action` from 2.3.3 to 2.4.0
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/dc50aa9510b46c811795eb24b2f1ba02a914e534...62b2cac7ed8198b15735ed49ab1e5cf35480ba46)
Updates `actions/upload-artifact` from 4.3.4 to 4.3.6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/0b2256b8c012f0828dc542b3febcab082c67f72b...834a144ee995460fba8ed112a2fc961b36a5ec5a)
Updates `github/codeql-action` from 3.25.13 to 3.26.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/2d790406f505036ef40ecba973cc774a50395aac...eb055d739abdc2e8de2e5f4ba1a8b246daa779aa)
---
updated-dependencies:
- dependency-name: lukka/get-cmake
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
988995c3
by dependabot[bot] at 2024-08-21T10:57:06-04:00
build(deps): bump github/codeql-action (#5769)
Bumps the github-actions group with 1 update in the / directory: [github/codeql-action](https://github.com/github/codeql-action).
Updates `github/codeql-action` from 3.26.0 to 3.26.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/eb055d739abdc2e8de2e5f4ba1a8b246daa779aa...883d8588e56d1753a8a58c1c86e88976f0c23449)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
e8c2fbca
by Kaylee Lubick at 2024-08-21T11:04:38-04:00
Remove local attribute from build_version_inc genrule (#5766)
-
0c40b591
by Steven Perron at 2024-08-21T11:05:43-04:00
[OPT] Add SPV_KHR_ray_tracing_position_fetch to allow lists (#5757)
Fixes https://github.com/microsoft/DirectXShaderCompiler/issues/6844
-
25b4e42e
by github-actions[bot] at 2024-08-21T16:06:38+00:00
roll deps (#5754)
* Roll external/googletest/ 5bcb2d78a..ff233bdd4 (3 commits)
https://github.com/google/googletest/compare/5bcb2d78a16e...ff233bdd4cac
Created with:
roll-dep external/googletest
* Roll external/abseil_cpp/ 52fad5aa0..bd0c9c58c (11 commits)
https://github.com/abseil/abseil-cpp/compare/52fad5aa026b...bd0c9c58cac4
Created with:
roll-dep external/abseil_cpp
---------
Co-authored-by: GitHub Actions[bot] <>
-
a85a703e
by github-actions[bot] at 2024-08-22T10:50:19+00:00
roll deps (#5771)
* Roll external/abseil_cpp/ 5a01d0f77..fd7713cb9 (1 commit)
https://github.com/abseil/abseil-cpp/compare/5a01d0f77e37...fd7713cb9a97
Created with:
roll-dep external/abseil_cpp
* Roll external/spirv-headers/ 1b75a4ae0..69ab0f32d (1 commit)
https://github.com/KhronosGroup/SPIRV-Headers/compare/1b75a4ae0b42...69ab0f32dc63
Created with:
roll-dep external/spirv-headers
---------
Co-authored-by: GitHub Actions[bot] <>
-
edc68950
by dependabot[bot] at 2024-08-22T07:23:27-04:00
build(deps): bump github/codeql-action in the github-actions group (#5772)
Bumps the github-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).
Updates `github/codeql-action` from 3.26.3 to 3.26.4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/883d8588e56d1753a8a58c1c86e88976f0c23449...f0f3afee809481da311ca3a6ff1ff51d81dbeb24)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
b21dda0e
by Kévin Petit at 2024-08-29T08:15:31-04:00
Validate presence of Stride operand to OpCooperativeMatrix{Load,Store}KHR (#5777)
* Validate Stride operand to OpCooperativeMatrix{Load,Store}KHR
The specification requires the Stride operand for the RowMajorKHR and
ColumnMajorKHR layouts.
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: I51084b9b8dedebf9cab7ae25334ee56b75ef0126
* Update source/val/validate_memory.cpp
Co-authored-by: alan-baker <alanbaker@google.com>
* add test to exercise memory layout from spec constant and fix validation
Change-Id: I06d7308c4a2b62d26d69e88e03bfa009a7f8fff3
* format fixes
Change-Id: I9cbabec0ed2172dcd228cc385551cb7a5b79df1a
---------
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Co-authored-by: alan-baker <alanbaker@google.com>
-
88c25a71
by dependabot[bot] at 2024-09-03T12:40:03-04:00
build(deps): bump the github-actions group across 1 directory with 3 updates (#5780)
Bumps the github-actions group with 3 updates in the / directory: [lukka/get-cmake](https://github.com/lukka/get-cmake), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [github/codeql-action](https://github.com/github/codeql-action).
Updates `lukka/get-cmake` from 3.30.2 to 3.30.3
- [Release notes](https://github.com/lukka/get-cmake/releases)
- [Commits](https://github.com/lukka/get-cmake/compare/a70f1cfa1857a3eecfe0d34962269e1b1e8be56c...070a0507a7abe157ef918deec391da1be197d2d1)
Updates `actions/upload-artifact` from 4.3.6 to 4.4.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/834a144ee995460fba8ed112a2fc961b36a5ec5a...50769540e7f4bd5e21e526ee35c689e35e0d6874)
Updates `github/codeql-action` from 3.26.4 to 3.26.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/f0f3afee809481da311ca3a6ff1ff51d81dbeb24...4dd16135b69a43b6c8efb853346f8437d92d3c93)
---
updated-dependencies:
- dependency-name: lukka/get-cmake
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
e1782d66
by github-actions[bot] at 2024-09-03T16:56:01+00:00
Roll external/abseil_cpp/ fd7713cb9..fd58e18f2 (2 commits) (#5773)
* Roll external/googletest/ ff233bdd4..0953a17a4 (1 commit)
https://github.com/google/googletest/compare/ff233bdd4cac...0953a17a4281
Created with:
roll-dep external/googletest
* Roll external/abseil_cpp/ fd7713cb9..e64dd622d (10 commits)
https://github.com/abseil/abseil-cpp/compare/fd7713cb9a97...e64dd622d764
Created with:
roll-dep external/abseil_cpp
* Roll external/spirv-headers/ 69ab0f32d..efb6b4099 (2 commits)
https://github.com/KhronosGroup/SPIRV-Headers/compare/69ab0f32dc63...efb6b4099ddb
Created with:
roll-dep external/spirv-headers
---------
Co-authored-by: GitHub Actions[bot] <>
-
61d6952e
by alan-baker at 2024-09-04T14:59:51-04:00
Revert "OpSampledImage extra validation (#5695)" (#5785)
This reverts commit 70ad4dae7dc2c2d035c288b4e9ada0d7bcc26e9b.
Contributes to #5781
SPIR WG 2024-09-04: decision to relax validation requirement in the spec.
-
bc4060ed
by Yoann Congal at 2024-09-05T15:06:17+02:00
update_build_version.py: support an envvar to force the description (#5758)
FORCED_BUILD_VERSION_DESCRIPTION envvar can be used to force a version
description instead of resorting to git describe which can change for a
given commit if multiple lightweight commits point ot it.
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
-
2a67ced4
by github-actions[bot] at 2024-09-05T17:46:13+00:00
Roll external/abseil_cpp/ e64dd622d..f7f316824 (2 commits) (#5782)
https://github.com/abseil/abseil-cpp/compare/e64dd622d764...f7f316824dfe
Created with:
roll-dep external/abseil_cpp
Co-authored-by: GitHub Actions[bot] <>
-
b31baff4
by Laura Hermanns at 2024-09-05T15:24:29-04:00
[opt] Add struct-packing pass and unit test. (#5778)
This pass allows to re-assign offset layout decorations
to tightly pack a struct according to its packing rules.
-
f914d9c8
by Viktoria Maximova at 2024-09-06T10:59:59-04:00
[SPV_KHR_untyped_pointers] Fix verification of vload/vstore OpenCL.std instructions (#5788)
* [SPV_KHR_untyped_pointers] Fix verification of vload/vstore OpenCL.std instructions
Allow `p` to be untyped pointer.
```
operand must be a pointer(p1, ...).If it is a typed pointer, it must point to data types.
```
https://htmlpreview.github.io/?https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/KHR/SPV_KHR_untyped_pointers.html#_modifications_to_the_opencl_std_extended_instruction_set
* relax printf check as well
-
07f49ce6
by Nathan Gauër at 2024-09-09T08:59:51-04:00
spirv-opt: make traversal deterministic (#5790)
Related to https://github.com/microsoft/DirectXShaderCompiler/issues/6804
-
e9915cea
by alan-baker at 2024-09-09T13:09:19-04:00
Update sampled image validation (#5789)
Fixes #5781
* Requires all image operands to match except for depth between operand
and result
-
05be5b24
by Steven Perron at 2024-09-09T16:05:32-04:00
Fix build.gn build. (#5791)
-
6209efd7
by alan-baker at 2024-09-09T18:47:40-04:00
Update SPIRV-Headers (#5793)
* Fix capability trimming tests to use KHR names for compute derivatives
-
d160e170
by github-actions[bot] at 2024-09-09T23:14:26-04:00
Roll external/abseil_cpp/ f7f316824..67d126083 (3 commits) (#5787)
https://github.com/abseil/abseil-cpp/compare/f7f316824dfe...67d126083c15
Created with:
roll-dep external/abseil_cpp
Co-authored-by: GitHub Actions[bot] <>
-
380275ea
by alan-baker at 2024-09-11T14:50:30-04:00
Do not check structurally unreachable continue target predecessors (#5800)
Fixes #5784
* Rules only apply to structurally reachable blocks
-
37d2fcb4
by cheneym2 at 2024-09-12T07:21:12-04:00
spirv-opt: fix crash in function declarations (#5796)
* spirv-opt: fix crash in function declarations
Function declarations contain no blocks, so bail before segfaulting
in function optimization passes that operate on blocks.
Fixes #5795
* spirv-opt: add test for optimizing declarations
-
7c9210cc
by github-actions[bot] at 2024-09-12T15:04:34+00:00
Roll external/abseil_cpp/ 67d126083..1d4466e8d (2 commits) (#5801)
https://github.com/abseil/abseil-cpp/compare/67d126083c15...1d4466e8d3fd
Created with:
roll-dep external/abseil_cpp
Co-authored-by: GitHub Actions[bot] <>
-
4451f6ab
by David Neto at 2024-09-12T14:30:18-07:00
Implement to_string(uint32_t) without using the locale (#5805)
Using the locale takes a mutex deep in the C++ library.
Avoid this on hot compilation paths, e.g. in the validator.
Fixed: #5802
-
4c2094ee
by Nielsbishere at 2024-09-14T10:36:17-04:00
Made libspirv include relative to allow better portability (#5807)
-
a2c9c238
by github-actions[bot] at 2024-09-15T12:57:18+00:00
Roll external/abseil_cpp/ 1d4466e8d..f7c22f52a (3 commits) (#5806)
https://github.com/abseil/abseil-cpp/compare/1d4466e8d3fd...f7c22f52a748
Created with:
roll-dep external/abseil_cpp
Co-authored-by: GitHub Actions[bot] <>
-
d85446fd
by Steven Perron at 2024-09-16T10:11:22-04:00
[OPT] Fix generating debugLocalVariable from debugGlobalVariable (#5803)
The code converting the global to local was generating an extra operand
that was incorrect. Fixed the code, and added a unit test.
Fixes #5776
-
04ad1e1c
by dependabot[bot] at 2024-09-16T10:20:42-04:00
build(deps): bump github/codeql-action in the github-actions group (#5808)
Bumps the github-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).
Updates `github/codeql-action` from 3.26.6 to 3.26.7
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/4dd16135b69a43b6c8efb853346f8437d92d3c93...8214744c546c1e5c8f03dde8fab3a7353211988d)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
20788a4c
by Ben Ashbaugh at 2024-09-17T12:31:29-04:00
add support for SPV_INTEL_global_variable_host_access (#5786)
-
04bdb6c7
by github-actions[bot] at 2024-09-18T10:53:02+00:00
roll deps (#5809)
* Roll external/googletest/ 0953a17a4..6dae7eb4a (1 commit)
https://github.com/google/googletest/compare/0953a17a4281...6dae7eb4a5c3
Created with:
roll-dep external/googletest
* Roll external/abseil_cpp/ f7c22f52a..0df567400 (10 commits)
https://github.com/abseil/abseil-cpp/compare/f7c22f52a748...0df56740031c
Created with:
roll-dep external/abseil_cpp
---------
Co-authored-by: GitHub Actions[bot] <>
-
6dcc7e35
by Cassandra Beckley at 2024-09-19T15:28:18-04:00
Prepare release v2024.4 (#5811)