Add new ShaderBuildOption to enable Workgroup scalar offsets
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 4 Feb 2021 19:28:32 +0000 (11:28 -0800)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 15 Feb 2021 10:43:51 +0000 (10:43 +0000)
commit147bbb57041f6e243966e18d67887eac3baf9b4f
treef60fddfbbf319025f2dd1a6589a377c1de45c493
parentade9691f5856189209045bea88cd9f6ecb2cbbc5
Add new ShaderBuildOption to enable Workgroup scalar offsets

This need to be explicitly set in the SPIR-V validator and it is
independent of the use of scalar offsets in other storage classes.
Equivalent to --workgroup-scalar-block-layout option in spirv-val.

Components: Vulkan

Affects: dEQP-VK.*

Change-Id: I903d4c700a08d7b03ccbd3f82274379c6bd6455e
external/vulkancts/framework/vulkan/vkShaderProgram.hpp
external/vulkancts/framework/vulkan/vkSpirVAsm.cpp
external/vulkancts/framework/vulkan/vkValidatorOptions.hpp