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

@@ -3001,6 +3001,7 @@ brw_compile_vs(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);
assembly = g.get_assembly();
}