aboutsummaryrefslogtreecommitdiff
path: root/layers
diff options
context:
space:
mode:
authorJeremy Hayes <jeremy@lunarg.com>2015-04-15 15:20:03 -0600
committerJeremy Hayes <jeremy@lunarg.com>2015-04-16 15:47:58 -0600
commit9a2eb8c22f051c153e899eca7e012a71e6d7f175 (patch)
tree57777781dcd4761beeafa4da8d7de49d3f17e519 /layers
parent6b0caf1faf85cd610b63fae31e3eb89833c94276 (diff)
downloadusermoji-9a2eb8c22f051c153e899eca7e012a71e6d7f175.tar.xz
vulkan: Rename bindInfo to pBindInfo.
Conflicts: include/vulkan.h layers/param_checker.cpp
Diffstat (limited to 'layers')
-rw-r--r--layers/glave_snapshot.c4
-rw-r--r--layers/param_checker.cpp12
2 files changed, 8 insertions, 8 deletions
diff --git a/layers/glave_snapshot.c b/layers/glave_snapshot.c
index 3192a777..1a399b95 100644
--- a/layers/glave_snapshot.c
+++ b/layers/glave_snapshot.c
@@ -740,12 +740,12 @@ VK_LAYER_EXPORT VkResult VKAPI vkBindObjectMemoryRange(VkObject object, uint32_t
return result;
}
-VK_LAYER_EXPORT VkResult VKAPI vkBindImageMemoryRange(VkImage image, uint32_t allocationIdx, const VkImageMemoryBindInfo* bindInfo, VkGpuMemory mem, VkGpuSize memOffset)
+VK_LAYER_EXPORT VkResult VKAPI vkBindImageMemoryRange(VkImage image, uint32_t allocationIdx, const VkImageMemoryBindInfo* pBindInfo, VkGpuMemory mem, VkGpuSize memOffset)
{
loader_platform_thread_lock_mutex(&objLock);
ll_increment_use_count((void*)image, VK_OBJECT_TYPE_IMAGE);
loader_platform_thread_unlock_mutex(&objLock);
- VkResult result = nextTable.BindImageMemoryRange(image, allocationIdx, bindInfo, mem, memOffset);
+ VkResult result = nextTable.BindImageMemoryRange(image, allocationIdx, pBindInfo, mem, memOffset);
return result;
}
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp
index f8562838..fae24d1c 100644
--- a/layers/param_checker.cpp
+++ b/layers/param_checker.cpp
@@ -519,18 +519,18 @@ VK_LAYER_EXPORT VkResult VKAPI vkQueueBindObjectMemoryRange(VkQueue queue, VkObj
return result;
}
-VK_LAYER_EXPORT VkResult VKAPI vkQueueBindImageMemoryRange(VkQueue queue, VkImage image, uint32_t allocationIdx, const VkImageMemoryBindInfo* bindInfo, VkGpuMemory mem, VkGpuSize memOffset)
+VK_LAYER_EXPORT VkResult VKAPI vkQueueBindImageMemoryRange(VkQueue queue, VkImage image, uint32_t allocationIdx, const VkImageMemoryBindInfo* pBindInfo, VkGpuMemory mem, VkGpuSize memOffset)
{
char str[1024];
- if (!bindInfo) {
- sprintf(str, "Struct ptr parameter bindInfo to function QueueBindImageMemoryRange is NULL.");
+ if (!pBindInfo) {
+ sprintf(str, "Struct ptr parameter pBindInfo to function QueueBindImageMemoryRange is NULL.");
layerCbMsg(VK_DBG_MSG_UNKNOWN, VK_VALIDATION_LEVEL_0, NULL, 0, 1, "PARAMCHECK", str);
}
- else if (!vk_validate_vkimagememorybindinfo(bindInfo)) {
- sprintf(str, "Parameter bindInfo to function BindImageMemoryRange contains an invalid value.");
+ else if (!vk_validate_vkimagememorybindinfo(pBindInfo)) {
+ sprintf(str, "Parameter pBindInfo to function BindImageMemoryRange contains an invalid value.");
layerCbMsg(VK_DBG_MSG_ERROR, VK_VALIDATION_LEVEL_0, NULL, 0, 1, "PARAMCHECK", str);
}
- VkResult result = nextTable.QueueBindImageMemoryRange(queue, image, allocationIdx, bindInfo, mem, memOffset);
+ VkResult result = nextTable.QueueBindImageMemoryRange(queue, image, allocationIdx, pBindInfo, mem, memOffset);
return result;
}