Skip to content

Vulkan: allocation callback fix - #139

Open
xexaaron wants to merge 1 commit into
NVIDIA-RTX:mainfrom
xexaaron:vulkan-allocation-callbacks
Open

Vulkan: allocation callback fix#139
xexaaron wants to merge 1 commit into
NVIDIA-RTX:mainfrom
xexaaron:vulkan-allocation-callbacks

Conversation

@xexaaron

@xexaaron xexaaron commented Jul 18, 2026

Copy link
Copy Markdown

Vulkan: use allocation callbacks when destroying pipeline cache and descriptor set layout owned by the device.

Reason: The nrvhi::vulkan::Device uses the custom allocator for creating these objects but not for destroying them. This produces validation errors during Device destruction.

Validation Errors:
vkDestroyPipelineCache(): Custom allocator not specified while destroying VkPipelineCache obj 0xd000000000d but specified at creation.
vkDestroyDescriptorSetLayout(): Custom allocator not specified while destroying VkDescriptorSetLayout obj 0xe000000000e but specified at creation.

@github-actions

github-actions Bot commented Jul 18, 2026

Copy link
Copy Markdown

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@xexaaron

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

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.

1 participant