* 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>
The KHR suffix was missing from the published SPIR-V extension.
This is now fixed, but requires some patches in SPIRV-Tools.
Signed-off-by: Nathan Gauër <brioche@google.com>
* val, core: add support for OpExtInstWithForwardRefs
This commit adds validation and support for
OpExtInstWithForwardRefs. This new instruction will be used
for non-semantic debug info, when forward references are
required.
For now, this commit only fixes the code to handle this new instruction,
and adds validation rules. But it does not add the pass to generate/fix
the OpExtInst instruction when forward references are in use.
Such pass would be useful for DXC or other tools, but I wanted to land
validation rules first.
This commit also bumps SPIRV-Headers to get this new opcode.
---------
Signed-off-by: Nathan Gauër <brioche@google.com>
* Basic support for SPV_EXT_replicated_composites
Validation will follow as a separate PR (still need to write a test suite)
Change-Id: Ic95fa6ce39d32f5ac2787bc38dba2748c9cc58f7
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
* Update SPIRV-Headers
Change-Id: I6c0df248d99c13b49d78528d035a4222027c0232
---------
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
6598a8ecd5...917047f360
$ git log 6598a8ecd..917047f36 --date=short --no-merges --format='%ad %ae %s'
2024-03-28 junyer Tell Bazel the specific target version of macOS too. Sigh.
2024-03-28 junyer Force a specific target version of macOS.
2024-03-28 junyer Prepare to tag release `2024-04-01`.
Created with:
roll-dep external/re2
Co-authored-by: GitHub Actions[bot] <>
* Roll external/googletest/ b479e7a3c..c231e6f5b (1 commit)
b479e7a3c1...c231e6f5b1
$ git log b479e7a3c..c231e6f5b --date=short --no-merges --format='%ad %ae %s'
2024-03-14 absl-team Add test for move-only type in `Action` signature
Created with:
roll-dep external/googletest
* Roll external/re2/ 108914d28..db46d1e11 (3 commits)
108914d28a...db46d1e11e
$ git log 108914d28..db46d1e11 --date=short --no-merges --format='%ad %ae %s'
2024-03-17 junyer Bump versions of actions to latest releases.
2024-03-17 junyer Fix the link to the Python wrapper.
2024-03-15 oleksandr.red+github doc/mksyntaxgo: use standard generated Go header
Created with:
roll-dep external/re2
---------
Co-authored-by: GitHub Actions[bot] <>
* Roll external/googletest/ 5df0241ea..b479e7a3c (11 commits)
5df0241ea4...b479e7a3c1
$ git log 5df0241ea..b479e7a3c --date=short --no-merges --format='%ad %ae %s'
2024-03-11 dcheng Guard Abseil flags usage in googlemock with GTEST_NO_ABSL_FLAGS.
2024-03-07 absl-team Reland: Optimize Google Test process startup
2024-03-05 absl-team Revert Optimize Google Test process startup
2024-03-05 absl-team Optimize Google Test process startup
2024-02-29 absl-team Accept one-shot callables in InvokeArgument.
2024-02-27 absl-team Reland 9756ee7cba
2024-02-27 absl-team Make sure that current_test_suite and current_test_info are mutex-protected while writing for thread-safety.
2024-02-23 tmiguelf Fixed gcc linker error 58
2024-02-22 absl-team Revert incorrect update.
2024-02-21 dmauro Rollback 9756ee7cba
2024-02-11 155268264+danfabo Get include dirs from target rather than global variables.
Created with:
roll-dep external/googletest
* Roll external/re2/ dbf15a205..108914d28 (3 commits)
dbf15a205c...108914d28a
$ git log dbf15a205..108914d28 --date=short --no-merges --format='%ad %ae %s'
2024-03-11 junyer `p0deje/setup-bazel` has been transferred to `bazel-contrib`.
2024-03-11 junyer Add Clang 18 to the build matrix.
2024-03-07 junyer Delete an old comment.
Created with:
roll-dep external/re2
---------
Co-authored-by: GitHub Actions[bot] <>
* Use bazel 7 and bzlmod
Many of our dependencies are now using bazel 7 and the new bzlmod module
system. This has been breaking our autoroll; this PR should fix the
issues we've been having with that.
It may or may not be worthwhile to update effcee to use bzlmod as well;
this would let us get rid of WORKSPACE entirely.
* Try to force cla check to rerun
We are removing Kernel from the image channel order and image
channel data type enums because Kernel is already required
transitively, so we need to update the tests to match.
* Roll external/googletest/ 7c07a8636..96cd50c08 (3 commits)
7c07a86369...96cd50c082
$ git log 7c07a8636..96cd50c08 --date=short --no-merges --format='%ad %ae %s'
2024-01-18 absl-team If GTEST_NO_ABSL_FLAGS is #defined, then the Abseil flag library will not be used by googletest, even if GTEST_HAS_ABSL is #defined.
2024-01-16 absl-team Make posix::FileNo available under !GTEST_HAS_FILE_SYSTEM
2024-01-16 absl-team Do not emit stack traces for messages generated by GTEST_SKIP()
Created with:
roll-dep external/googletest
* Roll external/re2/ c042630ed..264e71e88 (13 commits)
c042630ed8...264e71e88e
$ git log c042630ed..264e71e88 --date=short --no-merges --format='%ad %ae %s'
2024-01-18 junyer Make @local_config_cc visible as a temporary hack.
2024-01-18 junyer Register the local 32-bit C++ toolchain with highest priority.
2024-01-18 junyer Alas, `--extra_execution_platforms` didn't help.
2024-01-18 junyer Attempt to convince Bazel 7 that X64 can build for X86.
2024-01-18 junyer Update @pybind11_bazel to version 2.11.1.bzl.1.
2024-01-16 junyer Print debug information during toolchain resolution.
2024-01-16 junyer Register the local Python toolchain with highest priority.
2024-01-16 junyer Try updating @rules_python to version 0.28.0.
2024-01-16 junyer Revert "Try dropping the CPU constraint values on Windows."
2024-01-16 junyer Try using @apple_support for toolchains on macOS.
2024-01-16 junyer Try dropping the CPU constraint values on Windows.
2024-01-16 junyer Try to get things working again with Bazel 7.
2024-01-15 junyer Try to lock down workflow permissions.
Created with:
roll-dep external/re2
* Roll external/spirv-headers/ bdd1b2ab1..7b0309708 (2 commits)
bdd1b2ab1f...7b0309708d
$ git log bdd1b2ab1..7b0309708 --date=short --no-merges --format='%ad %ae %s'
2024-01-17 robin Register Zig Compiler tool (#405)
2024-01-17 robin Add a Source Language for Zig (#403)
Created with:
roll-dep external/spirv-headers
---------
Co-authored-by: GitHub Actions[bot] <>