const bool debug_enabled = INTEL_DEBUG(DEBUG_TCS);
const unsigned *assembly;
- brw_nir_clamp_per_vertex_loads(nir, key->input_vertices);
-
vue_prog_data->base.stage = MESA_SHADER_TESS_CTRL;
prog_data->base.base.ray_queries = nir->info.ray_queries;
prog_data->base.base.total_scratch = 0;
key->_tes_primitive_mode);
if (key->quads_workaround)
brw_nir_apply_tcs_quads_workaround(nir);
+ if (compiler->use_tcs_multi_patch)
+ brw_nir_clamp_per_vertex_loads(nir, key->input_vertices);
brw_postprocess_nir(nir, compiler, is_scalar, debug_enabled,
key->base.robust_buffer_access);