Skip to content

IShader, no more conversions, stage is now part of spec info. - #839

Closed
devshgraphicsprogramming wants to merge 69 commits into
masterfrom
stagesless_shaders
Closed

devshgraphicsprogramming wants to merge 69 commits into
masterfrom
stagesless_shaders

Conversation

@devshgraphicsprogramming

@devshgraphicsprogramming devshgraphicsprogramming commented Feb 21, 2025 •

Copy link
Copy Markdown
Member

Description

Remove unnecessary complexity of ICPUShader and IGPUShader.

Testing

All examples using shaders need to be tested.

TODO list:

  • require maintenance5 or graphics_pipeline_library
  • pass SPIR-V directly to pipeline creation without creating a VkShaderModule using maintenance5/graphics_pipeline_library pNext new API
  • set debug object name on created graphics pipeline libraries
  • use SPIR-V Tools & Opt to create a copy of the SPIR-V, remove entry points not used by spec info, then run DCE and capability stripping pass

Comment thread include/nbl/asset/IPipeline.h Outdated
Comment thread include/nbl/asset/IShader.h Outdated
Comment thread include/nbl/video/utilities/CAssetConverter.h Outdated
Comment thread include/nbl/asset/metadata/CHLSLMetadata.h Outdated
Comment thread src/nbl/video/utilities/CAssetConverter.cpp
Comment thread src/nbl/asset/utils/ISPIRVDebloater.cpp Outdated
Comment thread src/nbl/asset/utils/ISPIRVOptimizer.cpp Outdated
Comment thread src/nbl/video/ILogicalDevice.cpp Outdated
Comment thread include/nbl/asset/utils/ISPIRVDebloater.h Outdated
Comment thread include/nbl/asset/utils/ISPIRVDebloater.h
Comment thread include/nbl/asset/utils/ISPIRVDebloater.h
Comment thread include/nbl/video/IGPURayTracingPipeline.h Outdated
Comment thread src/nbl/video/ILogicalDevice.cpp Outdated
@devshgraphicsprogramming

Copy link
Copy Markdown
Member Author

Everything resolved, work continues in #887

@devshgraphicsprogramming
devshgraphicsprogramming deleted the stagesless_shaders branch July 2, 2025 16:05
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