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>
This commit is contained in:
committed by
Jason Ekstrand
parent
39de901a96
commit
d3cd6b7215
@@ -3392,8 +3392,8 @@ fs_visitor::nir_emit_fs_intrinsic(const fs_builder &bld,
|
||||
}
|
||||
|
||||
for (unsigned int i = 0; i < num_components; i++) {
|
||||
bld.emit(FS_OPCODE_CINTERP, offset(retype(dest, type), bld, i),
|
||||
retype(component(interp_reg(base, comp + i), 3), type));
|
||||
bld.MOV(offset(retype(dest, type), bld, i),
|
||||
retype(component(interp_reg(base, comp + i), 3), type));
|
||||
}
|
||||
|
||||
if (nir_dest_bit_size(instr->dest) == 64) {
|
||||
|
||||
Reference in New Issue
Block a user