Change HLSL to avoid nested runtimeArray in SPIR-V
authorMaciej Jurga <macjurga@amd.com>
Wed, 25 Jan 2023 08:36:52 +0000 (09:36 +0100)
committerPiotr Byszewski <piotr.byszewski@mobica.com>
Fri, 10 Feb 2023 15:35:51 +0000 (15:35 +0000)
commit38c93b0f9c89ccc437eba0d1bb379ae2e71c46ca
tree17fa4aaa2edb1384ce922b73385dd08b7d912c5e
parent53e3a7b4eb4d0d14d936c9a55bfdbb5019973729
Change HLSL to avoid nested runtimeArray in SPIR-V

Replace a structure used in RWStructuredBuffer by HLSL tessellation
evaluation shader with two RWStructuredBuffers of a basic type.
Old structure had a dynamic length array member, that caused glslang to
produce invalid SPIR-V with nested runtimeArray decoration.

Components: Vulkan

VK-GL-CTS issue: 2697

Affected tests:
dEQP-VK.tessellation.fractional_spacing.*

Change-Id: I4b55ca3688289b6ca22fa642972dc28e11a5659f
external/vulkancts/modules/vulkan/tessellation/vktTessellationFractionalSpacingTests.cpp