KhronosGroup / glslang

Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator.
Other
2.91k stars 816 forks source link

Tracker for adding glslang support for versioned shared objects / DLLs #2283

Open ben-clayton opened 4 years ago

ben-clayton commented 4 years ago

This issue tracks the work being done to add support for versioned shared objects / DLLs for glslang.


Related issues: #1255, #1421, #1484, #2147, #2267

johnkslang commented 4 years ago

Note that #2277 is still WIP, but now #2282 is not. Is there any dependency?

ben-clayton commented 4 years ago

I want to add presubmit builds for SOs / DLLs to check #2282 is safe to land. I've locally tested #2282, but I always like to get a second opinion.

I'll do that now.

jspanchu commented 1 month ago

Few symbols that are exported from glslang shared library are not at all defined. For example, symbols of TShader are exported in glslang, however they are declared in MachineDependent which is a hard-coded static library built without GLSL_EXPORT.

It is probably simpler by building your implementation modules GenericCodeGen, MachineDependent, OSDependent into object libraries. Does anyone downstream really link to them?