-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle shader extraction and replacement for less common cases (#1758)
* Handle shader extraction for less common cases Specifically, shader extraction is now supported for shaders created with a VkShaderModuleCreateInfo struct in the pNext chain of a VkPipelineShaderStageCreateInfo, and for calls to vkCreateShadersEXT. The former case uses the pipeline's handle and the shader stage as the filename, while the latter uses the handle passed to vkCreateShadersEXT. * Handle shader replacement for less common cases Specifically, shader replacement is now supported for shaders created with a VkShaderModuleCreateInfo struct in the pNext chain of a VkPipelineShaderStageCreateInfo, and for calls to vkCreateShadersEXT. The former case uses the pipeline's handle and the shader stage as the filename, while the latter uses the handle passed to vkCreateShadersEXT. This is supported for both regular and asynchronous pipeline creation. * Dump resources: Fix crash for null shader module This can happen when a VkShaderModuleCreateInfo is in the pNext chain.
- Loading branch information
Showing
4 changed files
with
270 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.