diff options
author | Niklas Haas <git@haasn.xyz> | 2018-05-29 08:50:15 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2018-09-01 16:14:22 +0200 |
commit | a5b0d590845e30d3125b112865ab6d3859c5e836 (patch) | |
tree | 418449ffc2bf998c96285ec9836e44db0588c3a5 /video | |
parent | 9d6b15ab32d4c231574f392c193a53e865b2206d (diff) |
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.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/gpu/spirv_shaderc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |