unify_interfaces() only updates the NIR program info, not the copy
in the gl_program itself. So, by using the old copy, we were missing
out on these updates.
The TCS/TES ones already did this correctly.
Reviewed-by: Juan A. Suarez Romero <jasuarez@igalia.com>
brw_nir_analyze_ubo_ranges(compiler, gp->program.nir,
prog_data.base.base.ubo_ranges);
- uint64_t outputs_written = gp->program.info.outputs_written;
+ uint64_t outputs_written = gp->program.nir->info.outputs_written;
brw_compute_vue_map(devinfo,
&prog_data.base.vue_map, outputs_written,
}
uint64_t outputs_written =
- brw_vs_outputs_written(brw, key, vp->program.info.outputs_written);
+ brw_vs_outputs_written(brw, key, vp->program.nir->info.outputs_written);
brw_compute_vue_map(devinfo,
&prog_data.base.vue_map, outputs_written,