Respect maximum workgroup count in SpvAsmInstructionTests
authorGary Sweet <gsweet@broadcom.com>
Tue, 8 Aug 2017 08:44:35 +0000 (09:44 +0100)
committerGary Sweet <gsweet@broadcom.com>
Wed, 9 Aug 2017 10:35:29 +0000 (11:35 +0100)
commitb00c7d436b39604d2902c95f40a16a280d29b825
tree06922254b12cf2ecd1ae096091f83dfa763d537f
parent028e2cccee92ee99fd9eeb91d22611b6b0191ee2
Respect maximum workgroup count in SpvAsmInstructionTests

The createOpAtomic group was using a hard-coded 1000000
for numElements which is later used as the workgroup count.
The minimum mandatory workgroup count is 65535, far less
than the 1000000 being used.

Affects:

dEQP-VK.spirv_assembly.instruction.compute.opatomic*

Components: Vulkan

VK-GL-CTS issue: 613

Change-Id: I523451d33dbb116e6ca2aaa00a948ec6782382b3
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp