i965/fs: Allow LRPs with uniform registers.
authorEric Anholt <eric@anholt.net>
Fri, 26 Apr 2013 03:20:05 +0000 (20:20 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 29 Apr 2013 18:41:35 +0000 (11:41 -0700)
commit61ca2c4f73f84eec29454698188309ab311eb503
tree4e8017f1e796ac34a3d1ef6bcdc080ea38fccd79
parentde7e8b1d014aaecf87c2b26e8ab7e89266d5e176
i965/fs: Allow LRPs with uniform registers.

Improves GLB2.7 performance on my HSW by 0.671455% +/- 0.225037% (n=62).

v2: Make is_valid_3src() a method of the fs_reg. (recommended by Ken)

Reviewed-by: Matt Turner <mattst88@gmail.com> (v1)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp