aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorMike Stroyan <stroyan@google.com>2016-10-19 09:27:17 -0600
committerMike Stroyan <stroyan@google.com>2016-10-19 09:27:17 -0600
commit3ef14f907d9333582d27baa32c9721bc9998d926 (patch)
treed243652c6e86d479b9cafe7fe4364dcdd4425df6 /layers/core_validation.cpp
parentf28240d5ea1c6f443437a7a641e516bc1a7269e5 (diff)
downloadusermoji-3ef14f907d9333582d27baa32c9721bc9998d926.tar.xz
layers: Fix core_validation function declarations
Add VKAPI_ATTR to FlushMappedMemoryRanges and InvalidateMappedMemoryRanges function declarations.
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index 498ffaff..2ce7d2fe 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;