From c5478f9067f2751981ad02cdc9d6af90fdfb4462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 7 Jul 2021 23:36:32 -0400 Subject: [PATCH] radeonsi: enable uniform inlining by default I think there is no reason to keep this disabled because it improves viewperf and it might improve other things. Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/drivers/radeonsi/si_debug_options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_debug_options.h b/src/gallium/drivers/radeonsi/si_debug_options.h index b53f48a8799..81880be5950 100644 --- a/src/gallium/drivers/radeonsi/si_debug_options.h +++ b/src/gallium/drivers/radeonsi/si_debug_options.h @@ -1,4 +1,4 @@ -OPT_BOOL(inline_uniforms, false, "Optimize shaders by replacing uniforms with literals") +OPT_BOOL(inline_uniforms, true, "Optimize shaders by replacing uniforms with literals") OPT_BOOL(aux_debug, false, "Generate ddebug_dumps for the auxiliary context") OPT_BOOL(sync_compile, false, "Always compile synchronously (will cause stalls)") OPT_BOOL(dump_shader_binary, false, "Dump shader binary as part of ddebug_dumps")