mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 10:10:09 +01:00
intel/fs/xe2+: Pass correct dispatch_width to fs_generator for geometry-processing stages.
Instead of hard-coding a dispatch_width value which is no longer correct on Xe2+. Reviewed-by: Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26605>
This commit is contained in:
parent
3f92dde55e
commit
84b53e1a54
4 changed files with 4 additions and 4 deletions
|
|
@ -1390,7 +1390,7 @@ brw_compile_tes(const struct brw_compiler *compiler,
|
|||
nir->info.name));
|
||||
}
|
||||
|
||||
g.generate_code(v.cfg, 8, v.shader_stats,
|
||||
g.generate_code(v.cfg, dispatch_width, v.shader_stats,
|
||||
v.performance_analysis.require(), params->base.stats);
|
||||
|
||||
g.add_const_data(nir->constant_data, nir->constant_data_size);
|
||||
|
|
|
|||
|
|
@ -2677,7 +2677,7 @@ brw_compile_vs(const struct brw_compiler *compiler,
|
|||
|
||||
g.enable_debug(debug_name);
|
||||
}
|
||||
g.generate_code(v.cfg, 8, v.shader_stats,
|
||||
g.generate_code(v.cfg, dispatch_width, v.shader_stats,
|
||||
v.performance_analysis.require(), params->base.stats);
|
||||
g.add_const_data(nir->constant_data, nir->constant_data_size);
|
||||
assembly = g.get_assembly();
|
||||
|
|
|
|||
|
|
@ -838,7 +838,7 @@ brw_compile_gs(const struct brw_compiler *compiler,
|
|||
label, nir->info.name);
|
||||
g.enable_debug(name);
|
||||
}
|
||||
g.generate_code(v.cfg, 8, v.shader_stats,
|
||||
g.generate_code(v.cfg, v.dispatch_width, v.shader_stats,
|
||||
v.performance_analysis.require(), params->base.stats);
|
||||
g.add_const_data(nir->constant_data, nir->constant_data_size);
|
||||
return g.get_assembly();
|
||||
|
|
|
|||
|
|
@ -470,7 +470,7 @@ brw_compile_tcs(const struct brw_compiler *compiler,
|
|||
nir->info.name));
|
||||
}
|
||||
|
||||
g.generate_code(v.cfg, 8, v.shader_stats,
|
||||
g.generate_code(v.cfg, dispatch_width, v.shader_stats,
|
||||
v.performance_analysis.require(), params->base.stats);
|
||||
|
||||
g.add_const_data(nir->constant_data, nir->constant_data_size);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue