i965/fs: Pass key->render_to_fbo via src1 of FS_OPCODE_DDY_*.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 8 Nov 2014 10:01:32 +0000 (02:01 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 28 Nov 2014 04:25:19 +0000 (20:25 -0800)
commita0f8b363c0976ab3b58b76df687e664b0c99d6c9
tree03e3d5aeec398cd83151a7b0c96a4dfe486af7d7
parentcea37f0911cf2d88f11a7a2afe4ab2351601571a
i965/fs: Pass key->render_to_fbo via src1 of FS_OPCODE_DDY_*.

This means the generator doesn't have to look at the key, which is a
little nicer - we're pretty close to no key dependencies at all.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp