diff options
author | Kenneth Graunke <[email protected]> | 2016-07-11 17:19:06 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-07-15 17:16:54 -0700 |
commit | f05770121fb165b28b06af9c502dd21300dee530 (patch) | |
tree | 2f98e76b61444bbcb6984d3ce06f3dec4a8aaf2b /src/compiler/shader_enums.h | |
parent | 203243f5ffe438c7f7b5f92d8bc177b76880bf5b (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/shader_enums.h')
0 files changed, 0 insertions, 0 deletions