projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
intel/fs,vec4: Stuff the constant data from NIR in the end of the program
[mesa.git]
/
src
/
intel
/
compiler
/
brw_shader.cpp
diff --git
a/src/intel/compiler/brw_shader.cpp
b/src/intel/compiler/brw_shader.cpp
index e78f2cbe50a67f94d842483ca9eb39fafeea8d9a..3219a01e60a82a3fc611a5a3eb25c3ee905ae35f 100644
(file)
--- a/
src/intel/compiler/brw_shader.cpp
+++ b/
src/intel/compiler/brw_shader.cpp
@@
-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,