diff options
author | Timothy Arceri <[email protected]> | 2018-01-19 13:05:35 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-01-31 09:14:08 +1100 |
commit | 32187562623b78cc502eaa976a2933fa8a201cab (patch) | |
tree | 3240bae525d0efaf247e2068806116768027692b /src/mesa | |
parent | 93e213f91f64189ff5fe65844a9fe5b8c48366c2 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp index 6d3a7c78dcd..a3d447c5a41 100644 --- a/src/mesa/state_tracker/st_glsl_to_nir.cpp +++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp @@ -660,7 +660,7 @@ st_finalize_nir(struct st_context *st, struct gl_program *prog, NIR_PASS_V(nir, nir_lower_var_copies); if (nir->info.stage != MESA_SHADER_TESS_CTRL && nir->info.stage != MESA_SHADER_TESS_EVAL) - NIR_PASS_V(nir, nir_lower_io_arrays_to_elements_no_indirects); + NIR_PASS_V(nir, nir_lower_io_arrays_to_elements_no_indirects, false); if (nir->info.stage == MESA_SHADER_VERTEX) { /* Needs special handling so drvloc matches the vbo state: */ |