intel/fs: Use enumerated array assignments in fb read TXF setup
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 6 Feb 2019 20:27:34 +0000 (14:27 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 11 Feb 2019 16:57:09 +0000 (10:57 -0600)
commitfd77606b5b6365a15f2c7b7fcd97c35a67d4be57
treeaa19cba3f8ea8ea5e7b9f2b33b88f10e59cda85d
parentd6c55f6c62d9907f13aa21b5b07ce25430b669ee
intel/fs: Use enumerated array assignments in fb read TXF setup

It's more clear and means we don't have to update the array every time
we add an optional texture instruction argument

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/compiler/brw_fs_nir.cpp