Skip to content
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

Add condition to shader module assertion post pipeline creation #1943

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

bartosz-muszarski-arm
Copy link
Contributor

According to the specs VkPipelineShaderStageCreateInfo can specify a null shader module. If module is VK_NULL_HANDLE, the shader code is defined by the chained VkShaderModuleCreateInfo if present.
Currently in this scenario gfxreconstruct will trigger assert on missing shader_wrapper.
With this change the assert will be skipped and the shader wrapper will not be added to bound shaders list.

According to the specs VkPipelineShaderStageCreateInfo can specify
a null shader module. If module is VK_NULL_HANDLE, the shader code
is defined by the chained VkShaderModuleCreateInfo if present.

Change-Id: I8383a372c383bd9e2f0e03dc0ab28b6fc195824d
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 339360.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5702 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5702 passed.

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