summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Khimenko <khim@google.com>2021-02-24 13:25:34 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-02-24 13:25:34 +0000
commitbcf42d0d2bab83eb41f0ce248826d230754eb381 (patch)
tree7e2c4acf7bf37b4657ef3041ab88a9a28e951a46
parentb5e2172df4ce5ae3f5cad9eec4f274009bc364c8 (diff)
parentb778369b569e1461576f412e77c67893990643c0 (diff)
downloadnative_bridge_support-bcf42d0d2bab83eb41f0ce248826d230754eb381.tar.gz
Merge "Update ndk_translation for libvulkan headers v1.2.158" into rvc-qpr-dev-plus-aosp
-rw-r--r--libvulkan/stubs_arm.cc26
-rw-r--r--libvulkan/stubs_arm64.cc26
2 files changed, 52 insertions, 0 deletions
diff --git a/libvulkan/stubs_arm.cc b/libvulkan/stubs_arm.cc
index ffbd0cf..3766898 100644
--- a/libvulkan/stubs_arm.cc
+++ b/libvulkan/stubs_arm.cc
@@ -31,6 +31,7 @@ DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkBindImageMemory);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkBindImageMemory2);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdBeginQuery);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdBeginRenderPass);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdBeginRenderPass2);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdBindDescriptorSets);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdBindIndexBuffer);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdBindPipeline);
@@ -50,12 +51,16 @@ DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDispatchIndirect);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDraw);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDrawIndexed);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDrawIndexedIndirect);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDrawIndexedIndirectCount);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDrawIndirect);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDrawIndirectCount);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdEndQuery);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdEndRenderPass);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdEndRenderPass2);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdExecuteCommands);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdFillBuffer);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdNextSubpass);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdNextSubpass2);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdPipelineBarrier);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdPushConstants);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdResetEvent);
@@ -95,6 +100,7 @@ DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreatePipelineCache);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreatePipelineLayout);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreateQueryPool);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreateRenderPass);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreateRenderPass2);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreateSampler);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreateSamplerYcbcrConversion);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreateSemaphore);
@@ -138,13 +144,16 @@ DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkFreeCommandBuffers);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkFreeDescriptorSets);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkFreeMemory);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetAndroidHardwareBufferPropertiesANDROID);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetBufferDeviceAddress);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetBufferMemoryRequirements);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetBufferMemoryRequirements2);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetBufferOpaqueCaptureAddress);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDescriptorSetLayoutSupport);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceGroupPeerMemoryFeatures);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceGroupPresentCapabilitiesKHR);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceGroupSurfacePresentModesKHR);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceMemoryCommitment);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceMemoryOpaqueCaptureAddress);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceProcAddr);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceQueue);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceQueue2);
@@ -182,6 +191,7 @@ DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetPhysicalDeviceSurfaceSupportKHR);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetPipelineCacheData);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetQueryPoolResults);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetRenderAreaGranularity);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetSemaphoreCounterValue);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetSwapchainImagesKHR);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkInvalidateMappedMemoryRanges);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkMapMemory);
@@ -195,12 +205,15 @@ DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkResetCommandPool);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkResetDescriptorPool);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkResetEvent);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkResetFences);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkResetQueryPool);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkSetEvent);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkSignalSemaphore);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkTrimCommandPool);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkUnmapMemory);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkUpdateDescriptorSetWithTemplate);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkUpdateDescriptorSets);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkWaitForFences);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkWaitSemaphores);
static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", android_convertGralloc0To1Usage);
@@ -217,6 +230,7 @@ static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkBindImageMemory2);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdBeginQuery);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdBeginRenderPass);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdBeginRenderPass2);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdBindDescriptorSets);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdBindIndexBuffer);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdBindPipeline);
@@ -236,12 +250,16 @@ static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdDraw);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdDrawIndexed);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdDrawIndexedIndirect);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdDrawIndexedIndirectCount);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdDrawIndirect);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdDrawIndirectCount);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdEndQuery);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdEndRenderPass);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdEndRenderPass2);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdExecuteCommands);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdFillBuffer);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdNextSubpass);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdNextSubpass2);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdPipelineBarrier);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdPushConstants);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdResetEvent);
@@ -281,6 +299,7 @@ static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreatePipelineLayout);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreateQueryPool);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreateRenderPass);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreateRenderPass2);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreateSampler);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreateSamplerYcbcrConversion);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreateSemaphore);
@@ -324,13 +343,16 @@ static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkFreeDescriptorSets);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkFreeMemory);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetAndroidHardwareBufferPropertiesANDROID);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetBufferDeviceAddress);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetBufferMemoryRequirements);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetBufferMemoryRequirements2);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetBufferOpaqueCaptureAddress);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDescriptorSetLayoutSupport);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceGroupPeerMemoryFeatures);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceGroupPresentCapabilitiesKHR);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceGroupSurfacePresentModesKHR);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceMemoryCommitment);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceMemoryOpaqueCaptureAddress);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceProcAddr);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceQueue);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceQueue2);
@@ -368,6 +390,7 @@ static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetPipelineCacheData);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetQueryPoolResults);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetRenderAreaGranularity);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetSemaphoreCounterValue);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetSwapchainImagesKHR);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkInvalidateMappedMemoryRanges);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkMapMemory);
@@ -381,11 +404,14 @@ static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkResetDescriptorPool);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkResetEvent);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkResetFences);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkResetQueryPool);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkSetEvent);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkSignalSemaphore);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkTrimCommandPool);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkUnmapMemory);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkUpdateDescriptorSetWithTemplate);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkUpdateDescriptorSets);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkWaitForFences);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkWaitSemaphores);
}
// clang-format on
diff --git a/libvulkan/stubs_arm64.cc b/libvulkan/stubs_arm64.cc
index ffbd0cf..3766898 100644
--- a/libvulkan/stubs_arm64.cc
+++ b/libvulkan/stubs_arm64.cc
@@ -31,6 +31,7 @@ DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkBindImageMemory);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkBindImageMemory2);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdBeginQuery);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdBeginRenderPass);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdBeginRenderPass2);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdBindDescriptorSets);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdBindIndexBuffer);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdBindPipeline);
@@ -50,12 +51,16 @@ DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDispatchIndirect);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDraw);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDrawIndexed);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDrawIndexedIndirect);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDrawIndexedIndirectCount);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDrawIndirect);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdDrawIndirectCount);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdEndQuery);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdEndRenderPass);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdEndRenderPass2);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdExecuteCommands);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdFillBuffer);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdNextSubpass);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdNextSubpass2);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdPipelineBarrier);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdPushConstants);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCmdResetEvent);
@@ -95,6 +100,7 @@ DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreatePipelineCache);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreatePipelineLayout);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreateQueryPool);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreateRenderPass);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreateRenderPass2);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreateSampler);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreateSamplerYcbcrConversion);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkCreateSemaphore);
@@ -138,13 +144,16 @@ DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkFreeCommandBuffers);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkFreeDescriptorSets);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkFreeMemory);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetAndroidHardwareBufferPropertiesANDROID);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetBufferDeviceAddress);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetBufferMemoryRequirements);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetBufferMemoryRequirements2);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetBufferOpaqueCaptureAddress);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDescriptorSetLayoutSupport);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceGroupPeerMemoryFeatures);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceGroupPresentCapabilitiesKHR);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceGroupSurfacePresentModesKHR);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceMemoryCommitment);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceMemoryOpaqueCaptureAddress);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceProcAddr);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceQueue);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetDeviceQueue2);
@@ -182,6 +191,7 @@ DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetPhysicalDeviceSurfaceSupportKHR);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetPipelineCacheData);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetQueryPoolResults);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetRenderAreaGranularity);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetSemaphoreCounterValue);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkGetSwapchainImagesKHR);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkInvalidateMappedMemoryRanges);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkMapMemory);
@@ -195,12 +205,15 @@ DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkResetCommandPool);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkResetDescriptorPool);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkResetEvent);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkResetFences);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkResetQueryPool);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkSetEvent);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkSignalSemaphore);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkTrimCommandPool);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkUnmapMemory);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkUpdateDescriptorSetWithTemplate);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkUpdateDescriptorSets);
DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkWaitForFences);
+DEFINE_INTERCEPTABLE_STUB_FUNCTION(vkWaitSemaphores);
static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", android_convertGralloc0To1Usage);
@@ -217,6 +230,7 @@ static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkBindImageMemory2);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdBeginQuery);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdBeginRenderPass);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdBeginRenderPass2);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdBindDescriptorSets);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdBindIndexBuffer);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdBindPipeline);
@@ -236,12 +250,16 @@ static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdDraw);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdDrawIndexed);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdDrawIndexedIndirect);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdDrawIndexedIndirectCount);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdDrawIndirect);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdDrawIndirectCount);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdEndQuery);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdEndRenderPass);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdEndRenderPass2);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdExecuteCommands);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdFillBuffer);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdNextSubpass);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdNextSubpass2);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdPipelineBarrier);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdPushConstants);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCmdResetEvent);
@@ -281,6 +299,7 @@ static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreatePipelineLayout);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreateQueryPool);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreateRenderPass);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreateRenderPass2);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreateSampler);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreateSamplerYcbcrConversion);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkCreateSemaphore);
@@ -324,13 +343,16 @@ static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkFreeDescriptorSets);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkFreeMemory);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetAndroidHardwareBufferPropertiesANDROID);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetBufferDeviceAddress);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetBufferMemoryRequirements);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetBufferMemoryRequirements2);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetBufferOpaqueCaptureAddress);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDescriptorSetLayoutSupport);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceGroupPeerMemoryFeatures);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceGroupPresentCapabilitiesKHR);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceGroupSurfacePresentModesKHR);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceMemoryCommitment);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceMemoryOpaqueCaptureAddress);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceProcAddr);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceQueue);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetDeviceQueue2);
@@ -368,6 +390,7 @@ static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetPipelineCacheData);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetQueryPoolResults);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetRenderAreaGranularity);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetSemaphoreCounterValue);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkGetSwapchainImagesKHR);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkInvalidateMappedMemoryRanges);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkMapMemory);
@@ -381,11 +404,14 @@ static void __attribute__((constructor(0))) init_stub_library() {
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkResetDescriptorPool);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkResetEvent);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkResetFences);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkResetQueryPool);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkSetEvent);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkSignalSemaphore);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkTrimCommandPool);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkUnmapMemory);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkUpdateDescriptorSetWithTemplate);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkUpdateDescriptorSets);
INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkWaitForFences);
+ INIT_INTERCEPTABLE_STUB_FUNCTION("libvulkan.so", vkWaitSemaphores);
}
// clang-format on