mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
intel/compiler/mesh: handle const data in task & mesh programs
Started showing up when nir_opt_large_constants call was moved in88756cee8d. Fixes dEQP-VK.mesh_shader.ext.smoke.monolithic.fullscreen_gradient* Suggested-by: Kenneth Graunke <kenneth@whitecape.org> Fixes:88756cee8d("intel/compiler: Run nir_opt_large_constants before scalarizing consts") Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20876> (cherry picked from commit536a2acfc2)
This commit is contained in:
parent
1c243f4f8b
commit
e79f4e0b12
2 changed files with 3 additions and 1 deletions
|
|
@ -1129,7 +1129,7 @@
|
|||
"description": "intel/compiler/mesh: handle const data in task & mesh programs",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "88756cee8da77a742fc031ac83f2e5a197023ef8"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -339,6 +339,7 @@ brw_compile_task(const struct brw_compiler *compiler,
|
|||
|
||||
g.generate_code(selected->cfg, selected->dispatch_width, selected->shader_stats,
|
||||
selected->performance_analysis.require(), params->stats);
|
||||
g.add_const_data(nir->constant_data, nir->constant_data_size);
|
||||
|
||||
delete v[0];
|
||||
delete v[1];
|
||||
|
|
@ -856,6 +857,7 @@ brw_compile_mesh(const struct brw_compiler *compiler,
|
|||
|
||||
g.generate_code(selected->cfg, selected->dispatch_width, selected->shader_stats,
|
||||
selected->performance_analysis.require(), params->stats);
|
||||
g.add_const_data(nir->constant_data, nir->constant_data_size);
|
||||
|
||||
delete v[0];
|
||||
delete v[1];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue