You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In DXC, when I want to compile a shader for a ray tracing pipeline, I include all the required EntryPoints in a single HLSL file. During compilation, specifying -E lib_6_6 allows it to compile successfully. Additionally, when creating the ray tracing pipeline, I pass a DxilLibrary type StateSubobject.
However, in Slang, it seems that I must explicitly specify the EntryPoint for the compilation to work correctly. Even if I set -profile lib_6_6, the pipeline creation fails because it cannot find the specified EntryPoint.
So, how can I properly use Slang to achieve the same functionality as DXC? I can only use slangc for compilation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In DXC, when I want to compile a shader for a ray tracing pipeline, I include all the required EntryPoints in a single HLSL file. During compilation, specifying -E lib_6_6 allows it to compile successfully. Additionally, when creating the ray tracing pipeline, I pass a DxilLibrary type StateSubobject.
However, in Slang, it seems that I must explicitly specify the EntryPoint for the compilation to work correctly. Even if I set -profile lib_6_6, the pipeline creation fails because it cannot find the specified EntryPoint.
So, how can I properly use Slang to achieve the same functionality as DXC? I can only use slangc for compilation.
Beta Was this translation helpful? Give feedback.
All reactions