diff options
author | Arcady Goldmints-Orlov <[email protected]> | 2019-12-10 15:37:53 -0500 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2020-02-12 15:41:49 +0000 |
commit | 7acc81056f7ac6a869ef6403573b2572c77dbecf (patch) | |
tree | c7035d0b3318f330d19a08b2c834043dd27e6e1c /src/vulkan | |
parent | 461c40e0fd5d67dc8155ae4f6c53ddd9acd995b1 (diff) |
compiler/nir: Add support for variable initialization from a pointer
Add a pointer_initializer field to nir_variable analogous to
constant_initializer, which can be used to initialize the nir_variable
to a pointer to another nir_variable. Just like the
constant_initializer, the pointer_initializer gets eliminated in the
nir_lower_constant_initializers pass.
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3047>
Diffstat (limited to 'src/vulkan')
0 files changed, 0 insertions, 0 deletions