Timo Aaltonen pushed to branch debian-unstable at X Strike Force / vulkan / 
spirv-tools


Commits:
727f4346 by Sven van Haastregt at 2023-08-08T11:53:33-04:00
docs: update references to `main` branch (#5363)

The default branch was renamed from `master` to `main`.  Update some
stale references.

Signed-off-by: Sven van Haastregt <sven.vanhaastr...@arm.com>
- - - - -
13892fe8 by github-actions[bot] at 2023-08-08T16:26:59+00:00
Roll external/googletest/ 6f6ab4212..e7fd109b5 (2 commits) (#5356)

* Roll external/googletest/ 6f6ab4212..46db91ef6 (9 commits)

https://github.com/google/googletest/compare/6f6ab4212aa0...46db91ef6ffc

$ git log 6f6ab4212..46db91ef6 --date=short --no-merges --format='%ad %ae 
%s'
2023-08-07 dinor Make references to `#include`s consistent across docs
2023-08-02 robert.shade Avoid unreachable code warning
2023-08-02 dmauro Update documentation to refer to v1.14
2023-08-02 dmauro Bump version to v1.14 in preparation for release
2023-08-02 dmauro Remove the GTEST_HAS_DOWNCAST_ customization point.
2023-08-02 dmauro Add googletest-message-test to the Bazel tests It appears to 
have been unintentionally left out
2023-08-01 phoebeliang Make testing::Message support streamed AbslStringify 
values
2023-08-01 dmauro Update GoogleTest dependencies
2023-07-27 patryk gtest: Supress warning about set unused variable

Created with:
  roll-dep external/googletest

* Roll external/re2/ 960c86176..9dc7ae7b5 (1 commit)

https://github.com/google/re2/compare/960c861764ff...9dc7ae7b52a1

$ git log 960c86176..9dc7ae7b5 --date=short --no-merges --format='%ad %ae 
%s'
2023-08-04 junyer Minor Bazel cleanups.

Created with:
  roll-dep external/re2

---------

Co-authored-by: GitHub Actions[bot] <>
- - - - -
60e684fe by Nathan Gauër at 2023-08-09T06:30:23-04:00
opt: fix StorageInputOutput16 trimming. (#5359)

* opt: fix StorageInputOutput16 trimming.

While integrating this pass into DXC, I found a lot of missing
cases. This PR fixes a few issues centered around this capability
while laying out fondations for more fixes.

1. The grammar can define extensions in operand & opcode tables.
   - opcode can rely on common capabilities, but require a new
     extension.
   - opcode can also rely on a capability which requires an extension.
   Sometimes, the extension is listed twice, in the opcode, and
   capability. But this redundancy is not guaranteed.

2. minVersion check. The condition was flipped: we added the extension
   when the minVersion was less than current.
   Didn't noticed the issue as I only tests on the default env.

3. Capability/Extension instructions were not ignored.
   - `OpCapability Foo` will require the `Foo` capability.
   - it doesn't mean the module requires the `Foo` capability.
   Same for extensions.

This commit adds disabled tests, for fixes which are too large to
be brought into this already large PR.
- - - - -
3af4244a by github-actions[bot] at 2023-08-09T14:30:42+00:00
Roll external/googletest/ 46db91ef6..89b25572d (1 commit) (#5365)

https://github.com/google/googletest/compare/46db91ef6ffc...89b25572dbd7

$ git log 46db91ef6..89b25572d --date=short --no-merges --format='%ad %ae 
%s'
2023-08-03 elliotgoodrich Remove public includes of `<iomanip>`

Created with:
  roll-dep external/googletest

Co-authored-by: GitHub Actions[bot] <>
- - - - -
ebda56e3 by Nathan Gauër at 2023-08-10T12:34:46+00:00
opt: add StoragePushConstant16 to trim pass (#5366)

* opt: add StoragePushConstant16 to trim pass

* fix comment
- - - - -
4788ff15 by Nathan Gauër at 2023-08-10T14:21:35+00:00
opt: add StorageUniformBufferBlock16 to trim pass (#5367)

Add StorageUniformBufferBlock16 to the list of enabled capabilities.
- - - - -
8e3da01b by David Neto at 2023-08-10T12:19:12-04:00
Move token version/cap/ext checks from parsing to validation (#5370)

A token is allowed to parse even when it's from the wrong
version, or is not enabled by a capability or extension.
This allows more modules to parse.

Version/capability/extension checking is fully moved to
validation instead.

Fixes: #5364
- - - - -
8714d7fa by Nathan Gauër at 2023-08-10T13:54:31-04:00
enable StorageUniform16 (#5371)

Adds support for the StorageUniform16 capability.
- - - - -
d6300ee9 by Ryan Harrison at 2023-08-10T19:41:20+00:00
Fix -Wunreachable-code-loop-increment warning (#5373)


- - - - -
43b88864 by github-actions[bot] at 2023-08-11T15:05:25+00:00
roll deps (#5374)

* Roll external/googletest/ 89b25572d..7e33b6a1c (1 commit)

https://github.com/google/googletest/compare/89b25572dbd7...7e33b6a1c497

$ git log 89b25572d..7e33b6a1c --date=short --no-merges --format='%ad %ae 
%s'
2023-08-10 absl-team Specify SetUpTestSuite is required to be public.

Created with:
  roll-dep external/googletest

* Roll external/spirv-headers/ 124a9665e..45fc02a6c (2 commits)

https://github.com/KhronosGroup/SPIRV-Headers/compare/124a9665e464...45fc02a6c670

$ git log 124a9665e..45fc02a6c --date=short --no-merges --format='%ad %ae 
%s'
2023-08-10 dneto Revert "Merge pull request #367 from 
dneto0/coop-matrix-enums-deps"
2023-07-29 konstantin.seurer Add SPV_AMDX_shader_enqueue

Created with:
  roll-dep external/spirv-headers

---------

Co-authored-by: GitHub Actions[bot] <>
- - - - -
7ddc65c7 by Viktoria Maximova at 2023-08-11T11:53:24-04:00
Support 2 Intel extensions (#5357)

* SPV_INTEL_global_variable_fpga_decorations
Spec:
https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/INTEL/SPV_INTEL_global_variable_fpga_decorations.asciidoc

* SPV_INTEL_global_variable_host_access
Spec:
https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/INTEL/SPV_INTEL_global_variable_host_access.asciidoc

This change follows headers change:
https://github.com/KhronosGroup/SPIRV-Headers/pull/356
- - - - -
fddcc8ce by github-actions[bot] at 2023-08-14T10:12:05-04:00
Roll external/re2/ 9dc7ae7b5..6148386f0 (3 commits) (#5379)

https://github.com/google/re2/compare/9dc7ae7b52a1...6148386f0c8f

$ git log 9dc7ae7b5..6148386f0 --date=short --no-merges --format='%ad %ae 
%s'
2023-08-11 junyer Add support for `(?<name>expr)`.
2023-08-11 junyer Add a `WORKSPACE.bzlmod` file.
2023-08-11 junyer Migrate to Bzlmod.

Created with:
  roll-dep external/re2

Co-authored-by: GitHub Actions[bot] <>
- - - - -
0f17d05c by Nathan Gauër at 2023-08-15T09:50:57-04:00
opt: add bitmask support for capability trimming (#5372)

Some operands are not simple values, but bitmasks.
The lookup in the table for required decomposing the mask into
single values.
This commit adds support for such operands, like MinLod|Offset.
- - - - -
c5588866 by Steven Perron at 2023-08-15T09:53:10-04:00
Fix failing action when PR is already open. (#5380)


- - - - -
89ca3aa5 by Wooyoung Kim at 2023-08-15T15:15:21-04:00
SPV_QCOM_image_processing support (#5223)


- - - - -
b12fc290 by github-actions[bot] at 2023-08-16T21:50:45-07:00
Roll external/googletest/ 7e33b6a1c..987e22561 (5 commits) (#5381)

* Roll external/googletest/ 7e33b6a1c..987e22561 (5 commits)

https://github.com/google/googletest/compare/7e33b6a1c497...987e22561475

$ git log 7e33b6a1c..987e22561 --date=short --no-merges --format='%ad %ae 
%s'
2023-08-15 dinor gtest_help_test: Make method names `snake_case`, conforming 
with [the style guide](https://google.github.io/styleguide/pyguide#316-naming)
2023-08-15 dinor gtest_help_test: Inline test helper functions
2023-08-15 dinor gtest_help_test: Delete obsolete helper 
`TestUnknownFlagWithAbseil`
2023-08-07 yaneurabeya Fix RETest/1.ImplicitConstructorWorks on non-ABSL 
platforms
2023-08-07 yaneurabeya Fix GTestHelpTest.TestHelpFlag on FreeBSD

Created with:
  roll-dep external/googletest

* Roll external/spirv-headers/ 45fc02a6c..b8b9eb864 (1 commit)

https://github.com/KhronosGroup/SPIRV-Headers/compare/45fc02a6c670...b8b9eb8640c8

$ git log 45fc02a6c..b8b9eb864 --date=short --no-merges --format='%ad %ae 
%s'
2023-08-16 viktoria.maksimova Headers support for two Intel extensions (#356)

Created with:
  roll-dep external/spirv-headers

---------

Co-authored-by: GitHub Actions[bot] <>
- - - - -
bfc94f63 by github-actions[bot] at 2023-08-19T09:03:17+00:00
roll deps (#5382)

* Roll external/googletest/ 987e22561..9fce54804 (2 commits)

https://github.com/google/googletest/compare/987e22561475...9fce54804484

$ git log 987e22561..9fce54804 --date=short --no-merges --format='%ad %ae 
%s'
2023-08-17 absl-team Improve error message for invalid parameterized test names.
2023-07-26 patryk googletest: ansi color fix

Created with:
  roll-dep external/googletest

* Roll external/re2/ 6148386f0..08d338fe4 (1 commit)

https://github.com/google/re2/compare/6148386f0c8f...08d338fe481f

$ git log 6148386f0..08d338fe4 --date=short --no-merges --format='%ad %ae 
%s'
2023-08-17 junyer Clean up `__GNUC__` conditions.

Created with:
  roll-dep external/re2

---------

Co-authored-by: GitHub Actions[bot] <>
- - - - -
6520d83e by Jeremy Gebben at 2023-08-21T17:05:33-06:00
linker: Add --use-highest-version option (#5376)

Currently spirv-link fails if all input files don't use the same
SPIR-V version. Add an option to instead use the highest input
version as the output version. Note that if one of the 'old'
input files uses an opcode that is deprecated in the 'new'
version, the output spirv will be invalid.
- - - - -
71496600 by Jeremy Gebben at 2023-08-22T00:16:35+00:00
opt: Add SwitchDescriptorSetPass (#5375)

This is a simple pass to change DescriptorSet decoration values.
- - - - -
2601f644 by github-actions[bot] at 2023-08-22T19:25:56+00:00
Roll external/googletest/ 9fce54804..61332bd7e (2 commits) (#5383)

https://github.com/google/googletest/compare/9fce54804484...61332bd7e881

$ git log 9fce54804..61332bd7e --date=short --no-merges --format='%ad %ae 
%s'
2023-08-21 dmauro CI: Update the Linux hybrid-latest docker container used for 
testing
2023-08-21 absl-team Clean up typos: Exhaused => Exhausted

Created with:
  roll-dep external/googletest

Co-authored-by: GitHub Actions[bot] <>
- - - - -
abd548b8 by github-actions[bot] at 2023-08-23T22:29:43+00:00
roll deps (#5384)

* Roll external/googletest/ 61332bd7e..cb5cd96bc (6 commits)

https://github.com/google/googletest/compare/61332bd7e881...cb5cd96bcafc

$ git log 61332bd7e..cb5cd96bc --date=short --no-merges --format='%ad %ae 
%s'
2023-08-22 dinor googletest: Replace http with https in links to docs
2023-08-20 elior.s Update advanced.md
2023-08-11 sch Changed 2 public links from http to https
2023-08-11 sch Changed 3 public links from http to https
2023-08-11 sch Changed 2 public links from http to https
2023-08-11 sch Changed 3 public links from http to https

Created with:
  roll-dep external/googletest

* Roll external/re2/ 08d338fe4..73031bbc0 (1 commit)

https://github.com/google/re2/compare/08d338fe481f...73031bbc08cb

$ git log 08d338fe4..73031bbc0 --date=short --no-merges --format='%ad %ae 
%s'
2023-08-22 junyer Reset the Bzlmod compatibility level to 1.

Created with:
  roll-dep external/re2

---------

Co-authored-by: GitHub Actions[bot] <>
- - - - -
1b3c4cb6 by github-actions[bot] at 2023-08-24T20:29:14+00:00
roll deps (#5386)

* Roll external/googletest/ cb5cd96bc..460ae9826 (1 commit)

https://github.com/google/googletest/compare/cb5cd96bcafc...460ae98267b8

$ git log cb5cd96bc..460ae9826 --date=short --no-merges --format='%ad %ae 
%s'
2023-08-22 sch changed http to https

Created with:
  roll-dep external/googletest

* Roll external/spirv-headers/ b8b9eb864..d790ced75 (1 commit)

https://github.com/KhronosGroup/SPIRV-Headers/compare/b8b9eb8640c8...d790ced752b5

$ git log b8b9eb864..d790ced75 --date=short --no-merges --format='%ad %ae 
%s'
2023-08-23 dneto Validate enums have sensible versions and are visible (#369)

Created with:
  roll-dep external/spirv-headers

---------

Co-authored-by: GitHub Actions[bot] <>
- - - - -
b6893ccd by github-actions[bot] at 2023-08-29T00:14:32+00:00
Roll external/googletest/ 460ae9826..8a6feabf0 (1 commit) (#5388)

https://github.com/google/googletest/compare/460ae98267b8...8a6feabf04be

$ git log 460ae9826..8a6feabf0 --date=short --no-merges --format='%ad %ae 
%s'
2023-08-25 dinor googletest: Add universal printer for `std::span`

Created with:
  roll-dep external/googletest

Co-authored-by: GitHub Actions[bot] <>
- - - - -
d09c753a by github-actions[bot] at 2023-08-30T14:24:26+00:00
Roll external/re2/ 73031bbc0..523f9b097 (1 commit) (#5389)

https://github.com/google/re2/compare/73031bbc08cb...523f9b097163

$ git log 73031bbc0..523f9b097 --date=short --no-merges --format='%ad %ae 
%s'
2023-08-29 junyer Strip `-Wl` for `static-testinstall` and `shared-testinstall` 
as well.

Created with:
  roll-dep external/re2

Co-authored-by: GitHub Actions[bot] <>
- - - - -
51367c40 by Joyce at 2023-08-30T13:47:06-04:00
Enable OpenSSF Scorecard and Badge (#5377)

* Create scorecard.yml

Signed-off-by: Joyce <joyceb...@google.com>

* Update README.md

Signed-off-by: Joyce <joyceb...@google.com>

---------

Signed-off-by: Joyce <joyceb...@google.com>
- - - - -
9b923f7c by Mike Gorchak at 2023-08-30T14:51:03-04:00
QNX has support for ANSI ESC codes, default terminal is QANSI. (#5387)


- - - - -
4c16c35b by Cassandra Beckley at 2023-09-04T11:27:56+02:00
opt: add FragmentShader*InterlockEXT to capability trim pass (#5390)

* opt: add FragmentShader*InterlockEXT to capability trim pass

* move to addInstructionRequirementsForOpcode
- - - - -
3cc7e1c4 by Nathan Gauër at 2023-09-04T14:32:28-07:00
NFC: rename tests using capability as prefix (#5396)


- - - - -
1121c231 by Nathan Gauër at 2023-09-05T09:47:46-04:00
opt: add Int64 capability to trim pass (#5398)

Adds support for Int64 capability trimming.
- - - - -
158bc7bd by github-actions[bot] at 2023-09-05T14:32:00+00:00
Roll external/re2/ 523f9b097..e0077036c (2 commits) (#5391)

https://github.com/google/re2/compare/523f9b097163...e0077036ca06

$ git log 523f9b097..e0077036c --date=short --no-merges --format='%ad %ae 
%s'
2023-08-31 junyer `@rules_python` fails due to Bazel running as root.
2023-08-31 junyer Prepare to tag release `2023-09-01`.

Created with:
  roll-dep external/re2

Co-authored-by: GitHub Actions[bot] <>
- - - - -
1f07f483 by Nathan Gauër at 2023-09-05T14:36:14+00:00
opt: add raytracing/rayquery to trim pass (#5397)

Adds the RayTracingKHR and RayQueryKHR capabilities to
the supported capabilities list (this includes the linked extension).
(NV and KHR capabilities/extensions shared the same IDs, so it also
works for NV flavors of those).
- - - - -
d474a070 by Cassandra Beckley at 2023-09-05T12:10:16-04:00
Add SPV_EXT_fragment_shader_interlock to allow lists (#5393)


- - - - -
4e0b94ed by Nathan Gauër at 2023-09-05T18:36:03+00:00
opt: add ImageMSArray capability to trim pass. (#5395)

>From the Capability's text in the SPIRV spec:

```
An MS operand in OpTypeImage indicates multisampled, used with an
OpTypeImage having Sampled == 2 and Arrayed == 1.
```

Adding this logic to the capability trimming pass.
- - - - -
440f018c by Steven Perron at 2023-09-05T19:38:49+00:00
Fix `AddMemberDecoration` variable names. (#5399)

The prototype does not match the implementation.

Fixes Typo in declaration DecorationManager::AddMemberDecoration #5392
- - - - -
d660bb55 by Steven Perron at 2023-09-06T16:35:57+00:00
Add SPV_KHR_physical_storage_buffer to allowlists (#5402)

Fixes #4896
- - - - -
47b63a4d by Nathan Gauër at 2023-09-07T09:39:28-04:00
val: re-add ImageMSArray validation (#5394)

This has been removed in #4752, but not added since.

* fixup! val: re-add ImageMSArray validation

clang-format
- - - - -
5e6054c1 by github-actions[bot] at 2023-09-11T18:37:12+00:00
Roll external/re2/ e0077036c..a807e8a3a (6 commits) (#5401)

https://github.com/google/re2/compare/e0077036ca06...a807e8a3aac2

$ git log e0077036c..a807e8a3a --date=short --no-merges --format='%ad %ae 
%s'
2023-09-07 junyer Revert "Make the extension work for Python 3.8+."
2023-09-07 junyer Make the extension work for Python 3.8+.
2023-09-07 junyer Try plumbing the platform name a different way.
2023-09-07 junyer Add a "dry run" mode to the Python workflow.
2023-09-04 junyer Switch to `python -m build`.
2023-09-04 junyer Mark three dependencies as `dev_dependency = True`.

Created with:
  roll-dep external/re2

Co-authored-by: GitHub Actions[bot] <>
- - - - -
361638cf by Cassandra Beckley at 2023-09-11T15:26:10-04:00
Make sure that fragment shader interlock instructions are not removed by DCE 
(#5400)


- - - - -
2d6996f7 by André Cruz at 2023-09-11T20:52:31+00:00
Check for git repository before git commands (#5403)

When we are attempting to fetch the version info from the git
repository, first check if we're actually in one, otherwise
spurious errors messages get printed.
- - - - -
fc54e178 by Steven Perron at 2023-09-11T17:24:32-07:00
Change autoroll pr review id (#5404)

The autoroll pr reviews add me as the reviewer. I want to change this so
that it requests a reveiw from a team instead.
- - - - -
a996591b by David Neto at 2023-09-13T17:43:12-04:00
Update SPIRV-Headers, add cache control operand kinds (#5406)

* Update SPIRV-Headers, add cache control operand kinds

Adds SPV_OPERAND_TYPE_LOAD_CACHE_CONTROL
and  SPV_OPERAND_TYPE_STORE_CACHE_CONTROL,
from SPV_INTEL_cache_controls

Fixes: #5404

* Update tests: remove Kernel from constant sampler enum dependencies

This corresponds to header change
https://github.com/KhronosGroup/SPIRV-Headers/pull/378
- - - - -
a40483d3 by Steven Perron at 2023-09-20T04:29:21+00:00
roll deps (#5408)

* Roll external/googletest/ 8a6feabf0..adc514538 (7 commits)

https://github.com/google/googletest/compare/8a6feabf04be...adc514538678

$ git log 8a6feabf0..adc514538 --date=short --no-merges --format='%ad %ae 
%s'
2023-09-18 absl-team Update code with IWYU annotations.
2023-09-18 absl-team Use the `empty()` method to check for emptiness instead of 
`length()`
2023-09-14 hirshleifer GoogleTest FAQ: minor punctuation fixes
2023-09-14 hirshleifer Remove Googletest FAQ entry for obsolete 
`ProtocolMessageEquals` and `ProtocolMessageEquiv`
2023-09-03 tanzinul.islam Count threads after thread-creation while still 
holding mutex lock
2023-08-26 tanzinul.islam Reuse TempDir() function
2023-08-18 tanzinul.islam Prefer $TMPDIR to /data/local/tmp on Android

Created with:
  roll-dep external/googletest

* Roll external/re2/ a807e8a3a..09de536bb (1 commit)

https://github.com/google/re2/compare/a807e8a3aac2...09de536bb7c7

$ git log a807e8a3a..09de536bb --date=short --no-merges --format='%ad %ae 
%s'
2023-09-14 junyer Use Abseil's character class functions.

Created with:
  roll-dep external/re2

---------

Co-authored-by: GitHub Actions[bot] <>
- - - - -
ee7598d4 by Jeremy Gebben at 2023-09-20T10:50:30-06:00
instrument: Use Import linkage for instrumentation functions (#5355)

These functions are getting far too complicated to code in SPIRV-Tools
C++. Replace them with import stubs so that the real implementations
can live in Vulkan-ValidationLayers where they belong.

VVL will need to define these functions in spirv and link them to the
instrumented version of the user's shader.

>From here on out, VVL can redefine the functions and any data they use
without updating SPIRV-Tools. Changing the function declarations will
still require both VVL and SPIRV-Tools to be updated in lock step.
- - - - -
27673a05 by Steven Perron at 2023-09-26T12:06:29-04:00
Remove reviewer from autoroller (#5414)

For some reason the `gh` command to create a pull request with a team as
the reviewer is not working. That command works when I run it locally. I
don't know what the problem is, but I will just stop adding a reviewer.
Then anyone can look at it.
- - - - -
48c97c13 by github-actions[bot] at 2023-09-27T11:09:18-04:00
roll deps (#5415)

* Roll external/googletest/ adc514538..e47544ad3 (5 commits)

https://github.com/google/googletest/compare/adc514538678...e47544ad31cb

$ git log adc514538..e47544ad3 --date=short --no-merges --format='%ad %ae 
%s'
2023-09-25 absl-team Resolve `-Wundef` triggering on 
`GTEST_CREATE_SHARED_LIBRARY` and `GTEST_LINKED_AS_SHARED_LIBRARY` with shared 
libraries in GoogleTest
2023-09-22 absl-team Update C++ feature detection in `gtest-port.h` to rely on 
feature test macros where possible.
2023-09-21 absl-team Use `absl::HasAbslStringify`, instead of the internal 
version.
2023-09-21 dinor googletest: Update absl to version with HasAbslStringify
2023-09-21 mitja Fix compile warnings in gmock-function-mocker.h

Created with:
  roll-dep external/googletest

* Roll external/re2/ 09de536bb..26f7d889e (1 commit)

https://github.com/google/re2/compare/09de536bb7c7...26f7d889e1f7

$ git log 09de536bb..26f7d889e --date=short --no-merges --format='%ad %ae 
%s'
2023-09-25 junyer Add Clang 17 to the build matrix.

Created with:
  roll-dep external/re2

* Roll external/spirv-headers/ fc7d24627..79743b899 (3 commits)

https://github.com/KhronosGroup/SPIRV-Headers/compare/fc7d24627651...79743b899fde

$ git log fc7d24627..79743b899 --date=short --no-merges --format='%ad %ae 
%s'
2023-09-20 fwahlster Add LiteralFloat to operand_kinds (#380)
2023-09-20 40001162+alelenv Add headers for SPV_NV_displacement_micromap. (#374)
2023-09-20 fwahlster remove additional version "1.0" from 
SecondaryViewportRelativeNV (#379)

Created with:
  roll-dep external/spirv-headers

---------

Co-authored-by: GitHub Actions[bot] <>
- - - - -
1bc0e6f5 by Cassandra Beckley at 2023-09-27T19:54:10-04:00
Add a new legalization pass to dedupe invocation interlock instructions (#5409)

Add a new legalization pass to dedupe invocation interlock instructions

DXC will be adding support for HLSL's rasterizer ordered views by using
the SPV_EXT_fragment_shader_interlock_extension. That extension
stipulates that if an entry point has an interlock ordering execution
mode, it must dynamically execute OpBeginInvocationInterlockEXT and
OpEndInvocationInterlockEXT, in that order, exactly once. This would be
difficult to determine in DXC's SPIR-V backend, so instead we will emit
these instructions potentially multiple times, and use this legalization
pass to ensure that the final SPIR-V follows the specification.

This PR uses data-flow analysis to determine where to place begin and
end instructions; in essence, determining whether a block contains or is
preceded by a begin instruction is similar to a specialized case of a
reaching definitions analysis, where we have only a single definition,
such as `bool has_begun = false`. For this simpler case, we can compute
the set of blocks using BFS to determine the reachability of the begin
instruction.

We need to do this for both begin and end instructions, so I have
generalized portions of the code to run both forward and backward over
the CFG for each respective case.
- - - - -
dc990096 by Cassandra Beckley at 2023-10-02T09:39:31-04:00
Update BUILD.gn to include header for new pass (#5421)

Fixes #5420
- - - - -
847715d6 by Jeremy Gebben at 2023-10-02T09:15:39-06:00
instrument: Ensure linking works even of nothing is changed (#5419)

spirv-link requires that memory models match between its input files.
Ensure this is the case by always returning SuccessWithChange and
always changing the memory model to match the instrumentation
code in Vulkan-ValidationLayers.

Also, disable the DCE pass in the --inst-* command line options, since
it will only work after linking.
- - - - -
4fab7435 by github-actions[bot] at 2023-10-04T01:42:27-07:00
Roll external/googletest/ e47544ad3..beb552fb4 (2 commits) (#5424)

https://github.com/google/googletest/compare/e47544ad31cb...beb552fb47e9

$ git log e47544ad3..beb552fb4 --date=short --no-merges --format='%ad %ae 
%s'
2023-10-03 dinor gmock_cook_book: Document `DoAll`'s return type requirement
2023-09-29 dzimitriy cmake: Fix comments in cmake files

Created with:
  roll-dep external/googletest

Co-authored-by: GitHub Actions[bot] <>
- - - - -
023a8c79 by Cassandra Beckley at 2023-10-05T11:12:09+02:00
opt: add Float64 capability to trim pass (#5428)


- - - - -
866e60de by github-actions[bot] at 2023-10-05T11:58:05-04:00
Roll external/spirv-headers/ 79743b899..e867c0663 (2 commits) (#5427)

https://github.com/KhronosGroup/SPIRV-Headers/compare/79743b899fde...e867c0663176

$ git log 79743b899..e867c0663 --date=short --no-merges --format='%ad %ae 
%s'
2023-10-04 95509728+pradyumans Add a Source Language for Slang (#383)
2023-10-04 95509728+pradyumans Register Slang Compiler for SPIR-V (#382)

Created with:
  roll-dep external/spirv-headers

Co-authored-by: GitHub Actions[bot] <>
- - - - -
df2f2a03 by dependabot[bot] at 2023-10-05T13:16:31-04:00
build(deps): bump get-func-name from 2.0.0 to 2.0.2 in /tools/sva (#5418)

Bumps [get-func-name](https://github.com/chaijs/get-func-name) from 2.0.0 to 
2.0.2.
- [Release notes](https://github.com/chaijs/get-func-name/releases)
- [Commits](https://github.com/chaijs/get-func-name/commits/v2.0.2)

---
updated-dependencies:
- dependency-name: get-func-name
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <supp...@github.com>
Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
- - - - -
ce995b31 by Joyce at 2023-10-05T13:18:28-04:00
Hash pin workflows and config dependabot (#5412)

* Step Security: hash pin and dependabot

Signed-off-by: Joyce Brum <joyceb...@google.com>

* add license to dependabot.yml

Signed-off-by: Joyce <joyceb...@google.com>

---------

Signed-off-by: Joyce Brum <joyceb...@google.com>
Signed-off-by: Joyce <joyceb...@google.com>
- - - - -
933db564 by github-actions[bot] at 2023-10-06T10:01:14+00:00
roll deps (#5432)

* Roll external/googletest/ beb552fb4..2dd1c1319 (1 commit)

https://github.com/google/googletest/compare/beb552fb47e9...2dd1c1319500

$ git log beb552fb4..2dd1c1319 --date=short --no-merges --format='%ad %ae 
%s'
2023-10-05 absl-team Fix RE::Init for Android and NetBSD.

Created with:
  roll-dep external/googletest

* Roll external/re2/ 26f7d889e..35bb195de (1 commit)

https://github.com/google/re2/compare/26f7d889e1f7...35bb195dec32

$ git log 26f7d889e..35bb195de --date=short --no-merges --format='%ad %ae 
%s'
2023-10-05 junyer Update Unicode data to 15.1.0.

Created with:
  roll-dep external/re2

---------

Co-authored-by: GitHub Actions[bot] <>
- - - - -
74005dfa by github-actions[bot] at 2023-10-10T20:30:48+00:00
Roll external/re2/ 35bb195de..b673de358 (2 commits) (#5433)

https://github.com/google/re2/compare/35bb195dec32...b673de35837a

$ git log 35bb195de..b673de358 --date=short --no-merges --format='%ad %ae 
%s'
2023-10-06 junyer Clean up some fuzzer-related cruft.
2023-10-05 allenwebb Use a variable for `PKG_CONFIG` for distros that 
cross-compile.

Created with:
  roll-dep external/re2

Co-authored-by: GitHub Actions[bot] <>
- - - - -
360d469b by Nathan Gauër at 2023-10-11T11:43:50-04:00
Prepare release v2023.5.rc1 (#5423)

Prepare release v2023.5.rc1
- - - - -
adbbd3de by Timo Aaltonen at 2023-11-03T11:09:19+02:00
Merge branch 'upstream-unstable' into debian-unstable

- - - - -
45c83e43 by Timo Aaltonen at 2023-11-03T11:34:15+02:00
version bump

- - - - -
8919add0 by Timo Aaltonen at 2023-11-03T11:35:01+02:00
control: Bump build-dep on spirv-headers.

- - - - -
9f7690fb by Timo Aaltonen at 2023-11-03T11:38:51+02:00
release to sid

- - - - -


30 changed files:

- + .github/dependabot.yml
- .github/workflows/autoroll.yml
- .github/workflows/bazel.yml
- .github/workflows/release.yml
- + .github/workflows/scorecard.yml
- .github/workflows/wasm.yml
- Android.mk
- BUILD.gn
- CHANGES
- CONTRIBUTING.md
- DEPS
- README.md
- debian/changelog
- debian/control
- docs/downloads.md
- docs/projects.md
- include/spirv-tools/instrument.hpp
- include/spirv-tools/libspirv.h
- include/spirv-tools/linker.hpp
- include/spirv-tools/optimizer.hpp
- source/assembly_grammar.cpp
- source/link/linker.cpp
- source/operand.cpp
- source/opt/CMakeLists.txt
- source/opt/aggressive_dead_code_elim_pass.cpp
- source/opt/decoration_manager.cpp
- source/opt/decoration_manager.h
- source/opt/inst_bindless_check_pass.cpp
- source/opt/inst_bindless_check_pass.h
- source/opt/inst_buff_addr_check_pass.cpp


The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/xorg-team/vulkan/spirv-tools/-/compare/0ccaa741a69618da63f606ee08c7773f4a467b37...9f7690fb7caec5b76baa351d89b5b9f0a3b04e45

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/vulkan/spirv-tools/-/compare/0ccaa741a69618da63f606ee08c7773f4a467b37...9f7690fb7caec5b76baa351d89b5b9f0a3b04e45
You're receiving this email because of your account on salsa.debian.org.


Reply via email to