Support multiple swizzled out operands (#2175)
authorCody Northrop <cnorthrop@google.com>
Tue, 14 Apr 2020 03:59:49 +0000 (21:59 -0600)
committerGitHub <noreply@github.com>
Tue, 14 Apr 2020 03:59:49 +0000 (21:59 -0600)
commit4d2298bfd78a82f77f2325c4ade096ccdab1f00d
tree20a8a1a01ce68a9a72d23be0d5a2b3e80c89154d
parent46572440189ead394654b0d06d5d689012ebdd00
Support multiple swizzled out operands (#2175)

Swizzled out operands were added in bbbd9a2a. This was sufficient
for most tests, but we ran into problems with umulExtended and
imulExtended, which have two.

This CL converts the tracking values to vectors so multiple operands
can be supported.

Test: KHR-GLES31.core.shader_bitfield_operation.*
Test: ctest
SPIRV/GlslangToSpv.cpp
Test/baseResults/spv.Operations.frag.out
Test/spv.Operations.frag