Spencer Fricke
c96fe8b943
spirv-val: Re-enable OpControlBarrier VU ( #5527 )
2024-01-17 11:18:23 -05:00
Spencer Fricke
d8a8af8e6d
spirv-val: Remove unused includes and code ( #5176 )
2023-03-28 14:18:19 -04:00
alan-baker
d35a78db57
Switch SPIRV-Tools to use spirv.hpp11 internally ( #4981 )
...
Fixes #4960
* Switches to using enum classes with an underlying type to avoid
undefined behaviour
2022-11-04 17:27:10 -04:00
sfricke-samsung
042eff73fe
spirv-val: Add Vulkan Invocation Sematics check ( #4182 )
2021-03-16 10:53:37 -04:00
sfricke-samsung
a61600c763
spirv-val: Label Vulkan atomic semantics VUIDs ( #4120 )
2021-01-25 11:19:06 -05:00
Ryan Harrison
9150cd441f
Remove WebGPU support ( #4108 )
...
Leaves SPV_ENV_WEBGPU_0 enum in place, but marked deprecated, so users
of the library are not broken by an API enum being removed.
Fixes #4101
2021-01-14 16:45:18 -05:00
sfricke-samsung
ad77ed7a8d
spirv-val: Label standalone Vulkan VUID ( #4091 )
2021-01-07 09:00:05 -05:00
Ryan Harrison
5ada98d0bb
Update WebGPU validation rules of OpAtomic*s ( #2777 )
...
Fixes #2723
2019-07-31 17:15:47 -04:00
Ryan Harrison
4a28259cc8
Update OpMemoryBarriers rules for WebGPU ( #2775 )
...
Part of #2724
2019-07-30 14:50:55 -04:00
Ryan Harrison
7bafeda284
Update OpControlBarriers rules for WebGPU ( #2769 )
...
* Update OpControlBarriers rules for WebGPU
Part of #2724
2019-07-29 12:53:27 -04:00
alan-baker
3d5fb7b908
Validate Volatile memory semantics bit ( #2672 )
...
* Can only be used with Vulkan memory model
* Can only be used with atomics
* Bit setting must match for compare exchange opcodes
* Updated memory semantics checks to allow constant instructions
generally with CooperativeMatrixNV
2019-06-17 13:35:40 -04:00
Ryan Harrison
736376dbf9
Remove Acquire, Release, and Relaxed from allowed Mem Sem bits for WebGPU ( #2526 )
...
Fixes #2524
2019-04-23 13:27:40 -04:00
Ryan Harrison
3aad3e9228
Change validation of memory semantics for OpAtomics* in WebGPU ( #2519 )
...
Recent change to the spec restricted the valid values for Memory
Semantics in OpAtomics* in the WebGPU env. Implementing enforcing
these changes.
Fixes #2499
2019-04-16 14:49:07 -04:00
Ryan Harrison
7f57887e05
Remove check for SpvCapabilityAtomicStorage ( #2243 )
...
Per conversation on
https://github.com/KhronosGroup/glslang/issues/1618 and other places.
2018-12-18 13:34:30 -05:00
Ryan Harrison
a719fc18a5
Disable checking that AtomicStorage capability is present ( #2193 )
...
There is inconsistencies between the different specs about whether or
not this capability is required/allowed, so tooling like glslang
currently ignores it. Once this is resolved the check and test can be
re-enabled.
2018-12-11 14:19:44 -05:00
Ryan Harrison
7c38fee64a
Restrict mask bits for memory semantics in WebGPU ( #2180 )
...
Fail to validate memory semantics value if it includes set bits that
are not on the whitelist from the spec.
Fixes #2070
2018-12-07 10:38:52 -05:00
Ryan Harrison
cf37ab7213
Merge two implementations of ValidateMemorySemantics ( #2175 )
...
Fixes #2170
2018-12-06 14:38:15 -05:00