aboutsummaryrefslogtreecommitdiff
path: root/loader/loader.h
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2015-09-30 12:56:42 -0600
committerJon Ashburn <jon@lunarg.com>2015-10-02 11:06:05 -0600
commit0a506d6db5034f08a26c21d94e3bc8f4fa8133bf (patch)
tree7a5000cce5c1d4dc2cb2a2d976f8635c662d4e28 /loader/loader.h
parentf347df9242e2821251dd20c7b7c1822b6139d36c (diff)
downloadusermoji-0a506d6db5034f08a26c21d94e3bc8f4fa8133bf.tar.xz
loader: Fixes in trampoline code to support layers which wrap objects
Loader trampoline code may see wrapped objects. Don't do value comparisons of dispatchable objects but instead compare dispatch tables to find objects. PhysicalDevice objects where may have multiple gpus with same instance dispatch will be fixed in a later patch.
Diffstat (limited to 'loader/loader.h')
-rw-r--r--loader/loader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/loader.h b/loader/loader.h
index cd795c50..e27f18cb 100644
--- a/loader/loader.h
+++ b/loader/loader.h
@@ -373,6 +373,8 @@ void loader_get_icd_loader_instance_extensions(
struct loader_icd *loader_get_icd_and_device(
const VkDevice device,
struct loader_device **found_dev);
+struct loader_instance *loader_get_instance(
+ const VkInstance instance);
struct loader_icd * loader_get_icd(
const VkPhysicalDevice gpu,
uint32_t *gpu_index);