microsoft / microsoft/DirectXShaderCompiler
[SPIRV][Question]Link libraries
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3.7k
- Forks
- 900
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 44
Description
Hi,
I saw that SPIRV have a Linkage capability and can import and export functions or global variables.
SPIRV-Tools also has an experimental linker to combine spirv files.
So is it possible to compile a module with the lib_6_3 target profile that exports some functions, and import those in a separate file?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the SPIR-V Linkage capability and the experimental SPIRV-Tools linker mentioned in the issue. Determine whether a module built with the lib_6_3 target profile can export functions or global variables for import by a separate file, and record the supported workflow or limitations.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100