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

View File

@@ -1374,6 +1374,8 @@ brw_compile_tes(const struct brw_compiler *compiler,
g.generate_code(v.cfg, 8, v.shader_stats,
v.performance_analysis.require(), stats);
g.add_const_data(nir->constant_data, nir->constant_data_size);
assembly = g.get_assembly();
} else {
brw::vec4_tes_visitor v(compiler, log_data, key, prog_data,