intel/compiler: Call nir_lower_system_values in brw_preprocess_nir

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
Jason Ekstrand
2017-09-01 22:20:23 -07:00
parent ece206b848
commit d24311b7b5
3 changed files with 2 additions and 4 deletions

View File

@@ -635,6 +635,8 @@ brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir)
/* Lower a bunch of stuff */
OPT(nir_lower_var_copies);
OPT(nir_lower_system_values);
OPT(nir_lower_clip_cull_distance_arrays);
nir_variable_mode indirect_mask = 0;