add c wrapper for standalone ResourceLimits and remove that dependency from glslang_c_interface

This commit is contained in:
Travis Fort 2020-03-06 10:06:47 -05:00
parent 48556b8471
commit fd37e0c0f1
5 changed files with 106 additions and 8 deletions

View file

@ -167,11 +167,6 @@ int glslang_initialize_process() { return static_cast<int>(glslang::InitializePr
void glslang_finalize_process() { glslang::FinalizeProcess(); }
const glslang_resource_t* glslang_default_resource(void)
{
return reinterpret_cast<const glslang_resource_t*>(&glslang::DefaultTBuiltInResource);
}
static EShLanguage c_shader_stage(glslang_stage_t stage)
{
switch (stage) {