* Modify static table generation scripts to include alias lists
* Modify spv_opcode_desc_t and spv_operand_desc_t to include aliases
* Modify opcode and operand lookup by name to also search aliases
* update vim syntax generator
* 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