summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-07-11 17:19:06 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-07-15 17:16:54 -0700
commitf05770121fb165b28b06af9c502dd21300dee530 (patch)
tree2f98e76b61444bbcb6984d3ce06f3dec4a8aaf2b /src/mesa/drivers/dri/i965/brw_fs.h
parent203243f5ffe438c7f7b5f92d8bc177b76880bf5b (diff)
downloadexternal_mesa3d-f05770121fb165b28b06af9c502dd21300dee530.zip
external_mesa3d-f05770121fb165b28b06af9c502dd21300dee530.tar.gz
external_mesa3d-f05770121fb165b28b06af9c502dd21300dee530.tar.bz2
i965: Remove the emit_linterp() helper.
Rather than computing the barycentric mode each time we emit a LINTERP, we can simply compute it once, as soon as we know we're doing non-flat interpolation. At that point, emit_linterp() doesn't do much, so fold it into the call sites and drop it. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index ddd66ca..70e3249 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -170,9 +170,6 @@ public:
void emit_dummy_fs();
void emit_repclear_shader();
fs_reg *emit_fragcoord_interpolation();
- fs_inst *emit_linterp(const fs_reg &attr, const fs_reg &interp,
- glsl_interp_qualifier interpolation_mode,
- bool is_centroid, bool is_sample);
fs_reg *emit_frontfacing_interpolation();
fs_reg *emit_samplepos_setup();
fs_reg *emit_sampleid_setup();