ret->programs = _mesa_pointer_set_create(NULL);
simple_mtx_init(&ret->lock, mtx_plain);
- nir_variable_mode indirect_derefs_modes = 0;
- if (nir->info.stage == MESA_SHADER_TESS_CTRL ||
- nir->info.stage == MESA_SHADER_TESS_EVAL)
- indirect_derefs_modes |= nir_var_shader_in | nir_var_shader_out;
-
- NIR_PASS_V(nir, nir_lower_indirect_derefs, indirect_derefs_modes, UINT32_MAX);
-
nir_lower_io_options lower_io_flags = 0;
if (!screen->info.feats.features.shaderInt64 || !screen->info.feats.features.shaderFloat64)
lower_io_flags = nir_lower_io_lower_64bit_to_32;