i965/fs: Move region_contained_in to the IR header and fix for non-VGRF files.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 2 Sep 2016 03:03:44 +0000 (20:03 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 14 Sep 2016 21:50:57 +0000 (14:50 -0700)
commitf2d2156ba225a844723443d6f4356454e72112e0
tree8639b1b9e0ba6a41ed35614666890d7746002cd5
parent645261c4b2a12b5724946f9f6d35f74e28ce760f
i965/fs: Move region_contained_in to the IR header and fix for non-VGRF files.

Also changed the argument names since 'src' and 'dst' don't make that
much sense outside of the context of copy propagation.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
src/mesa/drivers/dri/i965/brw_ir_fs.h