{
struct gl_context *ctx = &brw->ctx;
const struct brw_compiler *compiler = brw->intelScreen->compiler;
+ const struct brw_device_info *devinfo = compiler->devinfo;
struct brw_stage_state *stage_state = &brw->tcs.base;
nir_shader *nir;
struct brw_tcs_prog_data prog_data;
prog_data.base.base.nr_params = param_count;
if (tcs) {
+ brw_assign_common_binding_table_offsets(MESA_SHADER_TESS_CTRL, devinfo,
+ shader_prog, &tcp->program.Base,
+ &prog_data.base.base, 0);
+
prog_data.base.base.image_param =
rzalloc_array(NULL, struct brw_image_param, tcs->NumImages);
prog_data.base.base.nr_image_params = tcs->NumImages;