Adapted shaderc to be able to be ran as a function.