Extend directxshadercompiler to support generating Import statements for spirv libraries
€750-1500 EUR
Plačilo ob prevzemu
I am in need of someone with an advanced knowledge of C++ and DirectXShaderCompiler to extend the DirectXShaderCompiler project to include generating Import LinkageAttributes for SPIR-V libraries compiled as `lib_6_x`.
The project is not yet started, so a qualified C++ programmer is necessary to make this project work. The current goal is to generate Import LinkageAttributes for spirv libraries, so a comprehensive knowledge of DirectXShaderCompiler and its library architecture is preferred, though not required.
With the right person, this project could be a fantastic opportunity and a great chance to demonstrate your programming skills and knowledge. Thanks for your interest in this project.
Relevant GitHub issue that would need to be fixed / implemented [login to view URL]
The implementation is considered correct once the issue has been implemented in a pull request to the DXC project on github, and once we can link a set of shader together with an external tool based on [login to view URL]
Initially we're looking to get the example shader code on [login to view URL] to link as SPIR-V. Meaning
```
// [login to view URL]
// This is the function we're going to link to
float4 LibFunc();
// This is the entry point for our pixel shader
[shader("pixel")]
float4 PSMain(in PSInput input) : SV_Target0
{
return LibFunc();
}
```
and
```
export float4 LibFunc()
{
return float4(0, 1, 0, 1);
}
```
Should be able to link together correctly based on the spirv-linker we've created. Additionally, we'll provide three more examples during this project to verify the implementation. Strong requirement for payout is that the final PR gets merged into the main repository.
ID projekta: #37326943