diff --git a/glslang/CInterface/glslang_c_interface.cpp b/glslang/CInterface/glslang_c_interface.cpp index 956f0688..aebe71ae 100644 --- a/glslang/CInterface/glslang_c_interface.cpp +++ b/glslang/CInterface/glslang_c_interface.cpp @@ -553,33 +553,6 @@ GLSLANG_EXPORT void glslang_glsl_resolver_delete(glslang_resolver_t* resolver) delete reinterpret_cast(resolver); } -GLSLANG_EXPORT glslang_mapper_t* glslang_glsl_mapper_create() -{ - return reinterpret_cast(new glslang::TGlslIoMapper()); -} - -GLSLANG_EXPORT void glslang_glsl_mapper_delete(glslang_mapper_t* mapper) -{ - if (!mapper) - return; - - delete reinterpret_cast(mapper); -} - -GLSLANG_EXPORT glslang_resolver_t* glslang_glsl_resolver_create(glslang_program_t* program, glslang_stage_t stage) -{ - glslang::TIntermediate* intermediate = program->program->getIntermediate(c_shader_stage(stage)); - return reinterpret_cast(new glslang::TDefaultGlslIoResolver(reinterpret_cast(*intermediate))); -} - -GLSLANG_EXPORT void glslang_glsl_resolver_delete(glslang_resolver_t* resolver) -{ - if (!resolver) - return; - - delete reinterpret_cast(resolver); -} - #ifdef __cplusplus } #endif \ No newline at end of file