9ShaderFunctionVK::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) {}
19ShaderFunctionVK::~ShaderFunctionVK() {
20 std::shared_ptr<DeviceHolderVK> device_holder = device_holder_.lock();
28const vk::ShaderModule& ShaderFunctionVK::GetModule()
const {
DEF_SWITCHES_START aot vmservice shared library name