diff options
Diffstat (limited to 'include/gpu/vk/GrVkTypes.h')
-rw-r--r-- | include/gpu/vk/GrVkTypes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/gpu/vk/GrVkTypes.h b/include/gpu/vk/GrVkTypes.h index 782cb90b21..aa1334adca 100644 --- a/include/gpu/vk/GrVkTypes.h +++ b/include/gpu/vk/GrVkTypes.h @@ -34,6 +34,11 @@ struct GrVkAlloc { VkDeviceMemory fMemory; // can be VK_NULL_HANDLE iff Tex is an RT and uses borrow semantics VkDeviceSize fOffset; VkDeviceSize fSize; // this can be indeterminate iff Tex uses borrow semantics + uint32_t fFlags; + + enum Flag { + kNoncoherent_Flag = 0x1, // memory must be flushed to device after mapping + }; }; struct GrVkImageInfo { |