Change extern globals into functions for SPIR-V assembly tests
authorLei Zhang <antiagainst@google.com>
Fri, 10 Mar 2017 17:19:01 +0000 (12:19 -0500)
committerPyry Haulos <phaulos@google.com>
Tue, 14 Mar 2017 22:42:18 +0000 (15:42 -0700)
commitba23b9e1fccb231af89f3de3e9fff7d8f8055e51
tree311fc36c25ffc5bae39675d00b00b374d331c75f
parent56bd1576eb438e10e8ccb22e17b08354fbf3bac7
Change extern globals into functions for SPIR-V assembly tests

This is just refactoring work. No logic change.

Affects:

dEQP-VK.spirv_assembly.*

Component: Vulkan

Change-Id: Ia321f44ffbdb3deb2e9610a7c1d3acdded328a41
(cherry picked from commit ae6a57bec471534780f6a6d117fe77d0bfaf4340)
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmComputeShaderTestUtil.cpp
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmComputeShaderTestUtil.hpp
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp