Skip to content

Conversation

@AnastaZIuk
Copy link
Member

No description provided.

Comment on lines +42 to +44
// Precompile the FullScreenTriangle vertex shader along with this fragment shader.
#define NBL_EXT_FULLSCREEN_TRIANGLE_VS_ENTRYPOINT present_fri_ext
#include <nbl/builtin/hlsl/ext/FullScreenTriangle/default.vert.hlsl>

Choose a reason for hiding this comment

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

I don't like this solution, can we do something cleaner?

Copy link
Member Author

Choose a reason for hiding this comment

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

Comment on lines +166 to +168
ext::FullScreenTriangle::ProtoPipeline fsTriProtoPln(shader, "present_fri_ext");
if (!fsTriProtoPln) { logger.log("`CWindowPresenter::create` failed to create Full Screen Triangle protopipeline or load its vertex shader!",ILogger::ELL_ERROR); return false; }
m_present = fsTriProtoPln.createPipeline(fragSpec, layout.get(), getRenderpass());

Choose a reason for hiding this comment

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

I actually wanted to just have the ext::FullScreenTriangle use a builtin .spv target

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.

3 participants