i965/fs: Use a separate variable to keep track of the last uniform index seen.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 19 Feb 2014 14:27:01 +0000 (15:27 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 19 Feb 2014 18:03:56 +0000 (19:03 +0100)
commiteef710fc53113a5b3d6bbf7d9a20f63d7add7911
tree7eeef52b2456cefcc016b6c57b570a722b9e4120
parent9186cd39d42dff5a730134535c6ad647a51c44f8
i965/fs: Use a separate variable to keep track of the last uniform index seen.

Like the VEC4 back-end does.  It will make dynamic allocation of the
param_size array easier in a future commit.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_fp.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_wm.c