intel/fs,vec4: Stuff the constant data from NIR in the end of the program

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6244>
This commit is contained in:
Jason Ekstrand
2020-08-07 22:26:07 -05:00
committed by Marge Bot
parent 91348d125d
commit 90b6745bc8
9 changed files with 31 additions and 0 deletions
@@ -867,6 +867,7 @@ brw_compile_gs(const struct brw_compiler *compiler, void *log_data,
}
g.generate_code(v.cfg, 8, v.shader_stats,
v.performance_analysis.require(), stats);
g.add_const_data(shader->constant_data, shader->constant_data_size);
return g.get_assembly();
}
}