nir: Add a helper for adding texture instruction sources
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 16 Oct 2017 15:50:23 +0000 (08:50 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 17 Oct 2017 14:36:00 +0000 (07:36 -0700)
commit41c75b5354e5d4382786ff853f6f5143a0fe4c6d
treecaa4501a38cb4bf61dd0652c7f9cf85800bb3fb0
parent31fb7bbe0be83b2ad769568829a006855639bee8
nir: Add a helper for adding texture instruction sources

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_samplers.c
src/intel/vulkan/anv_nir_apply_pipeline_layout.c