Skip to content

Ex builtin archives #896

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Conversation

devshgraphicsprogramming
Copy link
Member

Description

Testing

TODO list:

…e options, get rid of FXC entries for VS generators with VS_TOOL_OVERRIDE property, update examples_tests submodules. TODO: I need to make it more generic and allow to embed additional files next to precompiled SPIRV to share the same mount point
…RING_RESOLVER_TU_DEBUG_OPTIMISATION enabled by default and force threading=0 for wave - combined gives over 3x compilation boost in Debug and its almost perf-like RWDI now, update docker/compiler-explorer submodule

namespace nbl::wave
{
std::string resolveString(std::string& code, const nbl::asset::IShaderCompiler::SPreprocessorOptions& preprocessOptions, bool withCaching, std::function<void(nbl::wave::context&)> post)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change the name from resolveString to just preprocess or preprocessString

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved in following commit

{
nbl::wave::context context(code.begin(), code.end(), preprocessOptions.sourceIdentifier.data(), { preprocessOptions });
context.set_caching(withCaching);
context.add_macro_definition("__HLSL_VERSION");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add defines for __SPIRV_MAJOR_VERSION__ and __SPIRV_MINOR_VERSION__

(requires moving of E_SPIRV_VERSION targetSpirvVersion = E_SPIRV_VERSION::ESV_1_6; from SCompilerOptions to SPreprocessorOptions)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

Base automatically changed from mesh_loaders to master July 1, 2025 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants