diff --git a/renderdoc/driver/vulkan/vk_common.h b/renderdoc/driver/vulkan/vk_common.h index 1b1618aad..b3d381a00 100644 --- a/renderdoc/driver/vulkan/vk_common.h +++ b/renderdoc/driver/vulkan/vk_common.h @@ -24,6 +24,9 @@ #pragma once +// PORTABILITY - parts of the code that need to change/update to handle +// portability between different GPU setups/capabilities etc + // MULTIDEVICE - parts of the code that will need to be updated to support // multiple devices or queues. diff --git a/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp b/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp index aab883106..8fbefc467 100644 --- a/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp +++ b/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp @@ -48,7 +48,7 @@ void WrappedVulkan::Initialise(VkInitParams ¶ms) params.AppName = string("RenderDoc @ ") + params.AppName; params.EngineName = string("RenderDoc @ ") + params.EngineName; - // VKTODOLOW verify that layers/extensions are available + // PORTABILITY verify that layers/extensions are available // don't try and create our own layer on replay! for(auto it = params.Layers.begin(); it != params.Layers.end(); ++it) @@ -280,7 +280,7 @@ bool WrappedVulkan::Serialise_vkEnumeratePhysicalDevices( vkr = ObjDisp(instance)->EnumeratePhysicalDevices(Unwrap(instance), &count, devices); RDCASSERT(vkr == VK_SUCCESS); - // VKTODOLOW match up physical devices to those available on replay + // PORTABILITY match up physical devices to those available on replay pd = devices[physIndex]; @@ -534,7 +534,7 @@ bool WrappedVulkan::Serialise_vkCreateDevice( else RDCWARN("tessellationSideEffects = false, Tess output mesh data will not be available"); - // VKTODOLOW: check that extensions and layers supported in capture (from createInfo) are supported in replay + // PORTABILITY check that extensions and layers supported in capture (from createInfo) are supported in replay VkResult ret = GetDeviceDispatchTable(NULL)->CreateDevice(Unwrap(physicalDevice), &createInfo, &device); diff --git a/renderdoc/driver/vulkan/wrappers/vk_resource_funcs.cpp b/renderdoc/driver/vulkan/wrappers/vk_resource_funcs.cpp index fac1e7a3a..43dbc7fa3 100644 --- a/renderdoc/driver/vulkan/wrappers/vk_resource_funcs.cpp +++ b/renderdoc/driver/vulkan/wrappers/vk_resource_funcs.cpp @@ -156,7 +156,7 @@ bool WrappedVulkan::Serialise_vkAllocMemory( device = GetResourceManager()->GetLiveHandle(devId); // serialised memory type index is non-remapped, so we remap now. - // VKTODOLOW may need to re-write info to change memory type index to the + // PORTABILITY may need to re-write info to change memory type index to the // appropriate index on replay info.memoryTypeIndex = m_PhysicalDeviceData.memIdxMap[info.memoryTypeIndex];