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

Fix crash in vkBeginCommandBuffer #1922

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

Conversation

ziga-lunarg
Copy link
Contributor

From the spec:

pInheritanceInfo is a pointer to a VkCommandBufferInheritanceInfo structure, used if commandBuffer is a secondary command buffer. If this is a primary command buffer, then this value is ignored.

This would crash if pInheritanceInfo is pointing to invalid memory.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 326099.

@@ -284,6 +284,17 @@ def make_cmd_body(self, return_type, name, values):

body += '\n'

if name == 'vkBeginCommandBuffer':
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know if there is a better place to put this generated code

Copy link
Contributor

Choose a reason for hiding this comment

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

I would vote for creating an override function and handle it there

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5566 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5566 failed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 326150.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5567 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5567 failed.

@bradgrantham-lunarg
Copy link
Contributor

This PR needs resolution of the failed CI Jenkins run test cases and deciding whether Panos' suggestion to move this to an override function is appropriate, is that right?

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.

4 participants