intel/fs: Use the ATTR file for FS inputs
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 26 Apr 2016 01:33:22 +0000 (18:33 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 May 2018 22:44:50 +0000 (15:44 -0700)
commit39de901a96bd1048b2c0de32a469014b398f38ae
treed83edcd2f7e55774efd9ab9963a3a4a806235480
parent4bfa2ac2eab7551b1d89309fa8da44a487542f72
intel/fs: Use the ATTR file for FS inputs

This replaces the special magic opcodes which implicitly read inputs
with explicit use of the ATTR file.

v2 (Jason Ekstrand):
 - Break into multiple patches
 - Change the units of the FS ATTR to be in logical scalars

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs.h
src/intel/compiler/brw_fs_nir.cpp
src/intel/compiler/brw_fs_visitor.cpp