projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1c370e
)
threading: handle device commands in GetInstanceProcAddr
author
Chia-I Wu
<olv@google.com>
Mon, 16 May 2016 03:18:31 +0000
(11:18 +0800)
committer
Tobin Ehlis
<tobine@google.com>
Tue, 24 May 2016 12:29:14 +0000
(06:29 -0600)
Call layer_intercept_proc in GetInstanceProcAddr.
layers/threading.cpp
patch
|
blob
|
history
diff --git
a/layers/threading.cpp
b/layers/threading.cpp
index
db5f6ae
..
c97722e
100644
(file)
--- a/
layers/threading.cpp
+++ b/
layers/threading.cpp
@@
-236,6
+236,8
@@
VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetInstanceProcAddr(VkInstance instance
layer_data *my_data;
addr = layer_intercept_instance_proc(funcName);
+ if (!addr)
+ addr = layer_intercept_proc(funcName);
if (addr) {
return addr;
}