diff options
author | Mike Stroyan <stroyan@google.com> | 2016-10-19 09:27:17 -0600 |
---|---|---|
committer | Mike Stroyan <stroyan@google.com> | 2016-10-19 09:27:17 -0600 |
commit | 32cfeefe331adc1f1d779b02b4f60221d9935985 (patch) | |
tree | e4ee9ee10d3211cc0a7301a6f82bf2080f3e99b2 | |
parent | fd85205f113aa0ec80414bd1278fbd5887827807 (diff) | |
download | vulkan-validation-layers-32cfeefe331adc1f1d779b02b4f60221d9935985.tar.gz |
layers: Fix core_validation function declarations
Add VKAPI_ATTR to FlushMappedMemoryRanges and
InvalidateMappedMemoryRanges function declarations.
-rw-r--r-- | layers/core_validation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 498ffaff5..2ce7d2fef 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -11033,7 +11033,7 @@ static void CopyNoncoherentMemoryFromDriver(layer_data *dev_data, uint32_t memor } } -VkResult VKAPI_CALL +VKAPI_ATTR VkResult VKAPI_CALL FlushMappedMemoryRanges(VkDevice device, uint32_t memRangeCount, const VkMappedMemoryRange *pMemRanges) { VkResult result = VK_ERROR_VALIDATION_FAILED_EXT; bool skip_call = false; @@ -11049,7 +11049,7 @@ FlushMappedMemoryRanges(VkDevice device, uint32_t memRangeCount, const VkMappedM return result; } -VkResult VKAPI_CALL +VKAPI_ATTR VkResult VKAPI_CALL InvalidateMappedMemoryRanges(VkDevice device, uint32_t memRangeCount, const VkMappedMemoryRange *pMemRanges) { VkResult result = VK_ERROR_VALIDATION_FAILED_EXT; bool skip_call = false; |