Reformat and share the subgroup vote shader source
authorGraeme Leese <gleese@broadcom.com>
Thu, 27 Jun 2019 16:25:48 +0000 (17:25 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 28 Jun 2019 14:35:35 +0000 (10:35 -0400)
commit575a9f004779ccda565f4f030356e61f4f4f6207
treefd97bb659aa515491842f0c7d28d59086fac18b7
parentda0ae69ec62fe4ef6bb4f6623c27e3f58ba7d636
Reformat and share the subgroup vote shader source

There were multiple copies of this code all over the place, but they
were formatted differently so that I couldn't even cut-and-paste fixes
between them!

Format them all the same, and use a common function for the two that
were (trivial mistakes aside) actually identical.

Components: Vulkan
Affects (trivially): dEQP-VK.subgroups.vote.*

Change-Id: Ic858717114f01fcb0783882057e4a95cfb8d8cad
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsVoteTests.cpp