nir: Add new 'plane' texture source type
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Mon, 2 May 2016 04:12:48 +0000 (21:12 -0700)
committerKristian Høgsberg Kristensen <krh@bitplanet.net>
Tue, 24 May 2016 17:14:56 +0000 (10:14 -0700)
commit29921ee987d8f2cc315c846dea958ab19b986ecd
treeeab66cf34ea8b0c0588141014edb032edf17068b
parent39b7b8b90631a661166906f70879f6f6e11bc591
nir: Add new 'plane' texture source type

This will be used to select the plane to sample from for planar
textures.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir.h
src/compiler/nir/nir_print.c