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 trim raytracing invalid device issue #1417

Merged

Conversation

mizhen
Copy link
Contributor

@mizhen mizhen commented Jan 31, 2024

The problem

Trim raytracing handling use a device field of memory object wrapper which is not initialized, the error makes some title run into crash with GFXR trim capturing.

The solution

The fix is adding a CreateWrappedHandle template function for VkDeviceMemory which initialize the field in allocation of the Vulkan memory object.

Result

Tested target title with the build of the pull request, it fixed the issue.

Trim raytracing handling use map_device of memory object wrapper which is
not initialized, the error make some title run into crash with GFXR trim
capturing. The commit fixed the issue.
Add some changes to address code review comments.
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 125734.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3715 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 3715 passed.

@nickdriscoll-lunarg nickdriscoll-lunarg merged commit 8614493 into LunarG:dev Feb 29, 2024
8 checks 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.

3 participants