mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-26 00:34:35 +00:00
Forgot to flag as const
This commit is contained in:
parent
5c5b8dad34
commit
f091c5a4a4
@ -1310,7 +1310,7 @@ std::vector<VkQueueFamilyProperties> PhysicalDevice::get_queue_families() const
|
|||||||
|
|
||||||
// --- DispatchTable --- //
|
// --- DispatchTable --- //
|
||||||
|
|
||||||
DispatchTable Device::get_dispatch_table() {
|
DispatchTable Device::get_dispatch_table() const {
|
||||||
return DispatchTable(device, detail::vulkan_functions().fp_vkGetDeviceProcAddr);
|
return DispatchTable(device, detail::vulkan_functions().fp_vkGetDeviceProcAddr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -545,7 +545,7 @@ struct Device {
|
|||||||
VkAllocationCallbacks* allocation_callbacks = VK_NULL_HANDLE;
|
VkAllocationCallbacks* allocation_callbacks = VK_NULL_HANDLE;
|
||||||
PFN_vkGetDeviceProcAddr fp_vkGetDeviceProcAddr = nullptr;
|
PFN_vkGetDeviceProcAddr fp_vkGetDeviceProcAddr = nullptr;
|
||||||
|
|
||||||
DispatchTable get_dispatch_table();
|
DispatchTable get_dispatch_table() const;
|
||||||
|
|
||||||
detail::Result<uint32_t> get_queue_index(QueueType type) const;
|
detail::Result<uint32_t> get_queue_index(QueueType type) const;
|
||||||
// Only a compute or transfer queue type is valid. All other queue types do not support a 'dedicated' queue index
|
// Only a compute or transfer queue type is valid. All other queue types do not support a 'dedicated' queue index
|
||||||
|
Loading…
Reference in New Issue
Block a user