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
It looks like the ENABLE_HLSL flag is automatically turned off in CMake whenever the ANVIL_LINK_WITH_GLSLANG flag is set. Why is that? I don't see why they would be mutually exclusive, since the hlsl-api is included in the glslang library.
If there is a reason for that, I think the description for the ANVIL_LINK_WITH_GLSLANG flag should reflect that, since it's not obvious at all (imo).
The text was updated successfully, but these errors were encountered:
The reason behind the setter is that we do not use this functionality (yet) internally, so I don't know if Anvil would need to expose additional functions to provide HLSL support to end users.
Also, we care about compilation times and removing the unnecessary pieces of the library from the build process is one of the ways with which we try to achieve this.
What if we added a CMake option which would allow HLSL parts to be included if your app needs this? Would that work ?
It looks like the ENABLE_HLSL flag is automatically turned off in CMake whenever the ANVIL_LINK_WITH_GLSLANG flag is set. Why is that? I don't see why they would be mutually exclusive, since the hlsl-api is included in the glslang library.
If there is a reason for that, I think the description for the ANVIL_LINK_WITH_GLSLANG flag should reflect that, since it's not obvious at all (imo).
The text was updated successfully, but these errors were encountered: