Reduce complexity of some random cases
authorJari Komppa <jari.komppa@siru.fi>
Wed, 8 Dec 2021 14:10:04 +0000 (16:10 +0200)
committerJari Komppa <jari.komppa@siru.fi>
Wed, 8 Dec 2021 14:19:21 +0000 (16:19 +0200)
commitb4bde92c2d0d423b09a08041f8ca588792cde795
treead711e6fbdb230070d76dd1e287c1303de823606
parent0942d4a6846fcae7913cfba291cdcd71efaf5209
Reduce complexity of some random cases

This change adds a complexity heuristics to some random cases and
reduces the final nested array size to avoid complexity explosion.

In practice only 18 test cases out of 1576 are affected.

Affects:
dEQP-VK.ubo.random.*

Components: Vulkan
VK-GL-CTS issue: 3389

Change-Id: If108ce2f04272b7bae9799daffa3682d1fb3aa52
external/vulkancts/modules/vulkan/ubo/vktRandomUniformBlockCase.cpp
external/vulkancts/modules/vulkan/ubo/vktRandomUniformBlockCase.hpp