aboutsummaryrefslogtreecommitdiff
path: root/layers
diff options
context:
space:
mode:
authorChia-I Wu <olv@google.com>2016-05-16 11:18:31 +0800
committerTobin Ehlis <tobine@google.com>2016-05-24 06:29:14 -0600
commitef2202c358d9ea062003fb73c9d4f9cbe5bb2c22 (patch)
tree7a69e6a42810ad1414134f55297b4e916ded8e28 /layers
parentf1c370e39a716e6e0ed8739760b5b42849ef185b (diff)
downloadusermoji-ef2202c358d9ea062003fb73c9d4f9cbe5bb2c22.tar.xz
threading: handle device commands in GetInstanceProcAddr
Call layer_intercept_proc in GetInstanceProcAddr.
Diffstat (limited to 'layers')
-rw-r--r--layers/threading.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/layers/threading.cpp b/layers/threading.cpp
index db5f6ae0..c97722e8 100644
--- 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;
}