| 1 |
/* |
| 2 |
* Copyright 2018 Google |
| 3 |
* SPDX-License-Identifier: MIT |
| 4 |
*/ |
| 5 |
#pragma once |
| 6 |
|
| 7 |
#include <vulkan/vulkan.h> |
| 8 |
|
| 9 |
namespace gfxstream { |
| 10 |
namespace vk { |
| 11 |
|
| 12 |
class Validation { |
| 13 |
public: |
| 14 |
VkResult on_vkFlushMappedMemoryRanges(void* context, VkResult input_result, VkDevice device, |
| 15 |
uint32_t memoryRangeCount, |
| 16 |
const VkMappedMemoryRange* pMemoryRanges); |
| 17 |
VkResult on_vkInvalidateMappedMemoryRanges(void* context, VkResult input_result, |
| 18 |
VkDevice device, uint32_t memoryRangeCount, |
| 19 |
const VkMappedMemoryRange* pMemoryRanges); |
| 20 |
}; |
| 21 |
|
| 22 |
} // namespace vk |
| 23 |
} // namespace gfxstream |