intel/fs: Replace the CINTERP opcode with a simple MOV
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 18 May 2018 22:20:43 +0000 (15:20 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 May 2018 22:44:50 +0000 (15:44 -0700)
commitd3cd6b7215c11054b587fb0fd621c53c6d62c64b
tree2682bc1472264331c751c9a4c27f5122d48f5911
parent39de901a96bd1048b2c0de32a469014b398f38ae
intel/fs: Replace the CINTERP opcode with a simple MOV

The only reason it was it's own opcode was so that we could detect it
and adjust the source register based on the payload setup.  Now that
we're using the ATTR file for FS inputs, there's no point in having a
magic opcode for this.

v2 (Jason Ekstrand):
 - Break the bit which removes the CINTERP opcode into its own patch

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