Commit bcb73f3a authored by Niklas Haas's avatar Niklas Haas

spirv: switch to optimization level performance

Upstream has this in the meantime. It didn't really make a difference
for me except for the polar shader (by 2%-3%), but that might just be
measurement error.

Also, fuck the indentation on this line. shaderc's function names are
simply unreasonably long..
parent 0dee5e25
......@@ -68,7 +68,7 @@ static bool shaderc_init(struct spirv_compiler *spirv)
goto error;
shaderc_compile_options_set_optimization_level(p->opts,
shaderc_optimization_level_size);
shaderc_optimization_level_performance);
int ver, rev;
shaderc_get_spv_version(&ver, &rev);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment