Disable SPIR-V ids optimization
authorBoris Zanin <boris.zanin@mobica.com>
Fri, 22 Feb 2019 10:55:43 +0000 (11:55 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 26 Feb 2019 10:17:24 +0000 (05:17 -0500)
commit3234cc32d56f4f9feaee4c37eb9f27d5a8c4e82c
treeffa555cea8862c0a8e001db9dd0457050310a677
parent306b2d31946519d84f9960ecbc661d6df3ec2d08
Disable SPIR-V ids optimization

The default for the SPIR-V assembler is to compress IDs.
So even if you have %111111111 it will reassign that to the
next unused ID (a bump allocator). To disable this I need
to specify the equivalent of the --preserve-numeric-ids
option to the assembler. After discussion with Alex I specify
SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS for all tests.

Affected tests:
 * dEQP-VK.*

Components: vulkan

VK-GL-CTS issue: 1583

Change-Id: I941adf5d5cdb964eb4dff46afa75b01e089d3061
external/vulkancts/framework/vulkan/vkSpirVAsm.cpp