anv/brw: use separate_shader to deduced MUE compaction
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Ivan Briano <ivan.briano@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34109>
This commit is contained in:
committed by
Marge Bot
parent
6230f3029f
commit
ef17fbf8e5
@@ -1662,8 +1662,12 @@ brw_compile_mesh(const struct brw_compiler *compiler,
|
||||
|
||||
brw_nir_lower_tue_inputs(nir, params->tue_map);
|
||||
|
||||
/* Incorrectly set separate to false until we fix the anv/brw in the next
|
||||
* commit.
|
||||
*/
|
||||
brw_compute_mue_map(compiler, nir, &prog_data->map,
|
||||
prog_data->index_format, key->compact_mue);
|
||||
prog_data->index_format,
|
||||
false /* TODO: use nir->info.separate_shader */);
|
||||
brw_nir_lower_mue_outputs(nir, &prog_data->map);
|
||||
|
||||
prog_data->autostrip_enable = brw_mesh_autostrip_enable(compiler, nir, &prog_data->map);
|
||||
|
||||
@@ -338,9 +338,6 @@ struct brw_task_prog_key
|
||||
struct brw_mesh_prog_key
|
||||
{
|
||||
struct brw_base_prog_key base;
|
||||
|
||||
bool compact_mue:1;
|
||||
unsigned padding:31;
|
||||
};
|
||||
|
||||
/** The program key for Fragment/Pixel Shaders. */
|
||||
|
||||
Reference in New Issue
Block a user