-
Notifications
You must be signed in to change notification settings - Fork 68
Precompile Fri Ext #993
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
base: new_pt
Are you sure you want to change the base?
Precompile Fri Ext #993
Conversation
| #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() |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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
No description provided.