9 ShaderFunctionVK::ShaderFunctionVK(
10 const std::weak_ptr<DeviceHolderVK>& device_holder,
11 UniqueID parent_library_id,
14 vk::UniqueShaderModule module)
15 : ShaderFunction(parent_library_id,
std::move(name), stage),
16 module_(
std::move(module)),
17 device_holder_(device_holder) {}
19 ShaderFunctionVK::~ShaderFunctionVK() {
20 std::shared_ptr<DeviceHolderVK> device_holder = device_holder_.lock();
28 const vk::ShaderModule& ShaderFunctionVK::GetModule()
const {