The tests used 16384 which is beyond the minimum requirement
for 2D images in both Vulkan 1.0 and Vulkan 1.1.
To compensate for the reduction in buffer size the total number
of workgroups submitted is reduced to a quarter.
Affects:
dEQP-VK.subgroups.*
Components: Vulkan
VK-GL-CTS issue: 717
Change-Id: I75b30186f5489c764411fb8801a1ca4cbfe0ebf8
{
static const deUint32 ELECTED_VALUE = 42u;
static const deUint32 UNELECTED_VALUE = 13u;
-static const vk::VkDeviceSize SHADER_BUFFER_SIZE = 16384ull; //maxUniformBufferRange 128*128
+static const vk::VkDeviceSize SHADER_BUFFER_SIZE = 4096ull; // min(maxUniformBufferRange, maxImageDimension1D)
static bool checkFragmentSubgroupElect(std::vector<const void*> datas,
deUint32 width, deUint32 height, deUint32)
const Unique<VkCommandBuffer> cmdBuffer(
makeCommandBuffer(context, *cmdPool));
- const deUint32 numWorkgroups[3] = {4, 4, 4};
+ const deUint32 numWorkgroups[3] = {4, 2, 2};
const deUint32 localSizesToTestCount = 15;
deUint32 localSizesToTest[localSizesToTestCount][3] =