Add tests for booleans produced from different bit-sizes
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 9 Nov 2018 10:51:06 +0000 (11:51 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 29 Nov 2018 13:47:47 +0000 (08:47 -0500)
commitd2886537d689b74691065188038b7e59244f1b27
tree327da2a8ee79b4007e7279c1e69b0d606c45cb4a
parentfa4b00f53e034df242cc639c76f70619172cfdcc
Add tests for booleans produced from different bit-sizes

Vulkan and SPIR-V do not define a specific bit-pattern or bit-size
for boolean values and it assumes that there is a single boolean
representation.  However, some GPU architectures may have various
representations of booleans that can be produced from emitting
instructions with varying native bit-sizes.

These tests use 32-bit, 16-bit and 8-bit instructions to produce
boolean results which are then operated together via logical
operations to ensure that boolean representation is handled
consistently across bit-sizes.

Vk-GL-CTS issue: 1465

Components: Vulkan

New tests:
dEQP-VK.spirv_assembly.instruction.compute.bool.mixed_bitsize.*

Change-Id: I6a4c01e29249a4a69f839dc283fea4258c3164cb
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp
external/vulkancts/mustpass/1.1.3/vk-default-no-waivers.txt
external/vulkancts/mustpass/1.1.3/vk-default.txt