i965/fs: Pass fragment depth to the fb write as a fs_reg, not an ir_variable.
authorEric Anholt <eric@anholt.net>
Tue, 18 Sep 2012 16:12:48 +0000 (18:12 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 8 Oct 2012 15:38:49 +0000 (08:38 -0700)
commite7149d390c94dbe9c25f38b4fb3de0ec61357905
treed901b0a5e1530543faba911c130791d4a3afa4c0
parent6589c0bd56aa3fd102bab1f2ca2168bfc778c650
i965/fs: Pass fragment depth to the fb write as a fs_reg, not an ir_variable.

This will be used for the ARB_fp change to use this backend.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp