i965/nir/fs: removed unneeded support for global variables
authorAlejandro Piñeiro <apinheiro@igalia.com>
Fri, 17 Jul 2015 09:54:34 +0000 (11:54 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 20 Jul 2015 07:50:04 +0000 (09:50 +0200)
commit8ba1982b1e37aa69680e243fe391254211ae273a
treed053e90559de189a5466d28bd24ea1ea3fd37be8
parent801d41fa43eba996c6bd7c071282ad15e51609d3
i965/nir/fs: removed unneeded support for global variables

As functions are inlined, and nir_lower_global_vars_to_local gets
run, all global variables are lowered to local variables.

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