summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_io.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-07-11 17:19:06 -0700
committerKenneth Graunke <[email protected]>2016-07-15 17:16:54 -0700
commitf05770121fb165b28b06af9c502dd21300dee530 (patch)
tree2f98e76b61444bbcb6984d3ce06f3dec4a8aaf2b /src/compiler/nir/nir_lower_io.c
parent203243f5ffe438c7f7b5f92d8bc177b76880bf5b (diff)
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 <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_lower_io.c')
0 files changed, 0 insertions, 0 deletions