Skip to content

Conversation

@AnastaZIuk
Copy link
Member

No description provided.

@AnastaZIuk AnastaZIuk marked this pull request as ready for review January 27, 2026 10:47
Comment on lines +24 to +29
#ifndef NBL_EXT_FULLSCREEN_TRIANGLE_VS_ENTRYPOINT
#define NBL_EXT_FULLSCREEN_TRIANGLE_VS_ENTRYPOINT main
#endif

[shader("vertex")]
SVertexAttributes main()
SVertexAttributes NBL_EXT_FULLSCREEN_TRIANGLE_VS_ENTRYPOINT()

Choose a reason for hiding this comment

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

this is truly weird, couldn't we just name mangle the entrypoint? like __nbl__hlsl__ext__FullScreenTriangle__vertex_main ?

public:
inline ProtoPipeline(asset::IAssetManager* assMan, video::ILogicalDevice* device, system::ILogger* logger=nullptr)
{
m_vxShader = createDefaultVertexShader(assMan,device,logger);

Choose a reason for hiding this comment

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

is there no way for this extension to have a builtin archive where the vertex shader is a precompiled .spv ?

Copy link
Member Author

Choose a reason for hiding this comment

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

it's easy, if you want separate .spv I can get you one

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