nir/builder: Add nir_load_var() and nir_store_var() helpers.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 12 May 2015 08:53:24 +0000 (01:53 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 11 Sep 2015 07:04:17 +0000 (00:04 -0700)
commitcb2b118e4017b1cd90dcc02e688d859b2709465e
tree40a4e20dc5f3998dec7e0cfa99fbf10a50136f36
parent4654439fdd766f79a78fe0d812fd916f5815e7e6
nir/builder: Add nir_load_var() and nir_store_var() helpers.

These provide a convenient way to do simple variable loads and stores.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/nir_builder.h