i965/fs: Merge nir_emit_texture and emit_texture
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 3 May 2016 17:41:38 +0000 (10:41 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 5 May 2016 23:25:21 +0000 (16:25 -0700)
commita815499294afb485fe6773fba9ba12fa6773c654
tree2053e33b88457ac1edeb1b2a5295c92c13f0da73
parent4fab8dd5ea0730be7a484ed4b4bf80598c21cbfa
i965/fs: Merge nir_emit_texture and emit_texture

The fs_visitor::emit_texture helper originated when we still had both NIR
and IR visitors for the FS backend.  Since the old visitor was removed,
emit_texture serves no real purpose beyond arbitrarily splitting
heavily-linked code across two functions.
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp