MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / ConstructCompiler

Function ConstructCompiler

glslang/GenericCodeGen/CodeGen.cpp:54–54  ·  view source on GitHub ↗

This function must be provided to create the actual compile object used by higher level code. It returns a subclass of TCompiler.

Source from the content-addressed store, hash-verified

52// a subclass of TCompiler.
53//
54TCompiler* ConstructCompiler(EShLanguage language, int) { return new TGenericCompiler(language); }
55
56//
57// Delete the compiler made by ConstructCompiler

Callers 1

ShConstructCompilerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected