nir: Allow qualifiers on copy_deref and image instructions
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 4 Jun 2019 09:40:14 +0000 (11:40 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Wed, 19 Jun 2019 12:08:27 +0000 (14:08 +0200)
commit6f20643b471a851c936fc8b569cf05dcd6e6e7fe
treea0d4fcc881aa853a6d9473155608de5d17ff94a1
parent3bf8981c511527403de8b585d7a61af178d6bdd0
nir: Allow qualifiers on copy_deref and image instructions

In the next commit, we'll properly handle access qualifiers on struct
members by propagating them to load/store instructions, but these
instructions had no way to specify the qualifier.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_builder.h
src/compiler/nir/nir_intrinsics.py
src/compiler/nir/nir_lower_var_copies.c
src/compiler/nir/nir_print.c
src/compiler/nir/nir_split_var_copies.c