diff options
| author | Chia-I Wu <olv@lunarg.com> | 2015-10-26 17:24:52 +0800 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-11-02 14:17:21 -0700 |
| commit | 9bdb95c9198c77b15a77277912ba6d443fd711e4 (patch) | |
| tree | 398ca32f2617fa0974bd4561aa15b9b8443ae0cd /layers/device_limits.cpp | |
| parent | 591a922085b1f503c6b72fd1262e79296ef185ab (diff) | |
| download | usermoji-9bdb95c9198c77b15a77277912ba6d443fd711e4.tar.xz | |
bug 14918 part 2: some simple renames (WIP)
s/VK_QUEUE_SPARSE_MEMMGR_BIT/VK_QUEUE_SPARSE_BINDING_BIT/g
s/VK_SPARSE_IMAGE_FMT_/VK_SPARSE_IMAGE_FORMAT_/g
s/maxTexelBufferSize/maxTexelBufferElements/g
s/residencyStandard2DMSBlockShape/residencyStandard2DMultisampleBlockShape/g
s/formatProps/formatProperties/g
s/strideInBytes/stride/g
s/offsetInBytes/offset/g
s/blendConst\b/blendConstants/g
s/fillSize/size/g
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14918
Diffstat (limited to 'layers/device_limits.cpp')
| -rw-r--r-- | layers/device_limits.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/layers/device_limits.cpp b/layers/device_limits.cpp index eb21585f..41b0b6f0 100644 --- a/layers/device_limits.cpp +++ b/layers/device_limits.cpp @@ -576,7 +576,7 @@ VK_LAYER_EXPORT void VKAPI vkCmdFillBuffer( VkCmdBuffer cmdBuffer, VkBuffer destBuffer, VkDeviceSize destOffset, - VkDeviceSize fillSize, + VkDeviceSize size, uint32_t data) { layer_data *dev_data = get_my_data_ptr(get_dispatch_key(cmdBuffer), layer_data_map); @@ -590,16 +590,16 @@ VK_LAYER_EXPORT void VKAPI vkCmdFillBuffer( } } - // fillSize is the number of bytes to fill, which must be a multiple of 4. - if (fillSize & 3) { + // size is the number of bytes to fill, which must be a multiple of 4. + if (size & 3) { layer_data *my_data = get_my_data_ptr(get_dispatch_key(cmdBuffer), layer_data_map); if (log_msg(my_data->report_data, VK_DBG_REPORT_ERROR_BIT, (VkDbgObjectType)0, 0, 0, 1, "DL", - "vkCmdFillBuffer parameter, VkDeviceSize fillSize, is not a multiple of 4")) { + "vkCmdFillBuffer parameter, VkDeviceSize size, is not a multiple of 4")) { return; } } - dev_data->device_dispatch_table->CmdFillBuffer(cmdBuffer, destBuffer, destOffset, fillSize, data); + dev_data->device_dispatch_table->CmdFillBuffer(cmdBuffer, destBuffer, destOffset, size, data); } VK_LAYER_EXPORT VkResult VKAPI vkDbgCreateMsgCallback( |
