intel/fs: Move the scalar-region conversion to the generator.
Move the scalar-region conversion from the IR to the generator, so it doesn't affect the Gen11 path. We need the non-scalar regioning for a later lowering pass that we are adding. v2: Better commit message (Matt) Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -3612,8 +3612,8 @@ fs_visitor::nir_emit_fs_intrinsic(const fs_builder &bld,
|
||||
|
||||
for (unsigned int i = 0; i < instr->num_components; i++) {
|
||||
fs_reg interp =
|
||||
component(interp_reg(nir_intrinsic_base(instr),
|
||||
nir_intrinsic_component(instr) + i), 0);
|
||||
interp_reg(nir_intrinsic_base(instr),
|
||||
nir_intrinsic_component(instr) + i);
|
||||
interp.type = BRW_REGISTER_TYPE_F;
|
||||
dest.type = BRW_REGISTER_TYPE_F;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user