diff options
author | Kenneth Graunke <[email protected]> | 2016-07-14 17:17:14 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-07-17 19:26:53 -0700 |
commit | a03812c32188f6d29d386165ca02771fe0865352 (patch) | |
tree | 3cf4a5fbcc80102c9e37cd7e7d3a830b333149f4 /src | |
parent | b94890c19fa82003a03f960d9c3de091756233ac (diff) |
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 <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 446cf3a2539..940f425b98e 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -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); } |