i965: Drop has_pln checks in unlit centroid workaround.
The unlit centroid workaround starts being necessary on Gen6, which is the first platform with multisampling. PLN exists on G45+, so all platforms which need this workaround have PLN. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
This commit is contained in:
parent
b94890c19f
commit
a03812c321
|
@ -1185,16 +1185,13 @@ fs_visitor::emit_general_interpolation(fs_reg *attr, const char *name,
|
|||
delta_xy[centroid_to_pixel(bary)], interp);
|
||||
inst->predicate = BRW_PREDICATE_NORMAL;
|
||||
inst->predicate_inverse = true;
|
||||
if (devinfo->has_pln)
|
||||
inst->no_dd_clear = true;
|
||||
inst->no_dd_clear = true;
|
||||
|
||||
inst = bld.emit(FS_OPCODE_LINTERP, *attr,
|
||||
delta_xy[bary], interp);
|
||||
inst->predicate = BRW_PREDICATE_NORMAL;
|
||||
inst->predicate_inverse = false;
|
||||
if (devinfo->has_pln)
|
||||
inst->no_dd_check = true;
|
||||
|
||||
inst->no_dd_check = true;
|
||||
} else {
|
||||
bld.emit(FS_OPCODE_LINTERP, *attr, delta_xy[bary], interp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue