i965: Unify fs_generator:: and vec4_generator::mark_surface_used as a free function.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 27 Nov 2013 03:56:07 +0000 (19:56 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 19 Feb 2014 15:27:25 +0000 (16:27 +0100)
commita32817f3c248125fb537c3a915566445e5600d45
tree04a084c0c4a28921e690fe62e2d26d4b593005b8
parentae8b066da5862b4cfc510b3a9a0e1273f9f6edd4
i965: Unify fs_generator:: and vec4_generator::mark_surface_used as a free function.

This way it can be used anywhere.  I need it from the visitor.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_program.c
src/mesa/drivers/dri/i965/brw_program.h
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_generator.cpp