intel/fs: Support min_lod parameters on texture instructions
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 11 Oct 2018 20:57:50 +0000 (15:57 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 12 Dec 2018 03:26:23 +0000 (21:26 -0600)
commitcb98e0755f8d05a5a7f9134e39c625e8933746ea
tree3a012b8beabe86ee713f00f3efdea7ae28fa0935
parent4ef8f46fd12876146212e119c0e238c92796226a
intel/fs: Support min_lod parameters on texture instructions

We have to lower some shadow instructions because they don't exist in
hardware and we have to lower txb+offset+clamp because the message gets
too big and we run into the sampler message length limit of 11 regs.

Acked-by: Ian Romanick <ian.d.romanick@intel.com>
src/intel/compiler/brw_eu_defines.h
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs_nir.cpp
src/intel/compiler/brw_nir.c