Fix SPIRV validation for decoration tests
authorGraeme Leese <gleese@broadcom.com>
Thu, 18 Aug 2022 11:36:28 +0000 (12:36 +0100)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 25 Aug 2022 16:36:36 +0000 (16:36 +0000)
commitab1e2b93338138cfe27a64e90d451fc9bab3c112
treeb643a50772f09f00f4d7731673c31c715b756567
parenta1afe6184d28309f6550495d9dc50d69861ba406
Fix SPIRV validation for decoration tests

The decoration matching tests were incorrectly using Flat and
NoPerspective decoration on vertex inputs. The validator has been
updated to catch these errors, so the tests now cause an InternalError.

Compoennts: Vulkan
VK-GL-CTS issue: 3895
Affects: dEQP-VK.spirv_assembly.instruction.graphics.cross_stage.basic_type.flat
         dEQP-VK.spirv_assembly.instruction.graphics.cross_stage.basic_type.no_perspective
         dEQP-VK.spirv_assembly.instruction.graphics.cross_stage.interface_blocks.flat
         dEQP-VK.spirv_assembly.instruction.graphics.cross_stage.interface_blocks.no_perspective

Change-Id: I818868ca87d15d068430e9721204be620b28e225
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmCrossStageInterfaceTests.cpp