Fix non-constant Id in subgroupBroadcast
authorAlexander Galazin <alexander.galazin@arm.com>
Wed, 28 Nov 2018 18:32:31 +0000 (19:32 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 30 Nov 2018 09:49:28 +0000 (04:49 -0500)
commit4708641aeed605da095764bbc2d90df760309db3
treeb17ae915521123f8bff9c0acaa59925218801b5c
parent960051e3b0f5e7ec720bb3d566efacd35ec48133
Fix non-constant Id in subgroupBroadcast

Glslang started to enforce constantness of
the ID parameter in subgroupBroadcast.
This fixes some tests that used to have
non-constant Id by manually unrolling the loop.

Components: Vulkan

Affects: dEQP-VK.subgroups.ballot_broadcast.subgroupbroadcas*

VK-GL-CTS issue: 1489

Change-Id: I291875f94b9781fc4920617106c4f86786fd82d8
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsBallotBroadcastTests.cpp