intel/compiler: Pass single backend_shader argument to the fs_live_variables constructor
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 13 Mar 2016 23:41:23 +0000 (16:41 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 6 Mar 2020 18:20:49 +0000 (10:20 -0800)
commitd0433971f958be7d38cb96bfe226fbabdd7998e7
tree8a10da244038825773a1d3d19396240e9ca640c5
parentd7e84cbb0f0530bb3e065bd522e5e1814373f589
intel/compiler: Pass single backend_shader argument to the fs_live_variables constructor

This removes the dependency of fs_live_variables on fs_visitor.  The
IR analysis framework requires the analysis result to be constructible
with a single argument -- The second argument was redundant anyway.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4012>
src/intel/compiler/brw_fs_live_variables.cpp
src/intel/compiler/brw_fs_live_variables.h