summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_gs.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2017-09-14 22:58:34 -0700
committerKenneth Graunke <kenneth@whitecape.org>2017-09-21 09:39:31 -0700
commit6d6fae95a360aebcda92b1c0c8ab22a923bc3f54 (patch)
tree538f821aee4787b15b38c5c050d96c858d16d861 /src/mesa/drivers/dri/i965/brw_gs.c
parentc9fbe772baaaa24f80960deeb9c722d30e327803 (diff)
i965: Compute VS/GS output VUE map from the NIR info.
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>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_gs.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_gs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c
index 179ccc4c6fb..01e85daca55 100644
--- a/src/mesa/drivers/dri/i965/brw_gs.c
+++ b/src/mesa/drivers/dri/i965/brw_gs.c
@@ -115,7 +115,7 @@ brw_codegen_gs_prog(struct brw_context *brw,
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,