Add test to stress wide OpPhi instructions
authorJari Komppa <jari.komppa@siru.fi>
Tue, 22 Aug 2017 11:50:17 +0000 (14:50 +0300)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 6 Sep 2017 16:29:04 +0000 (12:29 -0400)
commit83a4e017f24d4206e79879a424c8626ac1972c54
tree89e34aa90398ebe0e68fc5a3b0fe1d20b9b24ff6
parent3b682ea14b476545cd481699c2adc850abbb22eb
Add test to stress wide OpPhi instructions

New test that has a 1024 case wide OpPhi instruction.

The test has been written so that it is easy to change to any desirable
width; based on the SPIR-V specification a width of 16k should be
acceptable (as there can be 16k switch cases). However, that would
generate a rather large (about 50kLOC) shader.

Affects:

dEQP-VK.spirv_assembly.instruction.compute.opphi.wide

Components: Vulkan

VK-GL-CTS issue: 259

Change-Id: Ide349e19ab4811c8c8c13bff0d72ac6cf19349ed
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp
external/vulkancts/mustpass/1.0.3/vk-default.txt