Try spec constants with more sizes and packing
authorRicardo Garcia <rgarcia@igalia.com>
Tue, 28 Apr 2020 16:32:16 +0000 (18:32 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 4 Jun 2020 17:57:55 +0000 (13:57 -0400)
commite00c1791b259befdec349eef147ad06d8d4dcf36
tree384875ad31fc04f13863c7687be1098e0dfa2865
parent2d3f7a547379243fa60236bea8a82f82f548acf1
Try spec constants with more sizes and packing

This commit adds new hand-tuned basic tests for specialization constants
using a wider variety of sizes and packing strategies for data in the
user data array, in order to check the implementation can correctly
extract values from it.

New tests:
dEQP-VK.pipeline.spec_constant.*int8*
dEQP-VK.pipeline.spec_constant.*int16*
dEQP-VK.pipeline.spec_constant.*int64*
dEQP-VK.pipeline.spec_constant.*float16*
dEQP-VK.pipeline.spec_constant.*_2
dEQP-VK.pipeline.spec_constant.*_packed
dEQP-VK.pipeline.spec_constant.*mixed*

Affected tests:
dEQP-VK.pipeline.spec_constant.*

Components: Vulkan
VK-GL-CTS issue: 2326

Change-Id: I94fc23d4c569edd38aa9e9e6c680a3353020d388
android/cts/master/vk-master-2020-03-01.txt
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/pipeline/vktPipelineSpecConstantTests.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineSpecConstantUtil.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineSpecConstantUtil.hpp
external/vulkancts/mustpass/master/vk-default.txt