Merge "[fidl] Finish fitx::result migration"
diff --git a/system/gralloc/gralloc_30.cpp b/system/gralloc/gralloc_30.cpp
index c012908..298842f 100644
--- a/system/gralloc/gralloc_30.cpp
+++ b/system/gralloc/gralloc_30.cpp
@@ -450,7 +450,7 @@
RETURN_ERROR(nullptr);
}
- if ((m->id == GRALLOC_HARDWARE_MODULE_ID) && (m->name == GOLDFISH_GRALLOC_MODULE_NAME)) {
+ if (strcmp(m->id, GRALLOC_HARDWARE_MODULE_ID) == 0 && m->name == GOLDFISH_GRALLOC_MODULE_NAME) {
return reinterpret_cast<private_module_t*>(const_cast<hw_module_t*>(m));
} else {
RETURN_ERROR(nullptr);
diff --git a/system/vulkan_enc/AndroidHardwareBuffer.cpp b/system/vulkan_enc/AndroidHardwareBuffer.cpp
index 40360a2..c49693d 100644
--- a/system/vulkan_enc/AndroidHardwareBuffer.cpp
+++ b/system/vulkan_enc/AndroidHardwareBuffer.cpp
@@ -75,8 +75,46 @@
if (!(desc.usage & (gpu_usage))) {
return VK_ERROR_INVALID_EXTERNAL_HANDLE;
}
-
- ahbFormatProps->format = vk_format_from_android(desc.format);
+ switch(desc.format) {
+ case AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM:
+ ahbFormatProps->format = VK_FORMAT_R8G8B8A8_UNORM;
+ break;
+ case AHARDWAREBUFFER_FORMAT_R8G8B8X8_UNORM:
+ ahbFormatProps->format = VK_FORMAT_R8G8B8A8_UNORM;
+ break;
+ case AHARDWAREBUFFER_FORMAT_R8G8B8_UNORM:
+ ahbFormatProps->format = VK_FORMAT_R8G8B8_UNORM;
+ break;
+ case AHARDWAREBUFFER_FORMAT_R5G6B5_UNORM:
+ ahbFormatProps->format = VK_FORMAT_R5G6B5_UNORM_PACK16;
+ break;
+ case AHARDWAREBUFFER_FORMAT_R16G16B16A16_FLOAT:
+ ahbFormatProps->format = VK_FORMAT_R16G16B16A16_SFLOAT;
+ break;
+ case AHARDWAREBUFFER_FORMAT_R10G10B10A2_UNORM:
+ ahbFormatProps->format = VK_FORMAT_A2B10G10R10_UNORM_PACK32;
+ break;
+ case AHARDWAREBUFFER_FORMAT_D16_UNORM:
+ ahbFormatProps->format = VK_FORMAT_D16_UNORM;
+ break;
+ case AHARDWAREBUFFER_FORMAT_D24_UNORM:
+ ahbFormatProps->format = VK_FORMAT_X8_D24_UNORM_PACK32;
+ break;
+ case AHARDWAREBUFFER_FORMAT_D24_UNORM_S8_UINT:
+ ahbFormatProps->format = VK_FORMAT_D24_UNORM_S8_UINT;
+ break;
+ case AHARDWAREBUFFER_FORMAT_D32_FLOAT:
+ ahbFormatProps->format = VK_FORMAT_D32_SFLOAT;
+ break;
+ case AHARDWAREBUFFER_FORMAT_D32_FLOAT_S8_UINT:
+ ahbFormatProps->format = VK_FORMAT_D32_SFLOAT_S8_UINT;
+ break;
+ case AHARDWAREBUFFER_FORMAT_S8_UINT:
+ ahbFormatProps->format = VK_FORMAT_S8_UINT;
+ break;
+ default:
+ ahbFormatProps->format = VK_FORMAT_UNDEFINED;
+ }
ahbFormatProps->externalFormat = desc.format;
// The formatFeatures member must include
diff --git a/system/vulkan_enc/HostVisibleMemoryVirtualization.cpp b/system/vulkan_enc/HostVisibleMemoryVirtualization.cpp
index 13d7d6d..714761c 100644
--- a/system/vulkan_enc/HostVisibleMemoryVirtualization.cpp
+++ b/system/vulkan_enc/HostVisibleMemoryVirtualization.cpp
@@ -40,42 +40,9 @@
namespace goldfish_vk {
-bool canFitVirtualHostVisibleMemoryInfo(
- const VkPhysicalDeviceMemoryProperties* memoryProperties) {
- uint32_t typeCount =
- memoryProperties->memoryTypeCount;
- uint32_t heapCount =
- memoryProperties->memoryHeapCount;
-
- bool canFit = true;
-
- if (typeCount == VK_MAX_MEMORY_TYPES) {
- canFit = false;
- ALOGE("Underlying device has no free memory types");
- }
-
- if (heapCount == VK_MAX_MEMORY_HEAPS) {
- canFit = false;
- ALOGE("Underlying device has no free memory heaps");
- }
-
- uint32_t numFreeMemoryTypes = VK_MAX_MEMORY_TYPES - typeCount;
- uint32_t hostVisibleMemoryTypeCount = 0;
-
- if (hostVisibleMemoryTypeCount > numFreeMemoryTypes) {
- ALOGE("Underlying device has too many host visible memory types (%u)"
- "and not enough free types (%u)",
- hostVisibleMemoryTypeCount, numFreeMemoryTypes);
- canFit = false;
- }
-
- return canFit;
-}
-
void initHostVisibleMemoryVirtualizationInfo(
VkPhysicalDevice physicalDevice,
const VkPhysicalDeviceMemoryProperties* memoryProperties,
- const EmulatorFeatureInfo* featureInfo,
HostVisibleMemoryVirtualizationInfo* info_out) {
if (info_out->initialized) return;
@@ -83,19 +50,6 @@
info_out->hostMemoryProperties = *memoryProperties;
info_out->initialized = true;
- info_out->memoryPropertiesSupported =
- canFitVirtualHostVisibleMemoryInfo(memoryProperties);
-
- info_out->directMemSupported = featureInfo->hasDirectMem;
- info_out->virtioGpuNextSupported = featureInfo->hasVirtioGpuNext;
-
- if (!info_out->memoryPropertiesSupported ||
- (!info_out->directMemSupported &&
- !info_out->virtioGpuNextSupported)) {
- info_out->virtualizationSupported = false;
- return;
- }
-
info_out->virtualizationSupported = true;
info_out->physicalDevice = physicalDevice;
diff --git a/system/vulkan_enc/HostVisibleMemoryVirtualization.h b/system/vulkan_enc/HostVisibleMemoryVirtualization.h
index 66d6042..c451400 100644
--- a/system/vulkan_enc/HostVisibleMemoryVirtualization.h
+++ b/system/vulkan_enc/HostVisibleMemoryVirtualization.h
@@ -55,13 +55,9 @@
bool memoryTypeBitsShouldAdvertiseBoth[VK_MAX_MEMORY_TYPES];
};
-bool canFitVirtualHostVisibleMemoryInfo(
- const VkPhysicalDeviceMemoryProperties* memoryProperties);
-
void initHostVisibleMemoryVirtualizationInfo(
VkPhysicalDevice physicalDevice,
const VkPhysicalDeviceMemoryProperties* memoryProperties,
- const EmulatorFeatureInfo* featureInfo,
HostVisibleMemoryVirtualizationInfo* info_out);
bool isHostVisibleMemoryTypeIndexForGuest(
diff --git a/system/vulkan_enc/ResourceTracker.cpp b/system/vulkan_enc/ResourceTracker.cpp
index bb31590..91e4b30 100644
--- a/system/vulkan_enc/ResourceTracker.cpp
+++ b/system/vulkan_enc/ResourceTracker.cpp
@@ -363,6 +363,10 @@
VkDeviceSize currentBackingSize = 0;
bool baseRequirementsKnown = false;
VkMemoryRequirements baseRequirements;
+#ifdef VK_USE_PLATFORM_ANDROID_KHR
+ bool hasExternalFormat = false;
+ unsigned androidFormat = 0;
+#endif
#ifdef VK_USE_PLATFORM_FUCHSIA
bool isSysmemBackedMemory = false;
#endif
@@ -853,7 +857,6 @@
info.memProps = memProps;
initHostVisibleMemoryVirtualizationInfo(
physdev, &memProps,
- mFeatureInfo.get(),
&mHostVisibleMemoryVirtInfo);
info.apiVersion = props.apiVersion;
@@ -1677,10 +1680,11 @@
VkPhysicalDevice physdev,
VkPhysicalDeviceMemoryProperties* out) {
+ // If the device supports VK_MAX_MEMORY_HEAPS heaps and VK_MAX_MEMORY_TYPES, the current
+ // logic will break unless refactored (see b:233803018 for progress).
initHostVisibleMemoryVirtualizationInfo(
physdev,
out,
- mFeatureInfo.get(),
&mHostVisibleMemoryVirtInfo);
if (mHostVisibleMemoryVirtInfo.virtualizationSupported) {
@@ -1693,10 +1697,11 @@
VkPhysicalDevice physdev,
VkPhysicalDeviceMemoryProperties2* out) {
+ // If the device supports VK_MAX_MEMORY_HEAPS heaps and VK_MAX_MEMORY_TYPES, the current
+ // logic will break unless refactored (see b:233803018 for progress).
initHostVisibleMemoryVirtualizationInfo(
physdev,
&out->memoryProperties,
- mFeatureInfo.get(),
&mHostVisibleMemoryVirtInfo);
if (mHostVisibleMemoryVirtInfo.virtualizationSupported) {
@@ -5056,6 +5061,11 @@
info.createInfo = *pCreateInfo;
info.createInfo.pNext = nullptr;
+ if (extFormatAndroidPtr && extFormatAndroidPtr->externalFormat) {
+ info.hasExternalFormat = true;
+ info.androidFormat = extFormatAndroidPtr->externalFormat;
+ }
+
if (supportsCreateResourcesWithRequirements()) {
info.baseRequirementsKnown = true;
}
@@ -5193,7 +5203,8 @@
vk_find_struct<VkSamplerYcbcrConversionInfo>(pCreateInfo);
if (samplerYcbcrConversionInfo) {
if (samplerYcbcrConversionInfo->conversion != VK_YCBCR_CONVERSION_DO_NOTHING) {
- localVkSamplerYcbcrConversionInfo = vk_make_orphan_copy(*samplerYcbcrConversionInfo);
+ localVkSamplerYcbcrConversionInfo =
+ vk_make_orphan_copy(*samplerYcbcrConversionInfo);
vk_append_struct(&structChainIter, &localVkSamplerYcbcrConversionInfo);
}
}
@@ -7600,14 +7611,24 @@
(void)input_result;
VkImageViewCreateInfo localCreateInfo = vk_make_orphan_copy(*pCreateInfo);
+ vk_struct_chain_iterator structChainIter = vk_make_chain_iterator(&localCreateInfo);
#if defined(VK_USE_PLATFORM_ANDROID_KHR) || defined(__linux__)
- const VkExternalFormatANDROID* extFormatAndroidPtr =
- vk_find_struct<VkExternalFormatANDROID>(pCreateInfo);
- if (extFormatAndroidPtr) {
- if (extFormatAndroidPtr->externalFormat) {
- localCreateInfo.format =
- vk_format_from_android(extFormatAndroidPtr->externalFormat);
+ if (pCreateInfo->format == VK_FORMAT_UNDEFINED) {
+ AutoLock<RecursiveLock> lock(mLock);
+
+ auto it = info_VkImage.find(pCreateInfo->image);
+ if (it != info_VkImage.end() && it->second.hasExternalFormat) {
+ localCreateInfo.format = vk_format_from_android(it->second.androidFormat);
+ }
+ }
+ VkSamplerYcbcrConversionInfo localVkSamplerYcbcrConversionInfo;
+ const VkSamplerYcbcrConversionInfo* samplerYcbcrConversionInfo =
+ vk_find_struct<VkSamplerYcbcrConversionInfo>(pCreateInfo);
+ if (samplerYcbcrConversionInfo) {
+ if (samplerYcbcrConversionInfo->conversion != VK_YCBCR_CONVERSION_DO_NOTHING) {
+ localVkSamplerYcbcrConversionInfo = vk_make_orphan_copy(*samplerYcbcrConversionInfo);
+ vk_append_struct(&structChainIter, &localVkSamplerYcbcrConversionInfo);
}
}
#endif
diff --git a/system/vulkan_enc/VkEncoder.cpp b/system/vulkan_enc/VkEncoder.cpp
index f7eef9d..8be90d1 100644
--- a/system/vulkan_enc/VkEncoder.cpp
+++ b/system/vulkan_enc/VkEncoder.cpp
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module VkEncoder
-// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
@@ -26,6 +26,7 @@
#include "VkEncoder.h"
+#include "EncoderDebug.h"
#include "IOStream.h"
#include "Resources.h"
#include "ResourceTracker.h"
@@ -79,6 +80,7 @@
VkInstance* pInstance,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateInstance(pCreateInfo:%p, pAllocator:%p, pInstance:%p)", pCreateInfo, pAllocator, pInstance);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -167,6 +169,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyInstance(instance:%p, pAllocator:%p)", instance, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -236,6 +239,7 @@
VkPhysicalDevice* pPhysicalDevices,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkEnumeratePhysicalDevices(instance:%p, pPhysicalDeviceCount:%p, pPhysicalDevices:%p)", instance, pPhysicalDeviceCount, pPhysicalDevices);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -356,6 +360,7 @@
VkPhysicalDeviceFeatures* pFeatures,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceFeatures(physicalDevice:%p, pFeatures:%p)", physicalDevice, pFeatures);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -403,6 +408,7 @@
VkFormatProperties* pFormatProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceFormatProperties(physicalDevice:%p, format:%d, pFormatProperties:%p)", physicalDevice, format, pFormatProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -459,6 +465,7 @@
VkImageFormatProperties* pImageFormatProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceImageFormatProperties(physicalDevice:%p, format:%d, usage:%d, flags:%d, pImageFormatProperties:%p)", physicalDevice, format, usage, flags, pImageFormatProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -533,6 +540,7 @@
VkPhysicalDeviceProperties* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceProperties(physicalDevice:%p, pProperties:%p)", physicalDevice, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -581,6 +589,7 @@
VkQueueFamilyProperties* pQueueFamilyProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceQueueFamilyProperties(physicalDevice:%p, pQueueFamilyPropertyCount:%p, pQueueFamilyProperties:%p)", physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -698,6 +707,7 @@
VkPhysicalDeviceMemoryProperties* pMemoryProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceMemoryProperties(physicalDevice:%p, pMemoryProperties:%p)", physicalDevice, pMemoryProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -745,6 +755,7 @@
const char* pName,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetInstanceProcAddr(instance:%p, pName:%p)", instance, pName);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -799,6 +810,7 @@
const char* pName,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceProcAddr(device:%p, pName:%p)", device, pName);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -855,6 +867,7 @@
VkDevice* pDevice,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateDevice(physicalDevice:%p, pCreateInfo:%p, pAllocator:%p, pDevice:%p)", physicalDevice, pCreateInfo, pAllocator, pDevice);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -951,6 +964,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyDevice(device:%p, pAllocator:%p)", device, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -1021,6 +1035,7 @@
VkExtensionProperties* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkEnumerateInstanceExtensionProperties(pLayerName:%p, pPropertyCount:%p, pProperties:%p)", pLayerName, pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -1181,6 +1196,7 @@
VkExtensionProperties* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkEnumerateDeviceExtensionProperties(physicalDevice:%p, pLayerName:%p, pPropertyCount:%p, pProperties:%p)", physicalDevice, pLayerName, pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -1347,6 +1363,7 @@
VkLayerProperties* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkEnumerateInstanceLayerProperties(pPropertyCount:%p, pProperties:%p)", pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -1460,6 +1477,7 @@
VkLayerProperties* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkEnumerateDeviceLayerProperties(physicalDevice:%p, pPropertyCount:%p, pProperties:%p)", physicalDevice, pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -1582,6 +1600,7 @@
VkQueue* pQueue,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceQueue(device:%p, queueFamilyIndex:%d, queueIndex:%d, pQueue:%p)", device, queueFamilyIndex, queueIndex, pQueue);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -1647,6 +1666,7 @@
VkFence fence,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueSubmit(queue:%p, submitCount:%d, pSubmits:%p, fence:%p)", queue, submitCount, pSubmits, fence);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -1726,6 +1746,7 @@
VkQueue queue,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueWaitIdle(queue:%p)", queue);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -1767,6 +1788,7 @@
VkDevice device,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDeviceWaitIdle(device:%p)", device);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -1811,6 +1833,7 @@
VkDeviceMemory* pMemory,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkAllocateMemory(device:%p, pAllocateInfo:%p, pAllocator:%p, pMemory:%p)", device, pAllocateInfo, pAllocator, pMemory);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -1907,6 +1930,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkFreeMemory(device:%p, memory:%p, pAllocator:%p)", device, memory, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -2191,6 +2215,7 @@
VkDeviceSize* pCommittedMemoryInBytes,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceMemoryCommitment(device:%p, memory:%p, pCommittedMemoryInBytes:%p)", device, memory, pCommittedMemoryInBytes);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -2245,6 +2270,7 @@
VkDeviceSize memoryOffset,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkBindBufferMemory(device:%p, buffer:%p, memory:%p, memoryOffset:%ld)", device, buffer, memory, memoryOffset);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -2311,6 +2337,7 @@
VkDeviceSize memoryOffset,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkBindImageMemory(device:%p, image:%p, memory:%p, memoryOffset:%ld)", device, image, memory, memoryOffset);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -2376,6 +2403,7 @@
VkMemoryRequirements* pMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetBufferMemoryRequirements(device:%p, buffer:%p, pMemoryRequirements:%p)", device, buffer, pMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -2431,6 +2459,7 @@
VkMemoryRequirements* pMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetImageMemoryRequirements(device:%p, image:%p, pMemoryRequirements:%p)", device, image, pMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -2487,6 +2516,7 @@
VkSparseImageMemoryRequirements* pSparseMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetImageSparseMemoryRequirements(device:%p, image:%p, pSparseMemoryRequirementCount:%p, pSparseMemoryRequirements:%p)", device, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -2618,6 +2648,7 @@
VkSparseImageFormatProperties* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceSparseImageFormatProperties(physicalDevice:%p, format:%d, usage:%d, pPropertyCount:%p, pProperties:%p)", physicalDevice, format, usage, pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -2762,6 +2793,7 @@
VkFence fence,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueBindSparse(queue:%p, bindInfoCount:%d, pBindInfo:%p, fence:%p)", queue, bindInfoCount, pBindInfo, fence);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -2844,6 +2876,7 @@
VkFence* pFence,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateFence(device:%p, pCreateInfo:%p, pAllocator:%p, pFence:%p)", device, pCreateInfo, pAllocator, pFence);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -2940,6 +2973,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyFence(device:%p, fence:%p, pAllocator:%p)", device, fence, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3017,6 +3051,7 @@
const VkFence* pFences,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkResetFences(device:%p, fenceCount:%d, pFences:%p)", device, fenceCount, pFences);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3081,6 +3116,7 @@
VkFence fence,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetFenceStatus(device:%p, fence:%p)", device, fence);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3134,6 +3170,7 @@
uint64_t timeout,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkWaitForFences(device:%p, fenceCount:%d, pFences:%p, waitAll:%d, timeout:%ld)", device, fenceCount, pFences, waitAll, timeout);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3210,6 +3247,7 @@
VkSemaphore* pSemaphore,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateSemaphore(device:%p, pCreateInfo:%p, pAllocator:%p, pSemaphore:%p)", device, pCreateInfo, pAllocator, pSemaphore);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3306,6 +3344,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroySemaphore(device:%p, semaphore:%p, pAllocator:%p)", device, semaphore, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3384,6 +3423,7 @@
VkEvent* pEvent,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateEvent(device:%p, pCreateInfo:%p, pAllocator:%p, pEvent:%p)", device, pCreateInfo, pAllocator, pEvent);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3480,6 +3520,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyEvent(device:%p, event:%p, pAllocator:%p)", device, event, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3556,6 +3597,7 @@
VkEvent event,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetEventStatus(device:%p, event:%p)", device, event);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3606,6 +3648,7 @@
VkEvent event,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkSetEvent(device:%p, event:%p)", device, event);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3656,6 +3699,7 @@
VkEvent event,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkResetEvent(device:%p, event:%p)", device, event);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3708,6 +3752,7 @@
VkQueryPool* pQueryPool,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateQueryPool(device:%p, pCreateInfo:%p, pAllocator:%p, pQueryPool:%p)", device, pCreateInfo, pAllocator, pQueryPool);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3804,6 +3849,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyQueryPool(device:%p, queryPool:%p, pAllocator:%p)", device, queryPool, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3886,6 +3932,7 @@
VkQueryResultFlags flags,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetQueryPoolResults(device:%p, queryPool:%p, firstQuery:%d, queryCount:%d, dataSize:%ld, pData:%p, stride:%ld, flags:%d)", device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -3969,6 +4016,7 @@
VkBuffer* pBuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateBuffer(device:%p, pCreateInfo:%p, pAllocator:%p, pBuffer:%p)", device, pCreateInfo, pAllocator, pBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -4065,6 +4113,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyBuffer(device:%p, buffer:%p, pAllocator:%p)", device, buffer, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -4143,6 +4192,7 @@
VkBufferView* pView,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateBufferView(device:%p, pCreateInfo:%p, pAllocator:%p, pView:%p)", device, pCreateInfo, pAllocator, pView);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -4239,6 +4289,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyBufferView(device:%p, bufferView:%p, pAllocator:%p)", device, bufferView, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -4342,6 +4393,7 @@
local_pAllocator = nullptr;
if (local_pCreateInfo)
{
+ sResourceTracker->transformImpl_VkImageCreateInfo_tohost(local_pCreateInfo, 1);
transform_tohost_VkImageCreateInfo(sResourceTracker, (VkImageCreateInfo*)(local_pCreateInfo));
}
if (local_pAllocator)
@@ -4414,6 +4466,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyImage(device:%p, image:%p, pAllocator:%p)", device, image, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -4492,6 +4545,7 @@
VkSubresourceLayout* pLayout,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetImageSubresourceLayout(device:%p, image:%p, pSubresource:%p, pLayout:%p)", device, image, pSubresource, pLayout);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -4561,6 +4615,7 @@
VkImageView* pView,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateImageView(device:%p, pCreateInfo:%p, pAllocator:%p, pView:%p)", device, pCreateInfo, pAllocator, pView);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -4657,6 +4712,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyImageView(device:%p, imageView:%p, pAllocator:%p)", device, imageView, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -4735,6 +4791,7 @@
VkShaderModule* pShaderModule,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateShaderModule(device:%p, pCreateInfo:%p, pAllocator:%p, pShaderModule:%p)", device, pCreateInfo, pAllocator, pShaderModule);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -4831,6 +4888,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyShaderModule(device:%p, shaderModule:%p, pAllocator:%p)", device, shaderModule, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -4909,6 +4967,7 @@
VkPipelineCache* pPipelineCache,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreatePipelineCache(device:%p, pCreateInfo:%p, pAllocator:%p, pPipelineCache:%p)", device, pCreateInfo, pAllocator, pPipelineCache);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -5005,6 +5064,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyPipelineCache(device:%p, pipelineCache:%p, pAllocator:%p)", device, pipelineCache, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -5083,6 +5143,7 @@
void* pData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPipelineCacheData(device:%p, pipelineCache:%p, pDataSize:%p, pData:%p)", device, pipelineCache, pDataSize, pData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -5194,6 +5255,7 @@
const VkPipelineCache* pSrcCaches,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkMergePipelineCaches(device:%p, dstCache:%p, srcCacheCount:%d, pSrcCaches:%p)", device, dstCache, srcCacheCount, pSrcCaches);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -5270,6 +5332,7 @@
VkPipeline* pPipelines,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateGraphicsPipelines(device:%p, pipelineCache:%p, createInfoCount:%d, pCreateInfos:%p, pAllocator:%p, pPipelines:%p)", device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -5406,6 +5469,7 @@
VkPipeline* pPipelines,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateComputePipelines(device:%p, pipelineCache:%p, createInfoCount:%d, pCreateInfos:%p, pAllocator:%p, pPipelines:%p)", device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -5539,6 +5603,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyPipeline(device:%p, pipeline:%p, pAllocator:%p)", device, pipeline, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -5617,6 +5682,7 @@
VkPipelineLayout* pPipelineLayout,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreatePipelineLayout(device:%p, pCreateInfo:%p, pAllocator:%p, pPipelineLayout:%p)", device, pCreateInfo, pAllocator, pPipelineLayout);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -5713,6 +5779,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyPipelineLayout(device:%p, pipelineLayout:%p, pAllocator:%p)", device, pipelineLayout, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -5791,6 +5858,7 @@
VkSampler* pSampler,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateSampler(device:%p, pCreateInfo:%p, pAllocator:%p, pSampler:%p)", device, pCreateInfo, pAllocator, pSampler);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -5887,6 +5955,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroySampler(device:%p, sampler:%p, pAllocator:%p)", device, sampler, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -5965,6 +6034,7 @@
VkDescriptorSetLayout* pSetLayout,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateDescriptorSetLayout(device:%p, pCreateInfo:%p, pAllocator:%p, pSetLayout:%p)", device, pCreateInfo, pAllocator, pSetLayout);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -6061,6 +6131,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyDescriptorSetLayout(device:%p, descriptorSetLayout:%p, pAllocator:%p)", device, descriptorSetLayout, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -6139,6 +6210,7 @@
VkDescriptorPool* pDescriptorPool,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateDescriptorPool(device:%p, pCreateInfo:%p, pAllocator:%p, pDescriptorPool:%p)", device, pCreateInfo, pAllocator, pDescriptorPool);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -6235,6 +6307,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyDescriptorPool(device:%p, descriptorPool:%p, pAllocator:%p)", device, descriptorPool, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -6312,6 +6385,7 @@
VkDescriptorPoolResetFlags flags,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkResetDescriptorPool(device:%p, descriptorPool:%p, flags:%d)", device, descriptorPool, flags);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -6368,6 +6442,7 @@
VkDescriptorSet* pDescriptorSets,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkAllocateDescriptorSets(device:%p, pAllocateInfo:%p, pDescriptorSets:%p)", device, pAllocateInfo, pDescriptorSets);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -6450,6 +6525,7 @@
const VkDescriptorSet* pDescriptorSets,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkFreeDescriptorSets(device:%p, descriptorPool:%p, descriptorSetCount:%d, pDescriptorSets:%p)", device, descriptorPool, descriptorSetCount, pDescriptorSets);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -6542,6 +6618,7 @@
const VkCopyDescriptorSet* pDescriptorCopies,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkUpdateDescriptorSets(device:%p, descriptorWriteCount:%d, pDescriptorWrites:%p, descriptorCopyCount:%d, pDescriptorCopies:%p)", device, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -6644,6 +6721,7 @@
VkFramebuffer* pFramebuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateFramebuffer(device:%p, pCreateInfo:%p, pAllocator:%p, pFramebuffer:%p)", device, pCreateInfo, pAllocator, pFramebuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -6740,6 +6818,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyFramebuffer(device:%p, framebuffer:%p, pAllocator:%p)", device, framebuffer, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -6818,6 +6897,7 @@
VkRenderPass* pRenderPass,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateRenderPass(device:%p, pCreateInfo:%p, pAllocator:%p, pRenderPass:%p)", device, pCreateInfo, pAllocator, pRenderPass);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -6914,6 +6994,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyRenderPass(device:%p, renderPass:%p, pAllocator:%p)", device, renderPass, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -6991,6 +7072,7 @@
VkExtent2D* pGranularity,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetRenderAreaGranularity(device:%p, renderPass:%p, pGranularity:%p)", device, renderPass, pGranularity);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7047,6 +7129,7 @@
VkCommandPool* pCommandPool,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateCommandPool(device:%p, pCreateInfo:%p, pAllocator:%p, pCommandPool:%p)", device, pCreateInfo, pAllocator, pCommandPool);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7143,6 +7226,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyCommandPool(device:%p, commandPool:%p, pAllocator:%p)", device, commandPool, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7220,6 +7304,7 @@
VkCommandPoolResetFlags flags,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkResetCommandPool(device:%p, commandPool:%p, flags:%d)", device, commandPool, flags);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7276,6 +7361,7 @@
VkCommandBuffer* pCommandBuffers,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkAllocateCommandBuffers(device:%p, pAllocateInfo:%p, pCommandBuffers:%p)", device, pAllocateInfo, pCommandBuffers);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7358,6 +7444,7 @@
const VkCommandBuffer* pCommandBuffers,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkFreeCommandBuffers(device:%p, commandPool:%p, commandBufferCount:%d, pCommandBuffers:%p)", device, commandPool, commandBufferCount, pCommandBuffers);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7445,6 +7532,7 @@
const VkCommandBufferBeginInfo* pBeginInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkBeginCommandBuffer(commandBuffer:%p, pBeginInfo:%p)", commandBuffer, pBeginInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7501,6 +7589,7 @@
VkCommandBuffer commandBuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkEndCommandBuffer(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7545,6 +7634,7 @@
VkCommandBufferResetFlags flags,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkResetCommandBuffer(commandBuffer:%p, flags:%d)", commandBuffer, flags);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7595,6 +7685,7 @@
VkPipeline pipeline,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBindPipeline(commandBuffer:%p, pipeline:%p)", commandBuffer, pipeline);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7651,6 +7742,7 @@
const VkViewport* pViewports,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetViewport(commandBuffer:%p, firstViewport:%d, viewportCount:%d, pViewports:%p)", commandBuffer, firstViewport, viewportCount, pViewports);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7729,6 +7821,7 @@
const VkRect2D* pScissors,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetScissor(commandBuffer:%p, firstScissor:%d, scissorCount:%d, pScissors:%p)", commandBuffer, firstScissor, scissorCount, pScissors);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7805,6 +7898,7 @@
float lineWidth,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetLineWidth(commandBuffer:%p, lineWidth:%f)", commandBuffer, lineWidth);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7853,6 +7947,7 @@
float depthBiasSlopeFactor,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetDepthBias(commandBuffer:%p, depthBiasConstantFactor:%f, depthBiasClamp:%f, depthBiasSlopeFactor:%f)", commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7909,6 +8004,7 @@
const float blendConstants[4],
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetBlendConstants(commandBuffer:%p, blendConstants:%f)", commandBuffer, blendConstants);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -7956,6 +8052,7 @@
float maxDepthBounds,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetDepthBounds(commandBuffer:%p, minDepthBounds:%f, maxDepthBounds:%f)", commandBuffer, minDepthBounds, maxDepthBounds);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8008,6 +8105,7 @@
uint32_t compareMask,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetStencilCompareMask(commandBuffer:%p, faceMask:%d, compareMask:%d)", commandBuffer, faceMask, compareMask);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8060,6 +8158,7 @@
uint32_t writeMask,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetStencilWriteMask(commandBuffer:%p, faceMask:%d, writeMask:%d)", commandBuffer, faceMask, writeMask);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8112,6 +8211,7 @@
uint32_t reference,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetStencilReference(commandBuffer:%p, faceMask:%d, reference:%d)", commandBuffer, faceMask, reference);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8169,6 +8269,7 @@
const uint32_t* pDynamicOffsets,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBindDescriptorSets(commandBuffer:%p, layout:%p, firstSet:%d, descriptorSetCount:%d, pDescriptorSets:%p, dynamicOffsetCount:%d, pDynamicOffsets:%p)", commandBuffer, layout, firstSet, descriptorSetCount, pDescriptorSets, dynamicOffsetCount, pDynamicOffsets);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8263,6 +8364,7 @@
VkIndexType indexType,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBindIndexBuffer(commandBuffer:%p, buffer:%p, offset:%ld)", commandBuffer, buffer, offset);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8325,6 +8427,7 @@
const VkDeviceSize* pOffsets,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBindVertexBuffers(commandBuffer:%p, firstBinding:%d, bindingCount:%d, pBuffers:%p, pOffsets:%p)", commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8402,6 +8505,7 @@
uint32_t firstInstance,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDraw(commandBuffer:%p, vertexCount:%d, instanceCount:%d, firstVertex:%d, firstInstance:%d)", commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8467,6 +8571,7 @@
uint32_t firstInstance,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawIndexed(commandBuffer:%p, indexCount:%d, instanceCount:%d, firstIndex:%d, vertexOffset:%d, firstInstance:%d)", commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8536,6 +8641,7 @@
uint32_t stride,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawIndirect(commandBuffer:%p, buffer:%p, offset:%ld, drawCount:%d, stride:%d)", commandBuffer, buffer, offset, drawCount, stride);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8603,6 +8709,7 @@
uint32_t stride,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawIndexedIndirect(commandBuffer:%p, buffer:%p, offset:%ld, drawCount:%d, stride:%d)", commandBuffer, buffer, offset, drawCount, stride);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8669,6 +8776,7 @@
uint32_t groupCountZ,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDispatch(commandBuffer:%p, groupCountX:%d, groupCountY:%d, groupCountZ:%d)", commandBuffer, groupCountX, groupCountY, groupCountZ);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8726,6 +8834,7 @@
VkDeviceSize offset,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDispatchIndirect(commandBuffer:%p, buffer:%p, offset:%ld)", commandBuffer, buffer, offset);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8783,6 +8892,7 @@
const VkBufferCopy* pRegions,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCopyBuffer(commandBuffer:%p, srcBuffer:%p, dstBuffer:%p, regionCount:%d, pRegions:%p)", commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8875,6 +8985,7 @@
const VkImageCopy* pRegions,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCopyImage(commandBuffer:%p, srcImage:%p, srcImageLayout:%d, dstImage:%p, dstImageLayout:%d, regionCount:%d, pRegions:%p)", commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -8978,6 +9089,7 @@
VkFilter filter,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBlitImage(commandBuffer:%p, srcImage:%p, srcImageLayout:%d, dstImage:%p, dstImageLayout:%d, regionCount:%d, pRegions:%p)", commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -9084,6 +9196,7 @@
const VkBufferImageCopy* pRegions,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCopyBufferToImage(commandBuffer:%p, srcBuffer:%p, dstImage:%p, dstImageLayout:%d, regionCount:%d, pRegions:%p)", commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -9180,6 +9293,7 @@
const VkBufferImageCopy* pRegions,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCopyImageToBuffer(commandBuffer:%p, srcImage:%p, srcImageLayout:%d, dstBuffer:%p, regionCount:%d, pRegions:%p)", commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -9275,6 +9389,7 @@
const void* pData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdUpdateBuffer(commandBuffer:%p, dstBuffer:%p, dstOffset:%ld, dataSize:%ld, pData:%p)", commandBuffer, dstBuffer, dstOffset, dataSize, pData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -9343,6 +9458,7 @@
uint32_t data,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdFillBuffer(commandBuffer:%p, dstBuffer:%p, dstOffset:%ld, size:%ld, data:%d)", commandBuffer, dstBuffer, dstOffset, size, data);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -9411,6 +9527,7 @@
const VkImageSubresourceRange* pRanges,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdClearColorImage(commandBuffer:%p, image:%p, imageLayout:%d, pColor:%p, rangeCount:%d, pRanges:%p)", commandBuffer, image, imageLayout, pColor, rangeCount, pRanges);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -9512,6 +9629,7 @@
const VkImageSubresourceRange* pRanges,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdClearDepthStencilImage(commandBuffer:%p, image:%p, imageLayout:%d, pDepthStencil:%p, rangeCount:%d, pRanges:%p)", commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -9612,6 +9730,7 @@
const VkClearRect* pRects,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdClearAttachments(commandBuffer:%p, attachmentCount:%d, pAttachments:%p, rectCount:%d, pRects:%p)", commandBuffer, attachmentCount, pAttachments, rectCount, pRects);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -9718,6 +9837,7 @@
const VkImageResolve* pRegions,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdResolveImage(commandBuffer:%p, srcImage:%p, srcImageLayout:%d, dstImage:%p, dstImageLayout:%d, regionCount:%d, pRegions:%p)", commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -9816,6 +9936,7 @@
VkPipelineStageFlags stageMask,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetEvent(commandBuffer:%p, event:%p, stageMask:%d)", commandBuffer, event, stageMask);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -9871,6 +9992,7 @@
VkPipelineStageFlags stageMask,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdResetEvent(commandBuffer:%p, event:%p, stageMask:%d)", commandBuffer, event, stageMask);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -9934,6 +10056,7 @@
const VkImageMemoryBarrier* pImageMemoryBarriers,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdWaitEvents(commandBuffer:%p, eventCount:%d, pEvents:%p, srcStageMask:%d, dstStageMask:%d, memoryBarrierCount:%d, pMemoryBarriers:%p, bufferMemoryBarrierCount:%d, pBufferMemoryBarriers:%p, imageMemoryBarrierCount:%d, pImageMemoryBarriers:%p)", commandBuffer, eventCount, pEvents, srcStageMask, dstStageMask, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10105,6 +10228,7 @@
const VkImageMemoryBarrier* pImageMemoryBarriers,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdPipelineBarrier(commandBuffer:%p, srcStageMask:%d, dstStageMask:%d, dependencyFlags:%d, memoryBarrierCount:%d, pMemoryBarriers:%p, bufferMemoryBarrierCount:%d, pBufferMemoryBarriers:%p, imageMemoryBarrierCount:%d, pImageMemoryBarriers:%p)", commandBuffer, srcStageMask, dstStageMask, dependencyFlags, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10253,6 +10377,7 @@
VkQueryControlFlags flags,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBeginQuery(commandBuffer:%p, queryPool:%p, query:%d, flags:%d)", commandBuffer, queryPool, query, flags);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10313,6 +10438,7 @@
uint32_t query,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdEndQuery(commandBuffer:%p, queryPool:%p, query:%d)", commandBuffer, queryPool, query);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10369,6 +10495,7 @@
uint32_t queryCount,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdResetQueryPool(commandBuffer:%p, queryPool:%p, firstQuery:%d, queryCount:%d)", commandBuffer, queryPool, firstQuery, queryCount);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10430,6 +10557,7 @@
uint32_t query,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdWriteTimestamp(commandBuffer:%p, queryPool:%p, query:%d)", commandBuffer, queryPool, query);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10495,6 +10623,7 @@
VkQueryResultFlags flags,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCopyQueryPoolResults(commandBuffer:%p, queryPool:%p, firstQuery:%d, queryCount:%d, dstBuffer:%p, dstOffset:%ld, stride:%ld, flags:%d)", commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10581,6 +10710,7 @@
const void* pValues,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdPushConstants(commandBuffer:%p, layout:%p, stageFlags:%d, offset:%d, size:%d, pValues:%p)", commandBuffer, layout, stageFlags, offset, size, pValues);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10652,6 +10782,7 @@
VkSubpassContents contents,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBeginRenderPass(commandBuffer:%p, pRenderPassBegin:%p)", commandBuffer, pRenderPassBegin);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10711,6 +10842,7 @@
VkSubpassContents contents,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdNextSubpass(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10756,6 +10888,7 @@
VkCommandBuffer commandBuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdEndRenderPass(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10798,6 +10931,7 @@
const VkCommandBuffer* pCommandBuffers,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdExecuteCommands(commandBuffer:%p, commandBufferCount:%d, pCommandBuffers:%p)", commandBuffer, commandBufferCount, pCommandBuffers);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10862,6 +10996,7 @@
uint32_t* pApiVersion,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkEnumerateInstanceVersion(pApiVersion:%p)", pApiVersion);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10901,6 +11036,7 @@
const VkBindBufferMemoryInfo* pBindInfos,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkBindBufferMemory2(device:%p, bindInfoCount:%d, pBindInfos:%p)", device, bindInfoCount, pBindInfos);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -10974,6 +11110,7 @@
const VkBindImageMemoryInfo* pBindInfos,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkBindImageMemory2(device:%p, bindInfoCount:%d, pBindInfos:%p)", device, bindInfoCount, pBindInfos);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11049,6 +11186,7 @@
VkPeerMemoryFeatureFlags* pPeerMemoryFeatures,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceGroupPeerMemoryFeatures(device:%p, heapIndex:%d, localDeviceIndex:%d, remoteDeviceIndex:%d, pPeerMemoryFeatures:%p)", device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11107,6 +11245,7 @@
uint32_t deviceMask,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetDeviceMask(commandBuffer:%p, deviceMask:%d)", commandBuffer, deviceMask);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11158,6 +11297,7 @@
uint32_t groupCountZ,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDispatchBase(commandBuffer:%p, baseGroupX:%d, baseGroupY:%d, baseGroupZ:%d, groupCountX:%d, groupCountY:%d, groupCountZ:%d)", commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11230,6 +11370,7 @@
VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkEnumeratePhysicalDeviceGroups(instance:%p, pPhysicalDeviceGroupCount:%p, pPhysicalDeviceGroupProperties:%p)", instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11351,6 +11492,7 @@
VkMemoryRequirements2* pMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetImageMemoryRequirements2(device:%p, pInfo:%p, pMemoryRequirements:%p)", device, pInfo, pMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11411,6 +11553,7 @@
VkMemoryRequirements2* pMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetBufferMemoryRequirements2(device:%p, pInfo:%p, pMemoryRequirements:%p)", device, pInfo, pMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11472,6 +11615,7 @@
VkSparseImageMemoryRequirements2* pSparseMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetImageSparseMemoryRequirements2(device:%p, pInfo:%p, pSparseMemoryRequirementCount:%p, pSparseMemoryRequirements:%p)", device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11602,6 +11746,7 @@
VkPhysicalDeviceFeatures2* pFeatures,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceFeatures2(physicalDevice:%p, pFeatures:%p)", physicalDevice, pFeatures);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11649,6 +11794,7 @@
VkPhysicalDeviceProperties2* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceProperties2(physicalDevice:%p, pProperties:%p)", physicalDevice, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11697,6 +11843,7 @@
VkFormatProperties2* pFormatProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceFormatProperties2(physicalDevice:%p, format:%d, pFormatProperties:%p)", physicalDevice, format, pFormatProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11749,6 +11896,7 @@
VkImageFormatProperties2* pImageFormatProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceImageFormatProperties2(physicalDevice:%p, pImageFormatInfo:%p, pImageFormatProperties:%p)", physicalDevice, pImageFormatInfo, pImageFormatProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11812,6 +11960,7 @@
VkQueueFamilyProperties2* pQueueFamilyProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceQueueFamilyProperties2(physicalDevice:%p, pQueueFamilyPropertyCount:%p, pQueueFamilyProperties:%p)", physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11929,6 +12078,7 @@
VkPhysicalDeviceMemoryProperties2* pMemoryProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceMemoryProperties2(physicalDevice:%p, pMemoryProperties:%p)", physicalDevice, pMemoryProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -11978,6 +12128,7 @@
VkSparseImageFormatProperties2* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceSparseImageFormatProperties2(physicalDevice:%p, pFormatInfo:%p, pPropertyCount:%p, pProperties:%p)", physicalDevice, pFormatInfo, pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -12109,6 +12260,7 @@
VkCommandPoolTrimFlags flags,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkTrimCommandPool(device:%p, commandPool:%p, flags:%d)", device, commandPool, flags);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -12163,6 +12315,7 @@
VkQueue* pQueue,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceQueue2(device:%p, pQueueInfo:%p, pQueue:%p)", device, pQueueInfo, pQueue);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -12229,6 +12382,7 @@
VkSamplerYcbcrConversion* pYcbcrConversion,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateSamplerYcbcrConversion(device:%p, pCreateInfo:%p, pAllocator:%p, pYcbcrConversion:%p)", device, pCreateInfo, pAllocator, pYcbcrConversion);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -12325,6 +12479,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroySamplerYcbcrConversion(device:%p, ycbcrConversion:%p, pAllocator:%p)", device, ycbcrConversion, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -12403,6 +12558,7 @@
VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateDescriptorUpdateTemplate(device:%p, pCreateInfo:%p, pAllocator:%p, pDescriptorUpdateTemplate:%p)", device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -12500,6 +12656,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyDescriptorUpdateTemplate(device:%p, descriptorUpdateTemplate:%p, pAllocator:%p)", device, descriptorUpdateTemplate, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -12578,6 +12735,7 @@
const void* pData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkUpdateDescriptorSetWithTemplate(device:%p, descriptorSet:%p, descriptorUpdateTemplate:%p, pData:%p)", device, descriptorSet, descriptorUpdateTemplate, pData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -12654,6 +12812,7 @@
VkExternalBufferProperties* pExternalBufferProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceExternalBufferProperties(physicalDevice:%p, pExternalBufferInfo:%p, pExternalBufferProperties:%p)", physicalDevice, pExternalBufferInfo, pExternalBufferProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -12716,6 +12875,7 @@
VkExternalFenceProperties* pExternalFenceProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceExternalFenceProperties(physicalDevice:%p, pExternalFenceInfo:%p, pExternalFenceProperties:%p)", physicalDevice, pExternalFenceInfo, pExternalFenceProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -12776,6 +12936,7 @@
VkExternalSemaphoreProperties* pExternalSemaphoreProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceExternalSemaphoreProperties(physicalDevice:%p, pExternalSemaphoreInfo:%p, pExternalSemaphoreProperties:%p)", physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -12837,6 +12998,7 @@
VkDescriptorSetLayoutSupport* pSupport,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDescriptorSetLayoutSupport(device:%p, pCreateInfo:%p, pSupport:%p)", device, pCreateInfo, pSupport);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -12903,6 +13065,7 @@
uint32_t stride,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawIndirectCount(commandBuffer:%p, buffer:%p, offset:%ld, countBuffer:%p, countBufferOffset:%ld, maxDrawCount:%d, stride:%d)", commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -12985,6 +13148,7 @@
uint32_t stride,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawIndexedIndirectCount(commandBuffer:%p, buffer:%p, offset:%ld, countBuffer:%p, countBufferOffset:%ld, maxDrawCount:%d, stride:%d)", commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13064,6 +13228,7 @@
VkRenderPass* pRenderPass,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateRenderPass2(device:%p, pCreateInfo:%p, pAllocator:%p, pRenderPass:%p)", device, pCreateInfo, pAllocator, pRenderPass);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13158,6 +13323,7 @@
const VkSubpassBeginInfo* pSubpassBeginInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBeginRenderPass2(commandBuffer:%p, pRenderPassBegin:%p, pSubpassBeginInfo:%p)", commandBuffer, pRenderPassBegin, pSubpassBeginInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13226,6 +13392,7 @@
const VkSubpassEndInfo* pSubpassEndInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdNextSubpass2(commandBuffer:%p, pSubpassBeginInfo:%p, pSubpassEndInfo:%p)", commandBuffer, pSubpassBeginInfo, pSubpassEndInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13293,6 +13460,7 @@
const VkSubpassEndInfo* pSubpassEndInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdEndRenderPass2(commandBuffer:%p, pSubpassEndInfo:%p)", commandBuffer, pSubpassEndInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13349,6 +13517,7 @@
uint32_t queryCount,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkResetQueryPool(device:%p, queryPool:%p, firstQuery:%d, queryCount:%d)", device, queryPool, firstQuery, queryCount);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13408,6 +13577,7 @@
uint64_t* pValue,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetSemaphoreCounterValue(device:%p, semaphore:%p, pValue:%p)", device, semaphore, pValue);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13463,6 +13633,7 @@
uint64_t timeout,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkWaitSemaphores(device:%p, pWaitInfo:%p, timeout:%ld)", device, pWaitInfo, timeout);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13523,6 +13694,7 @@
const VkSemaphoreSignalInfo* pSignalInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkSignalSemaphore(device:%p, pSignalInfo:%p)", device, pSignalInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13578,6 +13750,7 @@
const VkBufferDeviceAddressInfo* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetBufferDeviceAddress(device:%p, pInfo:%p)", device, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13633,6 +13806,7 @@
const VkBufferDeviceAddressInfo* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetBufferOpaqueCaptureAddress(device:%p, pInfo:%p)", device, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13688,6 +13862,7 @@
const VkDeviceMemoryOpaqueCaptureAddressInfo* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceMemoryOpaqueCaptureAddress(device:%p, pInfo:%p)", device, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13746,6 +13921,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroySurfaceKHR(instance:%p, surface:%p, pAllocator:%p)", instance, surface, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13824,6 +14000,7 @@
VkBool32* pSupported,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceSurfaceSupportKHR(physicalDevice:%p, queueFamilyIndex:%d, surface:%p, pSupported:%p)", physicalDevice, queueFamilyIndex, surface, pSupported);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13884,6 +14061,7 @@
VkSurfaceCapabilitiesKHR* pSurfaceCapabilities,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice:%p, surface:%p, pSurfaceCapabilities:%p)", physicalDevice, surface, pSurfaceCapabilities);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -13943,6 +14121,7 @@
VkSurfaceFormatKHR* pSurfaceFormats,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice:%p, surface:%p, pSurfaceFormatCount:%p, pSurfaceFormats:%p)", physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -14073,6 +14252,7 @@
VkPresentModeKHR* pPresentModes,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceSurfacePresentModesKHR(physicalDevice:%p, surface:%p, pPresentModeCount:%p, pPresentModes:%p)", physicalDevice, surface, pPresentModeCount, pPresentModes);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -14184,6 +14364,7 @@
VkSwapchainKHR* pSwapchain,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateSwapchainKHR(device:%p, pCreateInfo:%p, pAllocator:%p, pSwapchain:%p)", device, pCreateInfo, pAllocator, pSwapchain);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -14280,6 +14461,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroySwapchainKHR(device:%p, swapchain:%p, pAllocator:%p)", device, swapchain, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -14358,6 +14540,7 @@
VkImage* pSwapchainImages,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetSwapchainImagesKHR(device:%p, swapchain:%p, pSwapchainImageCount:%p, pSwapchainImages:%p)", device, swapchain, pSwapchainImageCount, pSwapchainImages);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -14488,6 +14671,7 @@
uint32_t* pImageIndex,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkAcquireNextImageKHR(device:%p, swapchain:%p, timeout:%ld, semaphore:%p, fence:%p, pImageIndex:%p)", device, swapchain, timeout, semaphore, fence, pImageIndex);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -14563,6 +14747,7 @@
const VkPresentInfoKHR* pPresentInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueuePresentKHR(queue:%p, pPresentInfo:%p)", queue, pPresentInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -14618,6 +14803,7 @@
VkDeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceGroupPresentCapabilitiesKHR(device:%p, pDeviceGroupPresentCapabilities:%p)", device, pDeviceGroupPresentCapabilities);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -14668,6 +14854,7 @@
VkDeviceGroupPresentModeFlagsKHR* pModes,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceGroupSurfacePresentModesKHR(device:%p, surface:%p, pModes:%p)", device, surface, pModes);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -14747,6 +14934,7 @@
VkRect2D* pRects,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDevicePresentRectanglesKHR(physicalDevice:%p, surface:%p, pRectCount:%p, pRects:%p)", physicalDevice, surface, pRectCount, pRects);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -14876,6 +15064,7 @@
uint32_t* pImageIndex,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkAcquireNextImage2KHR(device:%p, pAcquireInfo:%p, pImageIndex:%p)", device, pAcquireInfo, pImageIndex);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -14938,6 +15127,7 @@
VkDisplayPropertiesKHR* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceDisplayPropertiesKHR(physicalDevice:%p, pPropertyCount:%p, pProperties:%p)", physicalDevice, pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -15059,6 +15249,7 @@
VkDisplayPlanePropertiesKHR* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceDisplayPlanePropertiesKHR(physicalDevice:%p, pPropertyCount:%p, pProperties:%p)", physicalDevice, pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -15181,6 +15372,7 @@
VkDisplayKHR* pDisplays,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDisplayPlaneSupportedDisplaysKHR(physicalDevice:%p, planeIndex:%d, pDisplayCount:%p, pDisplays:%p)", physicalDevice, planeIndex, pDisplayCount, pDisplays);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -15306,6 +15498,7 @@
VkDisplayModePropertiesKHR* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDisplayModePropertiesKHR(physicalDevice:%p, display:%p, pPropertyCount:%p, pProperties:%p)", physicalDevice, display, pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -15437,6 +15630,7 @@
VkDisplayModeKHR* pMode,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateDisplayModeKHR(physicalDevice:%p, display:%p, pCreateInfo:%p, pAllocator:%p, pMode:%p)", physicalDevice, display, pCreateInfo, pAllocator, pMode);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -15542,6 +15736,7 @@
VkDisplayPlaneCapabilitiesKHR* pCapabilities,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDisplayPlaneCapabilitiesKHR(physicalDevice:%p, mode:%p, planeIndex:%d, pCapabilities:%p)", physicalDevice, mode, planeIndex, pCapabilities);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -15606,6 +15801,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateDisplayPlaneSurfaceKHR(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -15704,6 +15900,7 @@
VkSwapchainKHR* pSwapchains,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateSharedSwapchainsKHR(device:%p, swapchainCount:%d, pCreateInfos:%p, pAllocator:%p, pSwapchains:%p)", device, swapchainCount, pCreateInfos, pAllocator, pSwapchains);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -15830,6 +16027,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateXlibSurfaceKHR(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -15925,6 +16123,7 @@
VisualID visualID,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceXlibPresentationSupportKHR(physicalDevice:%p, queueFamilyIndex:%d, dpy:%p)", physicalDevice, queueFamilyIndex, dpy);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -15985,6 +16184,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateXcbSurfaceKHR(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -16080,6 +16280,7 @@
xcb_visualid_t visual_id,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceXcbPresentationSupportKHR(physicalDevice:%p, queueFamilyIndex:%d, connection:%p)", physicalDevice, queueFamilyIndex, connection);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -16140,6 +16341,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateWaylandSurfaceKHR(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -16234,6 +16436,7 @@
wl_display* display,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceWaylandPresentationSupportKHR(physicalDevice:%p, queueFamilyIndex:%d, display:%p)", physicalDevice, queueFamilyIndex, display);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -16289,6 +16492,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateAndroidSurfaceKHR(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -16386,6 +16590,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateWin32SurfaceKHR(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -16479,6 +16684,7 @@
uint32_t queueFamilyIndex,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceWin32PresentationSupportKHR(physicalDevice:%p, queueFamilyIndex:%d)", physicalDevice, queueFamilyIndex);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -16531,6 +16737,7 @@
VkVideoCapabilitiesKHR* pCapabilities,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceVideoCapabilitiesKHR(physicalDevice:%p, pVideoProfile:%p, pCapabilities:%p)", physicalDevice, pVideoProfile, pCapabilities);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -16595,6 +16802,7 @@
VkVideoFormatPropertiesKHR* pVideoFormatProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceVideoFormatPropertiesKHR(physicalDevice:%p, pVideoFormatInfo:%p, pVideoFormatPropertyCount:%p, pVideoFormatProperties:%p)", physicalDevice, pVideoFormatInfo, pVideoFormatPropertyCount, pVideoFormatProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -16730,6 +16938,7 @@
VkVideoSessionKHR* pVideoSession,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateVideoSessionKHR(device:%p, pCreateInfo:%p, pAllocator:%p, pVideoSession:%p)", device, pCreateInfo, pAllocator, pVideoSession);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -16819,6 +17028,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyVideoSessionKHR(device:%p, pAllocator:%p)", device, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -16895,6 +17105,7 @@
VkVideoGetMemoryPropertiesKHR* pVideoSessionMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetVideoSessionMemoryRequirementsKHR(device:%p, pVideoSessionMemoryRequirementsCount:%p, pVideoSessionMemoryRequirements:%p)", device, pVideoSessionMemoryRequirementsCount, pVideoSessionMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17024,6 +17235,7 @@
const VkVideoBindMemoryKHR* pVideoSessionBindMemories,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkBindVideoSessionMemoryKHR(device:%p, videoSessionBindMemoryCount:%d, pVideoSessionBindMemories:%p)", device, videoSessionBindMemoryCount, pVideoSessionBindMemories);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17105,6 +17317,7 @@
VkVideoSessionParametersKHR* pVideoSessionParameters,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateVideoSessionParametersKHR(device:%p, pCreateInfo:%p, pAllocator:%p, pVideoSessionParameters:%p)", device, pCreateInfo, pAllocator, pVideoSessionParameters);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17194,6 +17407,7 @@
const VkVideoSessionParametersUpdateInfoKHR* pUpdateInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkUpdateVideoSessionParametersKHR(device:%p, pUpdateInfo:%p)", device, pUpdateInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17257,6 +17471,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyVideoSessionParametersKHR(device:%p, pAllocator:%p)", device, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17331,6 +17546,7 @@
const VkVideoBeginCodingInfoKHR* pBeginInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBeginVideoCodingKHR(commandBuffer:%p, pBeginInfo:%p)", commandBuffer, pBeginInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17385,6 +17601,7 @@
const VkVideoEndCodingInfoKHR* pEndCodingInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdEndVideoCodingKHR(commandBuffer:%p, pEndCodingInfo:%p)", commandBuffer, pEndCodingInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17439,6 +17656,7 @@
const VkVideoCodingControlInfoKHR* pCodingControlInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdControlVideoCodingKHR(commandBuffer:%p, pCodingControlInfo:%p)", commandBuffer, pCodingControlInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17495,6 +17713,7 @@
const VkVideoDecodeInfoKHR* pFrameInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDecodeVideoKHR(commandBuffer:%p, pFrameInfo:%p)", commandBuffer, pFrameInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17551,6 +17770,7 @@
const VkRenderingInfoKHR* pRenderingInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBeginRenderingKHR(commandBuffer:%p, pRenderingInfo:%p)", commandBuffer, pRenderingInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17604,6 +17824,7 @@
VkCommandBuffer commandBuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdEndRenderingKHR(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17649,6 +17870,7 @@
VkPhysicalDeviceFeatures2* pFeatures,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceFeatures2KHR(physicalDevice:%p, pFeatures:%p)", physicalDevice, pFeatures);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17696,6 +17918,7 @@
VkPhysicalDeviceProperties2* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceProperties2KHR(physicalDevice:%p, pProperties:%p)", physicalDevice, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17744,6 +17967,7 @@
VkFormatProperties2* pFormatProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceFormatProperties2KHR(physicalDevice:%p, format:%d, pFormatProperties:%p)", physicalDevice, format, pFormatProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17796,6 +18020,7 @@
VkImageFormatProperties2* pImageFormatProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceImageFormatProperties2KHR(physicalDevice:%p, pImageFormatInfo:%p, pImageFormatProperties:%p)", physicalDevice, pImageFormatInfo, pImageFormatProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17859,6 +18084,7 @@
VkQueueFamilyProperties2* pQueueFamilyProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceQueueFamilyProperties2KHR(physicalDevice:%p, pQueueFamilyPropertyCount:%p, pQueueFamilyProperties:%p)", physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -17976,6 +18202,7 @@
VkPhysicalDeviceMemoryProperties2* pMemoryProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceMemoryProperties2KHR(physicalDevice:%p, pMemoryProperties:%p)", physicalDevice, pMemoryProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18025,6 +18252,7 @@
VkSparseImageFormatProperties2* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceSparseImageFormatProperties2KHR(physicalDevice:%p, pFormatInfo:%p, pPropertyCount:%p, pProperties:%p)", physicalDevice, pFormatInfo, pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18160,6 +18388,7 @@
VkPeerMemoryFeatureFlags* pPeerMemoryFeatures,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceGroupPeerMemoryFeaturesKHR(device:%p, heapIndex:%d, localDeviceIndex:%d, remoteDeviceIndex:%d, pPeerMemoryFeatures:%p)", device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18218,6 +18447,7 @@
uint32_t deviceMask,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetDeviceMaskKHR(commandBuffer:%p, deviceMask:%d)", commandBuffer, deviceMask);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18269,6 +18499,7 @@
uint32_t groupCountZ,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDispatchBaseKHR(commandBuffer:%p, baseGroupX:%d, baseGroupY:%d, baseGroupZ:%d, groupCountX:%d, groupCountY:%d, groupCountZ:%d)", commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18345,6 +18576,7 @@
VkCommandPoolTrimFlags flags,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkTrimCommandPoolKHR(device:%p, commandPool:%p, flags:%d)", device, commandPool, flags);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18401,6 +18633,7 @@
VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkEnumeratePhysicalDeviceGroupsKHR(instance:%p, pPhysicalDeviceGroupCount:%p, pPhysicalDeviceGroupProperties:%p)", instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18524,6 +18757,7 @@
VkExternalBufferProperties* pExternalBufferProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceExternalBufferPropertiesKHR(physicalDevice:%p, pExternalBufferInfo:%p, pExternalBufferProperties:%p)", physicalDevice, pExternalBufferInfo, pExternalBufferProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18590,6 +18824,7 @@
HANDLE* pHandle,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMemoryWin32HandleKHR(device:%p, pGetWin32HandleInfo:%p, pHandle:%p)", device, pGetWin32HandleInfo, pHandle);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18651,6 +18886,7 @@
VkMemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMemoryWin32HandlePropertiesKHR(device:%p, pMemoryWin32HandleProperties:%p)", device, pMemoryWin32HandleProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18713,6 +18949,7 @@
int* pFd,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMemoryFdKHR(device:%p, pGetFdInfo:%p, pFd:%p)", device, pGetFdInfo, pFd);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18774,6 +19011,7 @@
VkMemoryFdPropertiesKHR* pMemoryFdProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMemoryFdPropertiesKHR(device:%p, fd:%d, pMemoryFdProperties:%p)", device, fd, pMemoryFdProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18838,6 +19076,7 @@
VkExternalSemaphoreProperties* pExternalSemaphoreProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(physicalDevice:%p, pExternalSemaphoreInfo:%p, pExternalSemaphoreProperties:%p)", physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18902,6 +19141,7 @@
const VkImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkImportSemaphoreWin32HandleKHR(device:%p, pImportSemaphoreWin32HandleInfo:%p)", device, pImportSemaphoreWin32HandleInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -18958,6 +19198,7 @@
HANDLE* pHandle,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetSemaphoreWin32HandleKHR(device:%p, pGetWin32HandleInfo:%p, pHandle:%p)", device, pGetWin32HandleInfo, pHandle);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19019,6 +19260,7 @@
const VkImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkImportSemaphoreFdKHR(device:%p, pImportSemaphoreFdInfo:%p)", device, pImportSemaphoreFdInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19075,6 +19317,7 @@
int* pFd,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetSemaphoreFdKHR(device:%p, pGetFdInfo:%p, pFd:%p)", device, pGetFdInfo, pFd);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19140,6 +19383,7 @@
const VkWriteDescriptorSet* pDescriptorWrites,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdPushDescriptorSetKHR(commandBuffer:%p, layout:%p, set:%d, descriptorWriteCount:%d, pDescriptorWrites:%p)", commandBuffer, layout, set, descriptorWriteCount, pDescriptorWrites);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19232,6 +19476,7 @@
const void* pData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdPushDescriptorSetWithTemplateKHR(commandBuffer:%p, descriptorUpdateTemplate:%p, layout:%p, set:%d, pData:%p)", commandBuffer, descriptorUpdateTemplate, layout, set, pData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19323,6 +19568,7 @@
VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateDescriptorUpdateTemplateKHR(device:%p, pCreateInfo:%p, pAllocator:%p, pDescriptorUpdateTemplate:%p)", device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19420,6 +19666,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyDescriptorUpdateTemplateKHR(device:%p, descriptorUpdateTemplate:%p, pAllocator:%p)", device, descriptorUpdateTemplate, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19498,6 +19745,7 @@
const void* pData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkUpdateDescriptorSetWithTemplateKHR(device:%p, descriptorSet:%p, descriptorUpdateTemplate:%p, pData:%p)", device, descriptorSet, descriptorUpdateTemplate, pData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19579,6 +19827,7 @@
VkRenderPass* pRenderPass,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateRenderPass2KHR(device:%p, pCreateInfo:%p, pAllocator:%p, pRenderPass:%p)", device, pCreateInfo, pAllocator, pRenderPass);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19673,6 +19922,7 @@
const VkSubpassBeginInfo* pSubpassBeginInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBeginRenderPass2KHR(commandBuffer:%p, pRenderPassBegin:%p, pSubpassBeginInfo:%p)", commandBuffer, pRenderPassBegin, pSubpassBeginInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19741,6 +19991,7 @@
const VkSubpassEndInfo* pSubpassEndInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdNextSubpass2KHR(commandBuffer:%p, pSubpassBeginInfo:%p, pSubpassEndInfo:%p)", commandBuffer, pSubpassBeginInfo, pSubpassEndInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19808,6 +20059,7 @@
const VkSubpassEndInfo* pSubpassEndInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdEndRenderPass2KHR(commandBuffer:%p, pSubpassEndInfo:%p)", commandBuffer, pSubpassEndInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19864,6 +20116,7 @@
VkSwapchainKHR swapchain,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetSwapchainStatusKHR(device:%p, swapchain:%p)", device, swapchain);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19917,6 +20170,7 @@
VkExternalFenceProperties* pExternalFenceProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceExternalFencePropertiesKHR(physicalDevice:%p, pExternalFenceInfo:%p, pExternalFenceProperties:%p)", physicalDevice, pExternalFenceInfo, pExternalFenceProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -19980,6 +20234,7 @@
const VkImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkImportFenceWin32HandleKHR(device:%p, pImportFenceWin32HandleInfo:%p)", device, pImportFenceWin32HandleInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -20036,6 +20291,7 @@
HANDLE* pHandle,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetFenceWin32HandleKHR(device:%p, pGetWin32HandleInfo:%p, pHandle:%p)", device, pGetWin32HandleInfo, pHandle);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -20097,6 +20353,7 @@
const VkImportFenceFdInfoKHR* pImportFenceFdInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkImportFenceFdKHR(device:%p, pImportFenceFdInfo:%p)", device, pImportFenceFdInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -20153,6 +20410,7 @@
int* pFd,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetFenceFdKHR(device:%p, pGetFdInfo:%p, pFd:%p)", device, pGetFdInfo, pFd);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -20217,6 +20475,7 @@
VkPerformanceCounterDescriptionKHR* pCounterDescriptions,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR(physicalDevice:%p, queueFamilyIndex:%d, pCounterCount:%p, pCounters:%p, pCounterDescriptions:%p)", physicalDevice, queueFamilyIndex, pCounterCount, pCounters, pCounterDescriptions);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -20394,6 +20653,7 @@
uint32_t* pNumPasses,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR(physicalDevice:%p, pPerformanceQueryCreateInfo:%p, pNumPasses:%p)", physicalDevice, pPerformanceQueryCreateInfo, pNumPasses);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -20450,6 +20710,7 @@
const VkAcquireProfilingLockInfoKHR* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkAcquireProfilingLockKHR(device:%p, pInfo:%p)", device, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -20504,6 +20765,7 @@
VkDevice device,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkReleaseProfilingLockKHR(device:%p)", device);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -20549,6 +20811,7 @@
VkSurfaceCapabilities2KHR* pSurfaceCapabilities,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceSurfaceCapabilities2KHR(physicalDevice:%p, pSurfaceInfo:%p, pSurfaceCapabilities:%p)", physicalDevice, pSurfaceInfo, pSurfaceCapabilities);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -20613,6 +20876,7 @@
VkSurfaceFormat2KHR* pSurfaceFormats,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceSurfaceFormats2KHR(physicalDevice:%p, pSurfaceInfo:%p, pSurfaceFormatCount:%p, pSurfaceFormats:%p)", physicalDevice, pSurfaceInfo, pSurfaceFormatCount, pSurfaceFormats);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -20751,6 +21015,7 @@
VkDisplayProperties2KHR* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceDisplayProperties2KHR(physicalDevice:%p, pPropertyCount:%p, pProperties:%p)", physicalDevice, pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -20872,6 +21137,7 @@
VkDisplayPlaneProperties2KHR* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceDisplayPlaneProperties2KHR(physicalDevice:%p, pPropertyCount:%p, pProperties:%p)", physicalDevice, pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -20994,6 +21260,7 @@
VkDisplayModeProperties2KHR* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDisplayModeProperties2KHR(physicalDevice:%p, display:%p, pPropertyCount:%p, pProperties:%p)", physicalDevice, display, pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -21123,6 +21390,7 @@
VkDisplayPlaneCapabilities2KHR* pCapabilities,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDisplayPlaneCapabilities2KHR(physicalDevice:%p, pDisplayPlaneInfo:%p, pCapabilities:%p)", physicalDevice, pDisplayPlaneInfo, pCapabilities);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -21194,6 +21462,7 @@
VkMemoryRequirements2* pMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetImageMemoryRequirements2KHR(device:%p, pInfo:%p, pMemoryRequirements:%p)", device, pInfo, pMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -21254,6 +21523,7 @@
VkMemoryRequirements2* pMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetBufferMemoryRequirements2KHR(device:%p, pInfo:%p, pMemoryRequirements:%p)", device, pInfo, pMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -21315,6 +21585,7 @@
VkSparseImageMemoryRequirements2* pSparseMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetImageSparseMemoryRequirements2KHR(device:%p, pInfo:%p, pSparseMemoryRequirementCount:%p, pSparseMemoryRequirements:%p)", device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -21451,6 +21722,7 @@
VkSamplerYcbcrConversion* pYcbcrConversion,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateSamplerYcbcrConversionKHR(device:%p, pCreateInfo:%p, pAllocator:%p, pYcbcrConversion:%p)", device, pCreateInfo, pAllocator, pYcbcrConversion);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -21547,6 +21819,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroySamplerYcbcrConversionKHR(device:%p, ycbcrConversion:%p, pAllocator:%p)", device, ycbcrConversion, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -21626,6 +21899,7 @@
const VkBindBufferMemoryInfo* pBindInfos,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkBindBufferMemory2KHR(device:%p, bindInfoCount:%d, pBindInfos:%p)", device, bindInfoCount, pBindInfos);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -21699,6 +21973,7 @@
const VkBindImageMemoryInfo* pBindInfos,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkBindImageMemory2KHR(device:%p, bindInfoCount:%d, pBindInfos:%p)", device, bindInfoCount, pBindInfos);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -21776,6 +22051,7 @@
VkDescriptorSetLayoutSupport* pSupport,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDescriptorSetLayoutSupportKHR(device:%p, pCreateInfo:%p, pSupport:%p)", device, pCreateInfo, pSupport);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -21842,6 +22118,7 @@
uint32_t stride,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawIndirectCountKHR(commandBuffer:%p, buffer:%p, offset:%ld, countBuffer:%p, countBufferOffset:%ld, maxDrawCount:%d, stride:%d)", commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -21924,6 +22201,7 @@
uint32_t stride,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawIndexedIndirectCountKHR(commandBuffer:%p, buffer:%p, offset:%ld, countBuffer:%p, countBufferOffset:%ld, maxDrawCount:%d, stride:%d)", commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22020,6 +22298,7 @@
uint64_t* pValue,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetSemaphoreCounterValueKHR(device:%p, semaphore:%p, pValue:%p)", device, semaphore, pValue);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22075,6 +22354,7 @@
uint64_t timeout,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkWaitSemaphoresKHR(device:%p, pWaitInfo:%p, timeout:%ld)", device, pWaitInfo, timeout);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22135,6 +22415,7 @@
const VkSemaphoreSignalInfo* pSignalInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkSignalSemaphoreKHR(device:%p, pSignalInfo:%p)", device, pSignalInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22197,6 +22478,7 @@
VkPhysicalDeviceFragmentShadingRateKHR* pFragmentShadingRates,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceFragmentShadingRatesKHR(physicalDevice:%p, pFragmentShadingRateCount:%p, pFragmentShadingRates:%p)", physicalDevice, pFragmentShadingRateCount, pFragmentShadingRates);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22318,6 +22600,7 @@
const VkFragmentShadingRateCombinerOpKHR combinerOps[2],
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetFragmentShadingRateKHR(commandBuffer:%p, pFragmentSize:%p)", commandBuffer, pFragmentSize);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22387,6 +22670,7 @@
uint64_t timeout,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkWaitForPresentKHR(device:%p, swapchain:%p, presentId:%ld, timeout:%ld)", device, swapchain, presentId, timeout);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22451,6 +22735,7 @@
const VkBufferDeviceAddressInfo* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetBufferDeviceAddressKHR(device:%p, pInfo:%p)", device, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22506,6 +22791,7 @@
const VkBufferDeviceAddressInfo* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetBufferOpaqueCaptureAddressKHR(device:%p, pInfo:%p)", device, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22561,6 +22847,7 @@
const VkDeviceMemoryOpaqueCaptureAddressInfo* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceMemoryOpaqueCaptureAddressKHR(device:%p, pInfo:%p)", device, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22619,6 +22906,7 @@
VkDeferredOperationKHR* pDeferredOperation,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateDeferredOperationKHR(device:%p, pAllocator:%p, pDeferredOperation:%p)", device, pAllocator, pDeferredOperation);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22695,6 +22983,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyDeferredOperationKHR(device:%p, pAllocator:%p)", device, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22769,6 +23058,7 @@
VkDeferredOperationKHR operation,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeferredOperationMaxConcurrencyKHR(device:%p)", device);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22818,6 +23108,7 @@
VkDeferredOperationKHR operation,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeferredOperationResultKHR(device:%p)", device);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22867,6 +23158,7 @@
VkDeferredOperationKHR operation,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDeferredOperationJoinKHR(device:%p)", device);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -22920,6 +23212,7 @@
VkPipelineExecutablePropertiesKHR* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPipelineExecutablePropertiesKHR(device:%p, pPipelineInfo:%p, pExecutableCount:%p, pProperties:%p)", device, pPipelineInfo, pExecutableCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -23055,6 +23348,7 @@
VkPipelineExecutableStatisticKHR* pStatistics,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPipelineExecutableStatisticsKHR(device:%p, pExecutableInfo:%p, pStatisticCount:%p, pStatistics:%p)", device, pExecutableInfo, pStatisticCount, pStatistics);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -23190,6 +23484,7 @@
VkPipelineExecutableInternalRepresentationKHR* pInternalRepresentations,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPipelineExecutableInternalRepresentationsKHR(device:%p, pExecutableInfo:%p, pInternalRepresentationCount:%p, pInternalRepresentations:%p)", device, pExecutableInfo, pInternalRepresentationCount, pInternalRepresentations);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -23333,6 +23628,7 @@
const VkVideoEncodeInfoKHR* pEncodeInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdEncodeVideoKHR(commandBuffer:%p, pEncodeInfo:%p)", commandBuffer, pEncodeInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -23390,6 +23686,7 @@
const VkDependencyInfoKHR* pDependencyInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetEvent2KHR(commandBuffer:%p, event:%p, pDependencyInfo:%p)", commandBuffer, event, pDependencyInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -23453,6 +23750,7 @@
VkPipelineStageFlags2KHR stageMask,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdResetEvent2KHR(commandBuffer:%p, event:%p)", commandBuffer, event);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -23509,6 +23807,7 @@
const VkDependencyInfoKHR* pDependencyInfos,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdWaitEvents2KHR(commandBuffer:%p, eventCount:%d, pEvents:%p, pDependencyInfos:%p)", commandBuffer, eventCount, pEvents, pDependencyInfos);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -23597,6 +23896,7 @@
const VkDependencyInfoKHR* pDependencyInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdPipelineBarrier2KHR(commandBuffer:%p, pDependencyInfo:%p)", commandBuffer, pDependencyInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -23653,6 +23953,7 @@
uint32_t query,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdWriteTimestamp2KHR(commandBuffer:%p, queryPool:%p, query:%d)", commandBuffer, queryPool, query);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -23714,6 +24015,7 @@
VkFence fence,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueSubmit2KHR(queue:%p, submitCount:%d, pSubmits:%p, fence:%p)", queue, submitCount, pSubmits, fence);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -23797,6 +24099,7 @@
uint32_t marker,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdWriteBufferMarker2AMD(commandBuffer:%p, dstBuffer:%p, dstOffset:%ld, marker:%d)", commandBuffer, dstBuffer, dstOffset, marker);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -23862,6 +24165,7 @@
VkCheckpointData2NV* pCheckpointData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetQueueCheckpointData2NV(queue:%p, pCheckpointDataCount:%p, pCheckpointData:%p)", queue, pCheckpointDataCount, pCheckpointData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -23987,6 +24291,7 @@
const VkCopyBufferInfo2KHR* pCopyBufferInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCopyBuffer2KHR(commandBuffer:%p, pCopyBufferInfo:%p)", commandBuffer, pCopyBufferInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -24041,6 +24346,7 @@
const VkCopyImageInfo2KHR* pCopyImageInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCopyImage2KHR(commandBuffer:%p, pCopyImageInfo:%p)", commandBuffer, pCopyImageInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -24095,6 +24401,7 @@
const VkCopyBufferToImageInfo2KHR* pCopyBufferToImageInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCopyBufferToImage2KHR(commandBuffer:%p, pCopyBufferToImageInfo:%p)", commandBuffer, pCopyBufferToImageInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -24149,6 +24456,7 @@
const VkCopyImageToBufferInfo2KHR* pCopyImageToBufferInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCopyImageToBuffer2KHR(commandBuffer:%p, pCopyImageToBufferInfo:%p)", commandBuffer, pCopyImageToBufferInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -24203,6 +24511,7 @@
const VkBlitImageInfo2KHR* pBlitImageInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBlitImage2KHR(commandBuffer:%p, pBlitImageInfo:%p)", commandBuffer, pBlitImageInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -24257,6 +24566,7 @@
const VkResolveImageInfo2KHR* pResolveImageInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdResolveImage2KHR(commandBuffer:%p, pResolveImageInfo:%p)", commandBuffer, pResolveImageInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -24316,6 +24626,7 @@
VkMemoryRequirements2* pMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceBufferMemoryRequirementsKHR(device:%p, pInfo:%p, pMemoryRequirements:%p)", device, pInfo, pMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -24376,6 +24687,7 @@
VkMemoryRequirements2* pMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceImageMemoryRequirementsKHR(device:%p, pInfo:%p, pMemoryRequirements:%p)", device, pInfo, pMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -24437,6 +24749,7 @@
VkSparseImageMemoryRequirements2* pSparseMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceImageSparseMemoryRequirementsKHR(device:%p, pInfo:%p, pSparseMemoryRequirementCount:%p, pSparseMemoryRequirements:%p)", device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -24571,6 +24884,7 @@
int* grallocUsage,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetSwapchainGrallocUsageANDROID(device:%p, format:%d, imageUsage:%d, grallocUsage:%p)", device, format, imageUsage, grallocUsage);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -24705,6 +25019,7 @@
int* pNativeFenceFd,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueSignalReleaseImageANDROID(queue:%p, waitSemaphoreCount:%d, pWaitSemaphores:%p, image:%p, pNativeFenceFd:%p)", queue, waitSemaphoreCount, pWaitSemaphores, image, pNativeFenceFd);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -24799,6 +25114,7 @@
VkDebugReportCallbackEXT* pCallback,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateDebugReportCallbackEXT(instance:%p, pCreateInfo:%p, pAllocator:%p, pCallback:%p)", instance, pCreateInfo, pAllocator, pCallback);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -24895,6 +25211,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyDebugReportCallbackEXT(instance:%p, callback:%p, pAllocator:%p)", instance, callback, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -24977,6 +25294,7 @@
const char* pMessage,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDebugReportMessageEXT(instance:%p, object:%ld, location:%ld, messageCode:%d, pLayerPrefix:%p, pMessage:%p)", instance, object, location, messageCode, pLayerPrefix, pMessage);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -25082,6 +25400,7 @@
const VkDebugMarkerObjectTagInfoEXT* pTagInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDebugMarkerSetObjectTagEXT(device:%p, pTagInfo:%p)", device, pTagInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -25137,6 +25456,7 @@
const VkDebugMarkerObjectNameInfoEXT* pNameInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDebugMarkerSetObjectNameEXT(device:%p, pNameInfo:%p)", device, pNameInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -25192,6 +25512,7 @@
const VkDebugMarkerMarkerInfoEXT* pMarkerInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDebugMarkerBeginEXT(commandBuffer:%p, pMarkerInfo:%p)", commandBuffer, pMarkerInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -25245,6 +25566,7 @@
VkCommandBuffer commandBuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDebugMarkerEndEXT(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -25286,6 +25608,7 @@
const VkDebugMarkerMarkerInfoEXT* pMarkerInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDebugMarkerInsertEXT(commandBuffer:%p, pMarkerInfo:%p)", commandBuffer, pMarkerInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -25350,6 +25673,7 @@
const VkDeviceSize* pSizes,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBindTransformFeedbackBuffersEXT(commandBuffer:%p, firstBinding:%d, bindingCount:%d, pBuffers:%p, pOffsets:%p, pSizes:%p)", commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -25446,6 +25770,7 @@
const VkDeviceSize* pCounterBufferOffsets,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBeginTransformFeedbackEXT(commandBuffer:%p, firstCounterBuffer:%d, counterBufferCount:%d, pCounterBuffers:%p, pCounterBufferOffsets:%p)", commandBuffer, firstCounterBuffer, counterBufferCount, pCounterBuffers, pCounterBufferOffsets);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -25549,6 +25874,7 @@
const VkDeviceSize* pCounterBufferOffsets,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdEndTransformFeedbackEXT(commandBuffer:%p, firstCounterBuffer:%d, counterBufferCount:%d, pCounterBuffers:%p, pCounterBufferOffsets:%p)", commandBuffer, firstCounterBuffer, counterBufferCount, pCounterBuffers, pCounterBufferOffsets);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -25652,6 +25978,7 @@
uint32_t index,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBeginQueryIndexedEXT(commandBuffer:%p, queryPool:%p, query:%d, flags:%d, index:%d)", commandBuffer, queryPool, query, flags, index);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -25718,6 +26045,7 @@
uint32_t index,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdEndQueryIndexedEXT(commandBuffer:%p, queryPool:%p, query:%d, index:%d)", commandBuffer, queryPool, query, index);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -25782,6 +26110,7 @@
uint32_t vertexStride,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawIndirectByteCountEXT(commandBuffer:%p, instanceCount:%d, firstInstance:%d, counterBuffer:%p, counterBufferOffset:%ld, counterOffset:%d, vertexStride:%d)", commandBuffer, instanceCount, firstInstance, counterBuffer, counterBufferOffset, counterOffset, vertexStride);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -25860,6 +26189,7 @@
VkCuModuleNVX* pModule,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateCuModuleNVX(device:%p, pCreateInfo:%p, pAllocator:%p, pModule:%p)", device, pCreateInfo, pAllocator, pModule);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -25950,6 +26280,7 @@
VkCuFunctionNVX* pFunction,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateCuFunctionNVX(device:%p, pCreateInfo:%p, pAllocator:%p, pFunction:%p)", device, pCreateInfo, pAllocator, pFunction);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -26039,6 +26370,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyCuModuleNVX(device:%p, pAllocator:%p)", device, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -26114,6 +26446,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyCuFunctionNVX(device:%p, pAllocator:%p)", device, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -26188,6 +26521,7 @@
const VkCuLaunchInfoNVX* pLaunchInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCuLaunchKernelNVX(commandBuffer:%p, pLaunchInfo:%p)", commandBuffer, pLaunchInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -26244,6 +26578,7 @@
const VkImageViewHandleInfoNVX* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetImageViewHandleNVX(device:%p, pInfo:%p)", device, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -26300,6 +26635,7 @@
VkImageViewAddressPropertiesNVX* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetImageViewAddressNVX(device:%p, imageView:%p, pProperties:%p)", device, imageView, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -26364,6 +26700,7 @@
uint32_t stride,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawIndirectCountAMD(commandBuffer:%p, buffer:%p, offset:%ld, countBuffer:%p, countBufferOffset:%ld, maxDrawCount:%d, stride:%d)", commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -26446,6 +26783,7 @@
uint32_t stride,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawIndexedIndirectCountAMD(commandBuffer:%p, buffer:%p, offset:%ld, countBuffer:%p, countBufferOffset:%ld, maxDrawCount:%d, stride:%d)", commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -26543,6 +26881,7 @@
void* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetShaderInfoAMD(device:%p, pipeline:%p, pInfoSize:%p, pInfo:%p)", device, pipeline, pInfoSize, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -26668,6 +27007,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateStreamDescriptorSurfaceGGP(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -26773,6 +27113,7 @@
VkExternalImageFormatPropertiesNV* pExternalImageFormatProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceExternalImageFormatPropertiesNV(physicalDevice:%p, format:%d, usage:%d, flags:%d, pExternalImageFormatProperties:%p)", physicalDevice, format, usage, flags, pExternalImageFormatProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -26858,6 +27199,7 @@
HANDLE* pHandle,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMemoryWin32HandleNV(device:%p, memory:%p, pHandle:%p)", device, memory, pHandle);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -26926,6 +27268,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateViSurfaceNN(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27029,6 +27372,7 @@
const VkConditionalRenderingBeginInfoEXT* pConditionalRenderingBegin,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBeginConditionalRenderingEXT(commandBuffer:%p, pConditionalRenderingBegin:%p)", commandBuffer, pConditionalRenderingBegin);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27082,6 +27426,7 @@
VkCommandBuffer commandBuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdEndConditionalRenderingEXT(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27127,6 +27472,7 @@
const VkViewportWScalingNV* pViewportWScalings,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetViewportWScalingNV(commandBuffer:%p, firstViewport:%d, viewportCount:%d, pViewportWScalings:%p)", commandBuffer, firstViewport, viewportCount, pViewportWScalings);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27205,6 +27551,7 @@
VkDisplayKHR display,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkReleaseDisplayEXT(physicalDevice:%p, display:%p)", physicalDevice, display);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27258,6 +27605,7 @@
VkDisplayKHR display,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkAcquireXlibDisplayEXT(physicalDevice:%p, dpy:%p, display:%p)", physicalDevice, dpy, display);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27314,6 +27662,7 @@
VkDisplayKHR* pDisplay,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetRandROutputDisplayEXT(physicalDevice:%p, dpy:%p, pDisplay:%p)", physicalDevice, dpy, pDisplay);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27379,6 +27728,7 @@
VkSurfaceCapabilities2EXT* pSurfaceCapabilities,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceSurfaceCapabilities2EXT(physicalDevice:%p, surface:%p, pSurfaceCapabilities:%p)", physicalDevice, surface, pSurfaceCapabilities);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27439,6 +27789,7 @@
const VkDisplayPowerInfoEXT* pDisplayPowerInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDisplayPowerControlEXT(device:%p, display:%p, pDisplayPowerInfo:%p)", device, display, pDisplayPowerInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27504,6 +27855,7 @@
VkFence* pFence,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkRegisterDeviceEventEXT(device:%p, pDeviceEventInfo:%p, pAllocator:%p, pFence:%p)", device, pDeviceEventInfo, pAllocator, pFence);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27600,6 +27952,7 @@
VkFence* pFence,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkRegisterDisplayEventEXT(device:%p, display:%p, pDisplayEventInfo:%p, pAllocator:%p, pFence:%p)", device, display, pDisplayEventInfo, pAllocator, pFence);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27703,6 +28056,7 @@
uint64_t* pCounterValue,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetSwapchainCounterEXT(device:%p, swapchain:%p, pCounterValue:%p)", device, swapchain, pCounterValue);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27765,6 +28119,7 @@
VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetRefreshCycleDurationGOOGLE(device:%p, swapchain:%p, pDisplayTimingProperties:%p)", device, swapchain, pDisplayTimingProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27824,6 +28179,7 @@
VkPastPresentationTimingGOOGLE* pPresentationTimings,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPastPresentationTimingGOOGLE(device:%p, swapchain:%p, pPresentationTimingCount:%p, pPresentationTimings:%p)", device, swapchain, pPresentationTimingCount, pPresentationTimings);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -27966,6 +28322,7 @@
const VkRect2D* pDiscardRectangles,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetDiscardRectangleEXT(commandBuffer:%p, firstDiscardRectangle:%d, discardRectangleCount:%d, pDiscardRectangles:%p)", commandBuffer, firstDiscardRectangle, discardRectangleCount, pDiscardRectangles);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28052,6 +28409,7 @@
const VkHdrMetadataEXT* pMetadata,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkSetHdrMetadataEXT(device:%p, swapchainCount:%d, pSwapchains:%p, pMetadata:%p)", device, swapchainCount, pSwapchains, pMetadata);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28143,6 +28501,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateIOSSurfaceMVK(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28240,6 +28599,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateMacOSSurfaceMVK(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28335,6 +28695,7 @@
void** pMTLDevice,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMTLDeviceMVK(physicalDevice:%p, pMTLDevice:%p)", physicalDevice, pMTLDevice);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28378,6 +28739,7 @@
void* mtlTexture,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkSetMTLTextureMVK(image:%p, mtlTexture:%p)", image, mtlTexture);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28424,6 +28786,7 @@
void** pMTLTexture,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMTLTextureMVK(image:%p, pMTLTexture:%p)", image, pMTLTexture);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28467,6 +28830,7 @@
void** pMTLBuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMTLBufferMVK(buffer:%p, pMTLBuffer:%p)", buffer, pMTLBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28510,6 +28874,7 @@
void* ioSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkUseIOSurfaceMVK(image:%p, ioSurface:%p)", image, ioSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28556,6 +28921,7 @@
void** pIOSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetIOSurfaceMVK(image:%p, pIOSurface:%p)", image, pIOSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28605,6 +28971,7 @@
const VkDebugUtilsObjectNameInfoEXT* pNameInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkSetDebugUtilsObjectNameEXT(device:%p, pNameInfo:%p)", device, pNameInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28660,6 +29027,7 @@
const VkDebugUtilsObjectTagInfoEXT* pTagInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkSetDebugUtilsObjectTagEXT(device:%p, pTagInfo:%p)", device, pTagInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28715,6 +29083,7 @@
const VkDebugUtilsLabelEXT* pLabelInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueBeginDebugUtilsLabelEXT(queue:%p, pLabelInfo:%p)", queue, pLabelInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28767,6 +29136,7 @@
VkQueue queue,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueEndDebugUtilsLabelEXT(queue:%p)", queue);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28807,6 +29177,7 @@
const VkDebugUtilsLabelEXT* pLabelInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueInsertDebugUtilsLabelEXT(queue:%p, pLabelInfo:%p)", queue, pLabelInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28860,6 +29231,7 @@
const VkDebugUtilsLabelEXT* pLabelInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBeginDebugUtilsLabelEXT(commandBuffer:%p, pLabelInfo:%p)", commandBuffer, pLabelInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28913,6 +29285,7 @@
VkCommandBuffer commandBuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdEndDebugUtilsLabelEXT(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -28954,6 +29327,7 @@
const VkDebugUtilsLabelEXT* pLabelInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdInsertDebugUtilsLabelEXT(commandBuffer:%p, pLabelInfo:%p)", commandBuffer, pLabelInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29010,6 +29384,7 @@
VkDebugUtilsMessengerEXT* pMessenger,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateDebugUtilsMessengerEXT(instance:%p, pCreateInfo:%p, pAllocator:%p, pMessenger:%p)", instance, pCreateInfo, pAllocator, pMessenger);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29106,6 +29481,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyDebugUtilsMessengerEXT(instance:%p, messenger:%p, pAllocator:%p)", instance, messenger, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29184,6 +29560,7 @@
const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkSubmitDebugUtilsMessageEXT(instance:%p, pCallbackData:%p)", instance, pCallbackData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29250,6 +29627,7 @@
VkAndroidHardwareBufferPropertiesANDROID* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetAndroidHardwareBufferPropertiesANDROID(device:%p, buffer:%p, pProperties:%p)", device, buffer, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29306,6 +29684,7 @@
AHardwareBuffer** pBuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMemoryAndroidHardwareBufferANDROID(device:%p, pInfo:%p, pBuffer:%p)", device, pInfo, pBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29379,6 +29758,7 @@
const VkSampleLocationsInfoEXT* pSampleLocationsInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetSampleLocationsEXT(commandBuffer:%p, pSampleLocationsInfo:%p)", commandBuffer, pSampleLocationsInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29434,6 +29814,7 @@
VkMultisamplePropertiesEXT* pMultisampleProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceMultisamplePropertiesEXT(physicalDevice:%p, pMultisampleProperties:%p)", physicalDevice, pMultisampleProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29500,6 +29881,7 @@
VkImageDrmFormatModifierPropertiesEXT* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetImageDrmFormatModifierPropertiesEXT(device:%p, image:%p, pProperties:%p)", device, image, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29561,6 +29943,7 @@
VkValidationCacheEXT* pValidationCache,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateValidationCacheEXT(device:%p, pCreateInfo:%p, pAllocator:%p, pValidationCache:%p)", device, pCreateInfo, pAllocator, pValidationCache);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29657,6 +30040,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyValidationCacheEXT(device:%p, validationCache:%p, pAllocator:%p)", device, validationCache, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29735,6 +30119,7 @@
const VkValidationCacheEXT* pSrcCaches,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkMergeValidationCachesEXT(device:%p, dstCache:%p, srcCacheCount:%d, pSrcCaches:%p)", device, dstCache, srcCacheCount, pSrcCaches);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29809,6 +30194,7 @@
void* pData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetValidationCacheDataEXT(device:%p, validationCache:%p, pDataSize:%p, pData:%p)", device, validationCache, pDataSize, pData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29925,6 +30311,7 @@
VkImageLayout imageLayout,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBindShadingRateImageNV(commandBuffer:%p, imageView:%p, imageLayout:%d)", commandBuffer, imageView, imageLayout);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -29981,6 +30368,7 @@
const VkShadingRatePaletteNV* pShadingRatePalettes,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetViewportShadingRatePaletteNV(commandBuffer:%p, firstViewport:%d, viewportCount:%d, pShadingRatePalettes:%p)", commandBuffer, firstViewport, viewportCount, pShadingRatePalettes);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -30059,6 +30447,7 @@
const VkCoarseSampleOrderCustomNV* pCustomSampleOrders,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetCoarseSampleOrderNV(commandBuffer:%p, customSampleOrderCount:%d, pCustomSampleOrders:%p)", commandBuffer, customSampleOrderCount, pCustomSampleOrders);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -30139,6 +30528,7 @@
VkAccelerationStructureNV* pAccelerationStructure,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateAccelerationStructureNV(device:%p, pCreateInfo:%p, pAllocator:%p, pAccelerationStructure:%p)", device, pCreateInfo, pAllocator, pAccelerationStructure);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -30235,6 +30625,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyAccelerationStructureNV(device:%p, accelerationStructure:%p, pAllocator:%p)", device, accelerationStructure, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -30312,6 +30703,7 @@
VkMemoryRequirements2KHR* pMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetAccelerationStructureMemoryRequirementsNV(device:%p, pInfo:%p, pMemoryRequirements:%p)", device, pInfo, pMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -30372,6 +30764,7 @@
const VkBindAccelerationStructureMemoryInfoNV* pBindInfos,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkBindAccelerationStructureMemoryNV(device:%p, bindInfoCount:%d, pBindInfos:%p)", device, bindInfoCount, pBindInfos);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -30451,6 +30844,7 @@
VkDeviceSize scratchOffset,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBuildAccelerationStructureNV(commandBuffer:%p, pInfo:%p, instanceData:%p, instanceOffset:%ld, update:%d, dst:%p, src:%p, scratch:%p, scratchOffset:%ld)", commandBuffer, pInfo, instanceData, instanceOffset, update, dst, src, scratch, scratchOffset);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -30554,6 +30948,7 @@
VkCopyAccelerationStructureModeKHR mode,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCopyAccelerationStructureNV(commandBuffer:%p, dst:%p, src:%p)", commandBuffer, dst, src);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -30629,6 +31024,7 @@
uint32_t depth,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdTraceRaysNV(commandBuffer:%p, raygenShaderBindingTableBuffer:%p, raygenShaderBindingOffset:%ld, missShaderBindingTableBuffer:%p, missShaderBindingOffset:%ld, missShaderBindingStride:%ld, hitShaderBindingTableBuffer:%p, hitShaderBindingOffset:%ld, hitShaderBindingStride:%ld, callableShaderBindingTableBuffer:%p, callableShaderBindingOffset:%ld, callableShaderBindingStride:%ld, width:%d, height:%d, depth:%d)", commandBuffer, raygenShaderBindingTableBuffer, raygenShaderBindingOffset, missShaderBindingTableBuffer, missShaderBindingOffset, missShaderBindingStride, hitShaderBindingTableBuffer, hitShaderBindingOffset, hitShaderBindingStride, callableShaderBindingTableBuffer, callableShaderBindingOffset, callableShaderBindingStride, width, height, depth);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -30756,6 +31152,7 @@
VkPipeline* pPipelines,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateRayTracingPipelinesNV(device:%p, pipelineCache:%p, createInfoCount:%d, pCreateInfos:%p, pAllocator:%p, pPipelines:%p)", device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -30890,6 +31287,7 @@
void* pData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetRayTracingShaderGroupHandlesKHR(device:%p, pipeline:%p, firstGroup:%d, groupCount:%d, dataSize:%ld, pData:%p)", device, pipeline, firstGroup, groupCount, dataSize, pData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -30965,6 +31363,7 @@
void* pData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetRayTracingShaderGroupHandlesNV(device:%p, pipeline:%p, firstGroup:%d, groupCount:%d, dataSize:%ld, pData:%p)", device, pipeline, firstGroup, groupCount, dataSize, pData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -31038,6 +31437,7 @@
void* pData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetAccelerationStructureHandleNV(device:%p, accelerationStructure:%p, dataSize:%ld, pData:%p)", device, accelerationStructure, dataSize, pData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -31103,6 +31503,7 @@
uint32_t firstQuery,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdWriteAccelerationStructuresPropertiesNV(commandBuffer:%p, accelerationStructureCount:%d, pAccelerationStructures:%p, queryPool:%p, firstQuery:%d)", commandBuffer, accelerationStructureCount, pAccelerationStructures, queryPool, firstQuery);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -31185,6 +31586,7 @@
uint32_t shader,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCompileDeferredNV(device:%p, pipeline:%p, shader:%d)", device, pipeline, shader);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -31252,6 +31654,7 @@
VkMemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMemoryHostPointerPropertiesEXT(device:%p, pHostPointer:%p, pMemoryHostPointerProperties:%p)", device, pHostPointer, pMemoryHostPointerProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -31330,6 +31733,7 @@
uint32_t marker,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdWriteBufferMarkerAMD(commandBuffer:%p, dstBuffer:%p, dstOffset:%ld, marker:%d)", commandBuffer, dstBuffer, dstOffset, marker);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -31399,6 +31803,7 @@
VkTimeDomainEXT* pTimeDomains,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceCalibrateableTimeDomainsEXT(physicalDevice:%p, pTimeDomainCount:%p, pTimeDomains:%p)", physicalDevice, pTimeDomainCount, pTimeDomains);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -31501,6 +31906,7 @@
uint64_t* pMaxDeviation,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetCalibratedTimestampsEXT(device:%p, timestampCount:%d, pTimestampInfos:%p, pTimestamps:%p, pMaxDeviation:%p)", device, timestampCount, pTimestampInfos, pTimestamps, pMaxDeviation);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -31600,6 +32006,7 @@
uint32_t firstTask,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawMeshTasksNV(commandBuffer:%p, taskCount:%d, firstTask:%d)", commandBuffer, taskCount, firstTask);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -31654,6 +32061,7 @@
uint32_t stride,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawMeshTasksIndirectNV(commandBuffer:%p, buffer:%p, offset:%ld, drawCount:%d, stride:%d)", commandBuffer, buffer, offset, drawCount, stride);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -31723,6 +32131,7 @@
uint32_t stride,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawMeshTasksIndirectCountNV(commandBuffer:%p, buffer:%p, offset:%ld, countBuffer:%p, countBufferOffset:%ld, maxDrawCount:%d, stride:%d)", commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -31808,6 +32217,7 @@
const VkRect2D* pExclusiveScissors,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetExclusiveScissorNV(commandBuffer:%p, firstExclusiveScissor:%d, exclusiveScissorCount:%d, pExclusiveScissors:%p)", commandBuffer, firstExclusiveScissor, exclusiveScissorCount, pExclusiveScissors);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -31886,6 +32296,7 @@
const void* pCheckpointMarker,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetCheckpointNV(commandBuffer:%p, pCheckpointMarker:%p)", commandBuffer, pCheckpointMarker);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -31947,6 +32358,7 @@
VkCheckpointDataNV* pCheckpointData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetQueueCheckpointDataNV(queue:%p, pCheckpointDataCount:%p, pCheckpointData:%p)", queue, pCheckpointDataCount, pCheckpointData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32068,6 +32480,7 @@
const VkInitializePerformanceApiInfoINTEL* pInitializeInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkInitializePerformanceApiINTEL(device:%p, pInitializeInfo:%p)", device, pInitializeInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32122,6 +32535,7 @@
VkDevice device,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkUninitializePerformanceApiINTEL(device:%p)", device);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32162,6 +32576,7 @@
const VkPerformanceMarkerInfoINTEL* pMarkerInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetPerformanceMarkerINTEL(commandBuffer:%p, pMarkerInfo:%p)", commandBuffer, pMarkerInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32219,6 +32634,7 @@
const VkPerformanceStreamMarkerInfoINTEL* pMarkerInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetPerformanceStreamMarkerINTEL(commandBuffer:%p, pMarkerInfo:%p)", commandBuffer, pMarkerInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32276,6 +32692,7 @@
const VkPerformanceOverrideInfoINTEL* pOverrideInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetPerformanceOverrideINTEL(commandBuffer:%p, pOverrideInfo:%p)", commandBuffer, pOverrideInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32334,6 +32751,7 @@
VkPerformanceConfigurationINTEL* pConfiguration,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkAcquirePerformanceConfigurationINTEL(device:%p, pAcquireInfo:%p, pConfiguration:%p)", device, pAcquireInfo, pConfiguration);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32395,6 +32813,7 @@
VkPerformanceConfigurationINTEL configuration,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkReleasePerformanceConfigurationINTEL(device:%p)", device);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32444,6 +32863,7 @@
VkPerformanceConfigurationINTEL configuration,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueSetPerformanceConfigurationINTEL(queue:%p)", queue);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32494,6 +32914,7 @@
VkPerformanceValueINTEL* pValue,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPerformanceParameterINTEL(device:%p, pValue:%p)", device, pValue);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32553,6 +32974,7 @@
VkBool32 localDimmingEnable,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkSetLocalDimmingAMD(device:%p, swapChain:%p, localDimmingEnable:%d)", device, swapChain, localDimmingEnable);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32610,6 +33032,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateImagePipeSurfaceFUCHSIA(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32707,6 +33130,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateMetalSurfaceEXT(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32824,6 +33248,7 @@
const VkBufferDeviceAddressInfo* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetBufferDeviceAddressEXT(device:%p, pInfo:%p)", device, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -32882,6 +33307,7 @@
VkPhysicalDeviceToolPropertiesEXT* pToolProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceToolPropertiesEXT(physicalDevice:%p, pToolCount:%p, pToolProperties:%p)", physicalDevice, pToolCount, pToolProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33009,6 +33435,7 @@
VkCooperativeMatrixPropertiesNV* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceCooperativeMatrixPropertiesNV(physicalDevice:%p, pPropertyCount:%p, pProperties:%p)", physicalDevice, pPropertyCount, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33132,6 +33559,7 @@
VkFramebufferMixedSamplesCombinationNV* pCombinations,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(physicalDevice:%p, pCombinationCount:%p, pCombinations:%p)", physicalDevice, pCombinationCount, pCombinations);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33262,6 +33690,7 @@
VkPresentModeKHR* pPresentModes,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceSurfacePresentModes2EXT(physicalDevice:%p, pSurfaceInfo:%p, pPresentModeCount:%p, pPresentModes:%p)", physicalDevice, pSurfaceInfo, pPresentModeCount, pPresentModes);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33374,6 +33803,7 @@
VkSwapchainKHR swapchain,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkAcquireFullScreenExclusiveModeEXT(device:%p, swapchain:%p)", device, swapchain);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33424,6 +33854,7 @@
VkSwapchainKHR swapchain,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkReleaseFullScreenExclusiveModeEXT(device:%p, swapchain:%p)", device, swapchain);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33475,6 +33906,7 @@
VkDeviceGroupPresentModeFlagsKHR* pModes,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceGroupSurfacePresentModes2EXT(device:%p, pSurfaceInfo:%p, pModes:%p)", device, pSurfaceInfo, pModes);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33561,6 +33993,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateHeadlessSurfaceEXT(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33657,6 +34090,7 @@
uint16_t lineStipplePattern,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetLineStippleEXT(commandBuffer:%p, lineStippleFactor:%d, lineStipplePattern:%d)", commandBuffer, lineStippleFactor, lineStipplePattern);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33714,6 +34148,7 @@
uint32_t queryCount,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkResetQueryPoolEXT(device:%p, queryPool:%p, firstQuery:%d, queryCount:%d)", device, queryPool, firstQuery, queryCount);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33776,6 +34211,7 @@
VkCullModeFlags cullMode,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetCullModeEXT(commandBuffer:%p, cullMode:%d)", commandBuffer, cullMode);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33822,6 +34258,7 @@
VkFrontFace frontFace,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetFrontFaceEXT(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33868,6 +34305,7 @@
VkPrimitiveTopology primitiveTopology,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetPrimitiveTopologyEXT(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33915,6 +34353,7 @@
const VkViewport* pViewports,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetViewportWithCountEXT(commandBuffer:%p, viewportCount:%d, pViewports:%p)", commandBuffer, viewportCount, pViewports);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -33987,6 +34426,7 @@
const VkRect2D* pScissors,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetScissorWithCountEXT(commandBuffer:%p, scissorCount:%d, pScissors:%p)", commandBuffer, scissorCount, pScissors);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34063,6 +34503,7 @@
const VkDeviceSize* pStrides,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBindVertexBuffers2EXT(commandBuffer:%p, firstBinding:%d, bindingCount:%d, pBuffers:%p, pOffsets:%p, pSizes:%p, pStrides:%p)", commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes, pStrides);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34188,6 +34629,7 @@
VkBool32 depthTestEnable,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetDepthTestEnableEXT(commandBuffer:%p, depthTestEnable:%d)", commandBuffer, depthTestEnable);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34234,6 +34676,7 @@
VkBool32 depthWriteEnable,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetDepthWriteEnableEXT(commandBuffer:%p, depthWriteEnable:%d)", commandBuffer, depthWriteEnable);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34280,6 +34723,7 @@
VkCompareOp depthCompareOp,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetDepthCompareOpEXT(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34326,6 +34770,7 @@
VkBool32 depthBoundsTestEnable,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetDepthBoundsTestEnableEXT(commandBuffer:%p, depthBoundsTestEnable:%d)", commandBuffer, depthBoundsTestEnable);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34372,6 +34817,7 @@
VkBool32 stencilTestEnable,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetStencilTestEnableEXT(commandBuffer:%p, stencilTestEnable:%d)", commandBuffer, stencilTestEnable);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34422,6 +34868,7 @@
VkCompareOp compareOp,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetStencilOpEXT(commandBuffer:%p, faceMask:%d)", commandBuffer, faceMask);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34495,6 +34942,7 @@
VkMemoryRequirements2* pMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetGeneratedCommandsMemoryRequirementsNV(device:%p, pInfo:%p, pMemoryRequirements:%p)", device, pInfo, pMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34554,6 +35002,7 @@
const VkGeneratedCommandsInfoNV* pGeneratedCommandsInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdPreprocessGeneratedCommandsNV(commandBuffer:%p, pGeneratedCommandsInfo:%p)", commandBuffer, pGeneratedCommandsInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34609,6 +35058,7 @@
const VkGeneratedCommandsInfoNV* pGeneratedCommandsInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdExecuteGeneratedCommandsNV(commandBuffer:%p, isPreprocessed:%d, pGeneratedCommandsInfo:%p)", commandBuffer, isPreprocessed, pGeneratedCommandsInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34670,6 +35120,7 @@
uint32_t groupIndex,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBindPipelineShaderGroupNV(commandBuffer:%p, pipeline:%p, groupIndex:%d)", commandBuffer, pipeline, groupIndex);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34731,6 +35182,7 @@
VkIndirectCommandsLayoutNV* pIndirectCommandsLayout,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateIndirectCommandsLayoutNV(device:%p, pCreateInfo:%p, pAllocator:%p, pIndirectCommandsLayout:%p)", device, pCreateInfo, pAllocator, pIndirectCommandsLayout);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34827,6 +35279,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyIndirectCommandsLayoutNV(device:%p, indirectCommandsLayout:%p, pAllocator:%p)", device, indirectCommandsLayout, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34914,6 +35367,7 @@
VkDisplayKHR display,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkAcquireDrmDisplayEXT(physicalDevice:%p, drmFd:%d, display:%p)", physicalDevice, drmFd, display);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -34971,6 +35425,7 @@
VkDisplayKHR* display,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDrmDisplayEXT(physicalDevice:%p, drmFd:%d, connectorId:%d, display:%p)", physicalDevice, drmFd, connectorId, display);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35044,6 +35499,7 @@
VkPrivateDataSlotEXT* pPrivateDataSlot,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreatePrivateDataSlotEXT(device:%p, pCreateInfo:%p, pAllocator:%p, pPrivateDataSlot:%p)", device, pCreateInfo, pAllocator, pPrivateDataSlot);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35133,6 +35589,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyPrivateDataSlotEXT(device:%p, pAllocator:%p)", device, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35210,6 +35667,7 @@
uint64_t data,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkSetPrivateDataEXT(device:%p, objectHandle:%ld, data:%ld)", device, objectHandle, data);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35277,6 +35735,7 @@
uint64_t* pData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPrivateDataEXT(device:%p, objectHandle:%ld, pData:%p)", device, objectHandle, pData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35346,6 +35805,7 @@
const VkFragmentShadingRateCombinerOpKHR combinerOps[2],
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetFragmentShadingRateEnumNV(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35413,6 +35873,7 @@
VkDisplayKHR display,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkAcquireWinrtDisplayNV(physicalDevice:%p, display:%p)", physicalDevice, display);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35464,6 +35925,7 @@
VkDisplayKHR* pDisplay,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetWinrtDisplayNV(physicalDevice:%p, deviceRelativeId:%d, pDisplay:%p)", physicalDevice, deviceRelativeId, pDisplay);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35526,6 +35988,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateDirectFBSurfaceEXT(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35620,6 +36083,7 @@
IDirectFB* dfb,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceDirectFBPresentationSupportEXT(physicalDevice:%p, queueFamilyIndex:%d, dfb:%p)", physicalDevice, queueFamilyIndex, dfb);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35678,6 +36142,7 @@
const VkVertexInputAttributeDescription2EXT* pVertexAttributeDescriptions,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetVertexInputEXT(commandBuffer:%p, vertexBindingDescriptionCount:%d, pVertexBindingDescriptions:%p, vertexAttributeDescriptionCount:%d, pVertexAttributeDescriptions:%p)", commandBuffer, vertexBindingDescriptionCount, pVertexBindingDescriptions, vertexAttributeDescriptionCount, pVertexAttributeDescriptions);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35786,6 +36251,7 @@
zx_handle_t* pZirconHandle,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMemoryZirconHandleFUCHSIA(device:%p, pGetZirconHandleInfo:%p, pZirconHandle:%p)", device, pGetZirconHandleInfo, pZirconHandle);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35847,6 +36313,7 @@
VkMemoryZirconHandlePropertiesFUCHSIA* pMemoryZirconHandleProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMemoryZirconHandlePropertiesFUCHSIA(device:%p, pMemoryZirconHandleProperties:%p)", device, pMemoryZirconHandleProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35908,6 +36375,7 @@
const VkImportSemaphoreZirconHandleInfoFUCHSIA* pImportSemaphoreZirconHandleInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkImportSemaphoreZirconHandleFUCHSIA(device:%p, pImportSemaphoreZirconHandleInfo:%p)", device, pImportSemaphoreZirconHandleInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -35964,6 +36432,7 @@
zx_handle_t* pZirconHandle,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetSemaphoreZirconHandleFUCHSIA(device:%p, pGetZirconHandleInfo:%p, pZirconHandle:%p)", device, pGetZirconHandleInfo, pZirconHandle);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36027,6 +36496,7 @@
VkBufferCollectionFUCHSIA* pCollection,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateBufferCollectionFUCHSIA(device:%p, pCreateInfo:%p, pAllocator:%p, pCollection:%p)", device, pCreateInfo, pAllocator, pCollection);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36116,6 +36586,7 @@
const VkImageConstraintsInfoFUCHSIA* pImageConstraintsInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkSetBufferCollectionImageConstraintsFUCHSIA(device:%p, pImageConstraintsInfo:%p)", device, pImageConstraintsInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36179,6 +36650,7 @@
const VkBufferConstraintsInfoFUCHSIA* pBufferConstraintsInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkSetBufferCollectionBufferConstraintsFUCHSIA(device:%p, pBufferConstraintsInfo:%p)", device, pBufferConstraintsInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36242,6 +36714,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyBufferCollectionFUCHSIA(device:%p, pAllocator:%p)", device, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36317,6 +36790,7 @@
VkBufferCollectionPropertiesFUCHSIA* pProperties,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetBufferCollectionPropertiesFUCHSIA(device:%p, pProperties:%p)", device, pProperties);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36376,6 +36850,7 @@
VkExtent2D* pMaxWorkgroupSize,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(device:%p, renderpass:%p, pMaxWorkgroupSize:%p)", device, renderpass, pMaxWorkgroupSize);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36432,6 +36907,7 @@
VkCommandBuffer commandBuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSubpassShadingHUAWEI(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36476,6 +36952,7 @@
VkImageLayout imageLayout,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBindInvocationMaskHUAWEI(commandBuffer:%p, imageView:%p, imageLayout:%d)", commandBuffer, imageView, imageLayout);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36533,6 +37010,7 @@
VkRemoteAddressNV* pAddress,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMemoryRemoteAddressNV(device:%p, pMemoryGetRemoteAddressInfo:%p, pAddress:%p)", device, pMemoryGetRemoteAddressInfo, pAddress);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36594,6 +37072,7 @@
uint32_t patchControlPoints,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetPatchControlPointsEXT(commandBuffer:%p, patchControlPoints:%d)", commandBuffer, patchControlPoints);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36640,6 +37119,7 @@
VkBool32 rasterizerDiscardEnable,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetRasterizerDiscardEnableEXT(commandBuffer:%p, rasterizerDiscardEnable:%d)", commandBuffer, rasterizerDiscardEnable);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36686,6 +37166,7 @@
VkBool32 depthBiasEnable,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetDepthBiasEnableEXT(commandBuffer:%p, depthBiasEnable:%d)", commandBuffer, depthBiasEnable);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36732,6 +37213,7 @@
VkLogicOp logicOp,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetLogicOpEXT(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36778,6 +37260,7 @@
VkBool32 primitiveRestartEnable,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetPrimitiveRestartEnableEXT(commandBuffer:%p, primitiveRestartEnable:%d)", commandBuffer, primitiveRestartEnable);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36828,6 +37311,7 @@
VkSurfaceKHR* pSurface,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateScreenSurfaceQNX(instance:%p, pCreateInfo:%p, pAllocator:%p, pSurface:%p)", instance, pCreateInfo, pAllocator, pSurface);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36922,6 +37406,7 @@
_screen_window* window,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetPhysicalDeviceScreenPresentationSupportQNX(physicalDevice:%p, queueFamilyIndex:%d, window:%p)", physicalDevice, queueFamilyIndex, window);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -36976,6 +37461,7 @@
const VkBool32* pColorWriteEnables,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetColorWriteEnableEXT(commandBuffer:%p, attachmentCount:%d, pColorWriteEnables:%p)", commandBuffer, attachmentCount, pColorWriteEnables);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -37031,6 +37517,7 @@
uint32_t colorBuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkRegisterImageColorBufferGOOGLE(device:%p, image:%p, colorBuffer:%d)", device, image, colorBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -37087,6 +37574,7 @@
uint32_t colorBuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkRegisterBufferColorBufferGOOGLE(device:%p, buffer:%p, colorBuffer:%d)", device, buffer, colorBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -37143,6 +37631,7 @@
uint64_t* pAddress,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkMapMemoryIntoAddressSpaceGOOGLE(device:%p, memory:%p, pAddress:%p)", device, memory, pAddress);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -37233,6 +37722,7 @@
const VkBufferView* pBufferViews,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkUpdateDescriptorSetWithTemplateSizedGOOGLE(device:%p, descriptorSet:%p, descriptorUpdateTemplate:%p, imageInfoCount:%d, bufferInfoCount:%d, bufferViewCount:%d, pImageInfoEntryIndices:%p, pBufferInfoEntryIndices:%p, pBufferViewEntryIndices:%p, pImageInfos:%p, pBufferInfos:%p, pBufferViews:%p)", device, descriptorSet, descriptorUpdateTemplate, imageInfoCount, bufferInfoCount, bufferViewCount, pImageInfoEntryIndices, pBufferInfoEntryIndices, pBufferViewEntryIndices, pImageInfos, pBufferInfos, pBufferViews);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -37467,6 +37957,7 @@
const VkCommandBufferBeginInfo* pBeginInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkBeginCommandBufferAsyncGOOGLE(commandBuffer:%p, pBeginInfo:%p)", commandBuffer, pBeginInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -37520,6 +38011,7 @@
VkCommandBuffer commandBuffer,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkEndCommandBufferAsyncGOOGLE(commandBuffer:%p)", commandBuffer);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -37562,6 +38054,7 @@
VkCommandBufferResetFlags flags,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkResetCommandBufferAsyncGOOGLE(commandBuffer:%p, flags:%d)", commandBuffer, flags);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -37609,6 +38102,7 @@
uint32_t sequenceNumber,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCommandBufferHostSyncGOOGLE(commandBuffer:%p, needHostSync:%d, sequenceNumber:%d)", commandBuffer, needHostSync, sequenceNumber);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -37688,6 +38182,7 @@
local_pAllocator = nullptr;
if (local_pCreateInfo)
{
+ sResourceTracker->transformImpl_VkImageCreateInfo_tohost(local_pCreateInfo, 1);
transform_tohost_VkImageCreateInfo(sResourceTracker, (VkImageCreateInfo*)(local_pCreateInfo));
}
if (local_pAllocator)
@@ -37769,6 +38264,7 @@
VkMemoryRequirements* pMemoryRequirements,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateBufferWithRequirementsGOOGLE(device:%p, pCreateInfo:%p, pAllocator:%p, pBuffer:%p, pMemoryRequirements:%p)", device, pCreateInfo, pAllocator, pBuffer, pMemoryRequirements);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -37874,6 +38370,7 @@
uint64_t* pHostmemId,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetMemoryHostAddressInfoGOOGLE(device:%p, memory:%p, pAddress:%p, pSize:%p, pHostmemId:%p)", device, memory, pAddress, pSize, pHostmemId);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -38007,6 +38504,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkFreeMemorySyncGOOGLE(device:%p, memory:%p, pAllocator:%p)", device, memory, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -38083,6 +38581,7 @@
uint32_t sequenceNumber,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueHostSyncGOOGLE(queue:%p, needHostSync:%d, sequenceNumber:%d)", queue, needHostSync, sequenceNumber);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -38135,6 +38634,7 @@
VkFence fence,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueSubmitAsyncGOOGLE(queue:%p, submitCount:%d, pSubmits:%p, fence:%p)", queue, submitCount, pSubmits, fence);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -38212,6 +38712,7 @@
VkQueue queue,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueWaitIdleAsyncGOOGLE(queue:%p)", queue);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -38254,6 +38755,7 @@
VkFence fence,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueBindSparseAsyncGOOGLE(queue:%p, bindInfoCount:%d, pBindInfo:%p, fence:%p)", queue, bindInfoCount, pBindInfo, fence);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -38334,6 +38836,7 @@
VkDeviceSize* pRowPitchAlignment,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetLinearImageLayoutGOOGLE(device:%p, format:%d, pOffset:%p, pRowPitchAlignment:%p)", device, format, pOffset, pRowPitchAlignment);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -38388,6 +38891,7 @@
VkDeviceSize* pRowPitchAlignment,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetLinearImageLayout2GOOGLE(device:%p, pCreateInfo:%p, pOffset:%p, pRowPitchAlignment:%p)", device, pCreateInfo, pOffset, pRowPitchAlignment);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -38404,6 +38908,7 @@
}
if (local_pCreateInfo)
{
+ sResourceTracker->transformImpl_VkImageCreateInfo_tohost(local_pCreateInfo, 1);
transform_tohost_VkImageCreateInfo(sResourceTracker, (VkImageCreateInfo*)(local_pCreateInfo));
}
size_t count = 0;
@@ -38467,6 +38972,7 @@
const VkWriteDescriptorSet* pPendingDescriptorWrites,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueCommitDescriptorSetUpdatesGOOGLE(queue:%p, descriptorPoolCount:%d, pDescriptorPools:%p, descriptorSetCount:%d, pSetLayouts:%p, pDescriptorSetPoolIds:%p, pDescriptorSetWhichPool:%p, pDescriptorSetPendingAllocation:%p, pDescriptorWriteStartingIndices:%p, pendingDescriptorWriteCount:%d, pPendingDescriptorWrites:%p)", queue, descriptorPoolCount, pDescriptorPools, descriptorSetCount, pSetLayouts, pDescriptorSetPoolIds, pDescriptorSetWhichPool, pDescriptorSetPendingAllocation, pDescriptorWriteStartingIndices, pendingDescriptorWriteCount, pPendingDescriptorWrites);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -38607,6 +39113,7 @@
uint64_t* pPoolIds,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCollectDescriptorPoolIdsGOOGLE(device:%p, descriptorPool:%p, pPoolIdCount:%p, pPoolIds:%p)", device, descriptorPool, pPoolIdCount, pPoolIds);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -38690,6 +39197,7 @@
VkImage image,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkQueueSignalReleaseImageANDROIDAsyncGOOGLE(queue:%p, waitSemaphoreCount:%d, pWaitSemaphores:%p, image:%p)", queue, waitSemaphoreCount, pWaitSemaphores, image);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -38781,6 +39289,7 @@
uint32_t stride,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawMultiEXT(commandBuffer:%p, drawCount:%d, pVertexInfo:%p, instanceCount:%d, firstInstance:%d, stride:%d)", commandBuffer, drawCount, pVertexInfo, instanceCount, firstInstance, stride);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -38885,6 +39394,7 @@
const int32_t* pVertexOffset,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdDrawMultiIndexedEXT(commandBuffer:%p, drawCount:%d, pIndexInfo:%p, instanceCount:%d, firstInstance:%d, stride:%d, pVertexOffset:%p)", commandBuffer, drawCount, pIndexInfo, instanceCount, firstInstance, stride, pVertexOffset);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39010,6 +39520,7 @@
float priority,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkSetDeviceMemoryPriorityEXT(device:%p, memory:%p, priority:%f)", device, memory, priority);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39067,6 +39578,7 @@
VkAccelerationStructureKHR* pAccelerationStructure,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateAccelerationStructureKHR(device:%p, pCreateInfo:%p, pAllocator:%p, pAccelerationStructure:%p)", device, pCreateInfo, pAllocator, pAccelerationStructure);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39163,6 +39675,7 @@
const VkAllocationCallbacks* pAllocator,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkDestroyAccelerationStructureKHR(device:%p, accelerationStructure:%p, pAllocator:%p)", device, accelerationStructure, pAllocator);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39241,6 +39754,7 @@
const VkAccelerationStructureBuildRangeInfoKHR* const* ppBuildRangeInfos,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBuildAccelerationStructuresKHR(commandBuffer:%p, infoCount:%d, pInfos:%p, ppBuildRangeInfos:%p)", commandBuffer, infoCount, pInfos, ppBuildRangeInfos);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39321,6 +39835,7 @@
const uint32_t* const* ppMaxPrimitiveCounts,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdBuildAccelerationStructuresIndirectKHR(commandBuffer:%p, infoCount:%d, pInfos:%p, pIndirectDeviceAddresses:%p, pIndirectStrides:%p, ppMaxPrimitiveCounts:%p)", commandBuffer, infoCount, pInfos, pIndirectDeviceAddresses, pIndirectStrides, ppMaxPrimitiveCounts);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39412,6 +39927,7 @@
const VkAccelerationStructureBuildRangeInfoKHR* const* ppBuildRangeInfos,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkBuildAccelerationStructuresKHR(device:%p, infoCount:%d, pInfos:%p, ppBuildRangeInfos:%p)", device, infoCount, pInfos, ppBuildRangeInfos);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39497,6 +40013,7 @@
const VkCopyAccelerationStructureInfoKHR* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCopyAccelerationStructureKHR(device:%p, pInfo:%p)", device, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39560,6 +40077,7 @@
const VkCopyAccelerationStructureToMemoryInfoKHR* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCopyAccelerationStructureToMemoryKHR(device:%p, pInfo:%p)", device, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39623,6 +40141,7 @@
const VkCopyMemoryToAccelerationStructureInfoKHR* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCopyMemoryToAccelerationStructureKHR(device:%p, pInfo:%p)", device, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39690,6 +40209,7 @@
size_t stride,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkWriteAccelerationStructuresPropertiesKHR(device:%p, accelerationStructureCount:%d, pAccelerationStructures:%p, dataSize:%ld, pData:%p, stride:%ld)", device, accelerationStructureCount, pAccelerationStructures, dataSize, pData, stride);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39777,6 +40297,7 @@
const VkCopyAccelerationStructureInfoKHR* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCopyAccelerationStructureKHR(commandBuffer:%p, pInfo:%p)", commandBuffer, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39831,6 +40352,7 @@
const VkCopyAccelerationStructureToMemoryInfoKHR* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCopyAccelerationStructureToMemoryKHR(commandBuffer:%p, pInfo:%p)", commandBuffer, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39885,6 +40407,7 @@
const VkCopyMemoryToAccelerationStructureInfoKHR* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdCopyMemoryToAccelerationStructureKHR(commandBuffer:%p, pInfo:%p)", commandBuffer, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39939,6 +40462,7 @@
const VkAccelerationStructureDeviceAddressInfoKHR* pInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetAccelerationStructureDeviceAddressKHR(device:%p, pInfo:%p)", device, pInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -39998,6 +40522,7 @@
uint32_t firstQuery,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdWriteAccelerationStructuresPropertiesKHR(commandBuffer:%p, accelerationStructureCount:%d, pAccelerationStructures:%p, queryPool:%p, firstQuery:%d)", commandBuffer, accelerationStructureCount, pAccelerationStructures, queryPool, firstQuery);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -40080,6 +40605,7 @@
VkAccelerationStructureCompatibilityKHR* pCompatibility,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetDeviceAccelerationStructureCompatibilityKHR(device:%p, pVersionInfo:%p, pCompatibility:%p)", device, pVersionInfo, pCompatibility);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -40139,6 +40665,7 @@
VkAccelerationStructureBuildSizesInfoKHR* pSizeInfo,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetAccelerationStructureBuildSizesKHR(device:%p, pBuildInfo:%p, pMaxPrimitiveCounts:%p, pSizeInfo:%p)", device, pBuildInfo, pMaxPrimitiveCounts, pSizeInfo);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -40230,6 +40757,7 @@
uint32_t depth,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdTraceRaysKHR(commandBuffer:%p, pRaygenShaderBindingTable:%p, pMissShaderBindingTable:%p, pHitShaderBindingTable:%p, pCallableShaderBindingTable:%p, width:%d, height:%d, depth:%d)", commandBuffer, pRaygenShaderBindingTable, pMissShaderBindingTable, pHitShaderBindingTable, pCallableShaderBindingTable, width, height, depth);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -40343,6 +40871,7 @@
VkPipeline* pPipelines,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCreateRayTracingPipelinesKHR(device:%p, pipelineCache:%p, createInfoCount:%d, pCreateInfos:%p, pAllocator:%p, pPipelines:%p)", device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -40484,6 +41013,7 @@
void* pData,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetRayTracingCaptureReplayShaderGroupHandlesKHR(device:%p, pipeline:%p, firstGroup:%d, groupCount:%d, dataSize:%ld, pData:%p)", device, pipeline, firstGroup, groupCount, dataSize, pData);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -40559,6 +41089,7 @@
VkDeviceAddress indirectDeviceAddress,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdTraceRaysIndirectKHR(commandBuffer:%p, pRaygenShaderBindingTable:%p, pMissShaderBindingTable:%p, pHitShaderBindingTable:%p, pCallableShaderBindingTable:%p)", commandBuffer, pRaygenShaderBindingTable, pMissShaderBindingTable, pHitShaderBindingTable, pCallableShaderBindingTable);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -40659,6 +41190,7 @@
VkShaderGroupShaderKHR groupShader,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkGetRayTracingShaderGroupStackSizeKHR(device:%p, pipeline:%p, group:%d)", device, pipeline, group);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
@@ -40719,6 +41251,7 @@
uint32_t pipelineStackSize,
uint32_t doLock)
{
+ ENCODER_DEBUG_LOG("vkCmdSetRayTracingPipelineStackSizeKHR(commandBuffer:%p, pipelineStackSize:%d)", commandBuffer, pipelineStackSize);
(void)doLock;
bool queueSubmitWithCommandsEnabled = sFeatureBits & VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT;
if (!queueSubmitWithCommandsEnabled && doLock) this->lock();
diff --git a/system/vulkan_enc/VkEncoder.h b/system/vulkan_enc/VkEncoder.h
index c42704b..384688c 100644
--- a/system/vulkan_enc/VkEncoder.h
+++ b/system/vulkan_enc/VkEncoder.h
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module VkEncoder
-// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/func_table.cpp b/system/vulkan_enc/func_table.cpp
index 796cc71..8234263 100644
--- a/system/vulkan_enc/func_table.cpp
+++ b/system/vulkan_enc/func_table.cpp
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module func_table
-// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/func_table.h b/system/vulkan_enc/func_table.h
index 17c6286..2c3b4ee 100644
--- a/system/vulkan_enc/func_table.h
+++ b/system/vulkan_enc/func_table.h
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module func_table
-// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/goldfish_vk_counting_guest.cpp b/system/vulkan_enc/goldfish_vk_counting_guest.cpp
index bf4f9b6..086bc3f 100644
--- a/system/vulkan_enc/goldfish_vk_counting_guest.cpp
+++ b/system/vulkan_enc/goldfish_vk_counting_guest.cpp
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_counting_guest
-// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/goldfish_vk_counting_guest.h b/system/vulkan_enc/goldfish_vk_counting_guest.h
index 81d11da..c929ee6 100644
--- a/system/vulkan_enc/goldfish_vk_counting_guest.h
+++ b/system/vulkan_enc/goldfish_vk_counting_guest.h
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_counting_guest
-// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/goldfish_vk_deepcopy_guest.cpp b/system/vulkan_enc/goldfish_vk_deepcopy_guest.cpp
index adc2318..8e72ec9 100644
--- a/system/vulkan_enc/goldfish_vk_deepcopy_guest.cpp
+++ b/system/vulkan_enc/goldfish_vk_deepcopy_guest.cpp
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_deepcopy_guest
-// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/goldfish_vk_deepcopy_guest.h b/system/vulkan_enc/goldfish_vk_deepcopy_guest.h
index 1728261..1a41e6f 100644
--- a/system/vulkan_enc/goldfish_vk_deepcopy_guest.h
+++ b/system/vulkan_enc/goldfish_vk_deepcopy_guest.h
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_deepcopy_guest
-// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/goldfish_vk_extension_structs_guest.cpp b/system/vulkan_enc/goldfish_vk_extension_structs_guest.cpp
index 69215bc..f293e0d 100644
--- a/system/vulkan_enc/goldfish_vk_extension_structs_guest.cpp
+++ b/system/vulkan_enc/goldfish_vk_extension_structs_guest.cpp
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_extension_structs_guest
-// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/goldfish_vk_extension_structs_guest.h b/system/vulkan_enc/goldfish_vk_extension_structs_guest.h
index 4bf48b0..48f1da3 100644
--- a/system/vulkan_enc/goldfish_vk_extension_structs_guest.h
+++ b/system/vulkan_enc/goldfish_vk_extension_structs_guest.h
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_extension_structs_guest
-// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/goldfish_vk_handlemap_guest.cpp b/system/vulkan_enc/goldfish_vk_handlemap_guest.cpp
index 53af9ac..b461b8b 100644
--- a/system/vulkan_enc/goldfish_vk_handlemap_guest.cpp
+++ b/system/vulkan_enc/goldfish_vk_handlemap_guest.cpp
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_handlemap_guest
-// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/goldfish_vk_handlemap_guest.h b/system/vulkan_enc/goldfish_vk_handlemap_guest.h
index 770f009..6cc522b 100644
--- a/system/vulkan_enc/goldfish_vk_handlemap_guest.h
+++ b/system/vulkan_enc/goldfish_vk_handlemap_guest.h
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_handlemap_guest
-// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/goldfish_vk_marshaling_guest.cpp b/system/vulkan_enc/goldfish_vk_marshaling_guest.cpp
index 9a3f9dd..e53bcd2 100644
--- a/system/vulkan_enc/goldfish_vk_marshaling_guest.cpp
+++ b/system/vulkan_enc/goldfish_vk_marshaling_guest.cpp
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_marshaling_guest
-// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/goldfish_vk_marshaling_guest.h b/system/vulkan_enc/goldfish_vk_marshaling_guest.h
index cfa5b43..9f0fc5a 100644
--- a/system/vulkan_enc/goldfish_vk_marshaling_guest.h
+++ b/system/vulkan_enc/goldfish_vk_marshaling_guest.h
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_marshaling_guest
-// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/goldfish_vk_reserved_marshaling_guest.cpp b/system/vulkan_enc/goldfish_vk_reserved_marshaling_guest.cpp
index 3b9e0e4..53a635d 100644
--- a/system/vulkan_enc/goldfish_vk_reserved_marshaling_guest.cpp
+++ b/system/vulkan_enc/goldfish_vk_reserved_marshaling_guest.cpp
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_reserved_marshaling_guest
-// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/goldfish_vk_reserved_marshaling_guest.h b/system/vulkan_enc/goldfish_vk_reserved_marshaling_guest.h
index b724bd1..7254105 100644
--- a/system/vulkan_enc/goldfish_vk_reserved_marshaling_guest.h
+++ b/system/vulkan_enc/goldfish_vk_reserved_marshaling_guest.h
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_reserved_marshaling_guest
-// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
diff --git a/system/vulkan_enc/goldfish_vk_transform_guest.cpp b/system/vulkan_enc/goldfish_vk_transform_guest.cpp
index c3a690c..067a2d1 100644
--- a/system/vulkan_enc/goldfish_vk_transform_guest.cpp
+++ b/system/vulkan_enc/goldfish_vk_transform_guest.cpp
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_transform_guest
-// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
@@ -10159,6 +10159,7 @@
}
if (toTransform->pCreateInfo)
{
+ resourceTracker->transformImpl_VkImageCreateInfo_tohost(toTransform->pCreateInfo, 1);
transform_tohost_VkImageCreateInfo(resourceTracker, (VkImageCreateInfo*)(toTransform->pCreateInfo));
}
}
@@ -10175,6 +10176,7 @@
}
if (toTransform->pCreateInfo)
{
+ resourceTracker->transformImpl_VkImageCreateInfo_fromhost(toTransform->pCreateInfo, 1);
transform_fromhost_VkImageCreateInfo(resourceTracker, (VkImageCreateInfo*)(toTransform->pCreateInfo));
}
}
@@ -18687,6 +18689,7 @@
{
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
+ resourceTracker->transformImpl_VkImageCreateInfo_tohost(&toTransform->imageCreateInfo, 1);
transform_tohost_VkImageCreateInfo(resourceTracker, (VkImageCreateInfo*)(&toTransform->imageCreateInfo));
if (toTransform->pColorSpaces)
{
@@ -18704,6 +18707,7 @@
{
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
+ resourceTracker->transformImpl_VkImageCreateInfo_fromhost(&toTransform->imageCreateInfo, 1);
transform_fromhost_VkImageCreateInfo(resourceTracker, (VkImageCreateInfo*)(&toTransform->imageCreateInfo));
if (toTransform->pColorSpaces)
{
diff --git a/system/vulkan_enc/goldfish_vk_transform_guest.h b/system/vulkan_enc/goldfish_vk_transform_guest.h
index e88bf65..a26804e 100644
--- a/system/vulkan_enc/goldfish_vk_transform_guest.h
+++ b/system/vulkan_enc/goldfish_vk_transform_guest.h
@@ -14,7 +14,7 @@
// limitations under the License.
// Autogenerated module goldfish_vk_transform_guest
-// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../qemu/android/android-emugl/host/libs/libOpenglRender/vulkan/cereal
+// (header) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal -o ../../device/generic/vulkan-cereal/stream-servers/vulkan/cereal
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
@@ -47,6 +47,7 @@
#define LIST_NON_TRIVIAL_TRANSFORMED_TYPES(f) \
f(VkExternalMemoryProperties) \
+f(VkImageCreateInfo) \
#define LIST_TRANSFORMED_TYPES(f) \
LIST_TRIVIAL_TRANSFORMED_TYPES(f) \