mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
intel: Set shader_spilling_rate=11 in intel_clc
A while back Matt enabled shader_spilling_rate by default for anv. But intel_clc doesn't use the driconf mechanism that we use there. The GRL shaders spill a lot, and with us now compiling additional generations of the shaders, Mesa build time is getting prohibitively expensive. By setting this, we drop the time taken for a clean debug build by approximately 35% on my current laptop. Reviewed-by: Ivan Briano <ivan.briano@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31993>
This commit is contained in:
parent
a6d4274822
commit
22b511ef02
1 changed files with 1 additions and 0 deletions
|
|
@ -420,6 +420,7 @@ output_isa(const struct intel_clc_params *params, struct clc_binary *binary)
|
|||
|
||||
struct brw_compiler *compiler = brw_compiler_create(params->mem_ctx,
|
||||
¶ms->devinfo);
|
||||
compiler->spilling_rate = 11;
|
||||
compiler->shader_debug_log = compiler_log;
|
||||
compiler->shader_perf_log = compiler_log;
|
||||
struct disk_cache *disk_cache = get_disk_cache(compiler);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue