i965: Use the PLN instruction when possible in interpolation.
authorEric Anholt <eric@anholt.net>
Wed, 10 Mar 2010 22:46:27 +0000 (14:46 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 10 Mar 2010 23:18:19 +0000 (15:18 -0800)
commit56ff30a9f97a1a7094432333906544d6138d6bf2
tree4fd9cf7581782a0acb623433bca27d0ad05d2253
parentdc8c0359448cdae7b367552ba58783c04b199778
i965: Use the PLN instruction when possible in interpolation.

Saves an instruction in PINTERP, LINTERP, and PIXEL_W from
brw_wm_glsl.c For non-GLSL it isn't used yet because the deltas have
to be laid out differently.
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_disasm.c
src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_wm_emit.c
src/mesa/drivers/dri/i965/brw_wm_glsl.c