This implementation sets up a map of input variable offsets to source registers that are already initialized with the corresponding register offset.
This map will then be queried when processing load_input intrinsic operations, to obtain the correct register source from which the input data will be loaded.
b929acb i965/nir/vec4: Add setup of input variables in NIR->vec4 pass
src/mesa/drivers/dri/i965/brw_vec4.h | 2 ++
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp | 11 ++++++++++-
2 files changed, 12 insertions(+), 1 deletion(-)
Upstream: cgit.freedesktop.org