nir/st_glsl_to_nir: add param to disable splitting of inputs
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 19 Jan 2018 02:05:35 +0000 (13:05 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 30 Jan 2018 22:14:08 +0000 (09:14 +1100)
commit32187562623b78cc502eaa976a2933fa8a201cab
tree3240bae525d0efaf247e2068806116768027692b
parent93e213f91f64189ff5fe65844a9fe5b8c48366c2
nir/st_glsl_to_nir: add param to disable splitting of inputs

We need this because we will always copy fs outputs to temps and
split the arrays, but do not want to do either of these with fs
inputs as it is unnessisary and makes handling interpolateAt
builtins difficult.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_io_arrays_to_elements.c
src/mesa/state_tracker/st_glsl_to_nir.cpp