SPIRV-Tools/include/spirv-tools
Ryan Harrison 102e430a88
Add pass to legalize OpVectorShuffle for WebGPU (#2509)
In WebGPU, the component operand 0xFFFFFFFF is forbidden, but in
Vulkan it is used to indicate a value is undefined. When converting to
WebGPU, 0xFFFFFFFF needs to converted to a legal value, though the
specific one does not matter, since it was used to indicate an
undefined entry in the original code. Choosing to use 0, since the
operands are required to be on [0, N-1], so 0 is guaranteed to always
be valid.

Fixes #2349
2019-04-12 12:14:23 -04:00
..
instrument.hpp Bindless Validation: Descriptor Initialization Check (#2419) 2019-03-19 09:53:43 -04:00
libspirv.h Improve reducer algorithm and other changes (#2472) 2019-03-26 13:22:31 +00:00
libspirv.hpp Improve reducer algorithm and other changes (#2472) 2019-03-26 13:22:31 +00:00
linker.hpp Rewrite include guards (#1793) 2018-08-03 08:05:33 -04:00
optimizer.hpp Add pass to legalize OpVectorShuffle for WebGPU (#2509) 2019-04-12 12:14:23 -04:00