commit | 5f56ead7baa29110761281b5faf0e3d6f7611dbb | [log] [tgz] |
---|---|---|
author | Arcady Goldmints-Orlov <agoldmints@igalia.com> | Tue Dec 10 15:53:15 2019 -0500 |
committer | Craig Stout <cstout@google.com> | Wed Jul 08 14:18:02 2020 +0000 |
tree | 9313a30f0b08246dd77a9d03df96871a0c4bc8b2 | |
parent | b8b1ca881b13bc00683803ca201e2fe3d4151df0 [diff] |
compiler/spirv: Add support for non-constant initializers Cherry-pick'd from e459c7f0a14b65617e16b92f42abad2fe5878872 This adds support for OpVariable having an initializer that points to another variable, rather than a constant. In this case, the variable is initialized to a pointer to the other variable. Fixes Vulkan CTS tests: dEQP-VK.spirv_assembly.instruction.compute.variable_init.private.* Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3047> Change-Id: I6b5aed48a13179342b3721b227ea731a026db9b2 Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/mesa/+/403111 Reviewed-by: John Bauman <jbauman@google.com>