From a5b0d590845e30d3125b112865ab6d3859c5e836 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Tue, 29 May 2018 08:50:15 +0200 Subject: vo_gpu: switch to optimization level performance Upstream has this now. Didn't really make any different for me (except making the polar compute shader 2%-3% faster), but maybe it does for somebody else. --- video/out/gpu/spirv_shaderc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/gpu/spirv_shaderc.c b/video/out/gpu/spirv_shaderc.c index ee702053d5..f285631f14 100644 --- a/video/out/gpu/spirv_shaderc.c +++ b/video/out/gpu/spirv_shaderc.c @@ -32,7 +32,7 @@ static bool shaderc_init(struct ra_ctx *ctx) goto error; shaderc_compile_options_set_optimization_level(p->opts, - shaderc_optimization_level_size); + shaderc_optimization_level_performance); if (ctx->opts.debug) shaderc_compile_options_set_generate_debug_info(p->opts); -- cgit v1.2.3