1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00

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.
This commit is contained in:
Niklas Haas 2018-05-29 08:50:15 +02:00 committed by sfan5
parent 9d6b15ab32
commit a5b0d59084

View File

@ -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);