i965/vs: Add support for LRP instruction.
authorMatt Turner <mattst88@gmail.com>
Thu, 25 Apr 2013 18:03:38 +0000 (11:03 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 26 Apr 2013 01:27:39 +0000 (18:27 -0700)
commit0c1d87b0d7e2c9f1ae6e838a8fa7f074557e45f0
treebce1895a19eb8941458a63282fc9456eb73d017c
parentc0f67a127b0b3e4bb715d1562a82c984d160280e
i965/vs: Add support for LRP instruction.

Only 13 affected programs in shader-db, but they were all helped.

total instructions in shared programs: 368877 -> 368851 (-0.01%)
instructions in affected programs:     1576 -> 1550 (-1.65%)

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp