VkShaderModule questions

  • Are VkShaderModule objects always local to a logical device or can they be used with other logical devices?
  • Which information is inside logical devices that VkShaderModules need for creation but which isn’t already present in physical devices?

Regards

This is a hard rule for all object (unless otherwise specified):

All objects created or allocated from a VkDevice (i.e. with a VkDevice as the first parameter) are private to that device, and must not be used on other devices.

VkShaderModule objects are no exception.

Extensions and features can be different.

1 Like

A post was split to a new topic: Vulkan and Render passes

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.