nir: Add a new lowering option to lower 3D surfaces from txd to txl.
authorSagar Ghuge <sagar.ghuge@intel.com>
Thu, 13 Dec 2018 19:40:58 +0000 (11:40 -0800)
committerSagar Ghuge <sagar.ghuge@intel.com>
Tue, 18 Dec 2018 21:44:09 +0000 (13:44 -0800)
commit933c44bcc435f2285be4c0cdb5684bacc193ff8d
tree4b20cff2ac8ce9993ad9be2b8b1cd0a475f3ec0a
parent7ea8e54dd6399b86961a89c35f46d8faccb2a52b
nir: Add a new lowering option to lower 3D surfaces from txd to txl.

Tested on gen9.

v2: Rename lower_txd_3d_surafaces flag to lower_txd_3d (Jason Ekstrand)

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_tex.c