commit | 2cb8a1fd2fbcf5f2a0ed826252304d834d4678e8 | [log] [tgz] |
---|---|---|
author | Kaiyi Li <[email protected]> | Tue Aug 30 15:55:15 2022 -0700 |
committer | Kaiyi Li <[email protected]> | Tue Aug 30 16:02:59 2022 -0700 |
tree | a67ac5e644df393b9818fae547f391dc440bcfc7 | |
parent | cd59838289dd87b5c5288da071c1490316d62ee7 [diff] [blame] |
vulkan: set ColorBuffer vulkanMode Change-Id: Ifb456c66678513c271cb9c5ab49eb868aa3eb34f
diff --git a/stream-servers/vulkan/VkCommonOperations.cpp b/stream-servers/vulkan/VkCommonOperations.cpp index d5dd65f..3bdbd0f 100644 --- a/stream-servers/vulkan/VkCommonOperations.cpp +++ b/stream-servers/vulkan/VkCommonOperations.cpp
@@ -1826,6 +1826,9 @@ colorBufferHandle, res.image, *imageCi); } res.glExported = glExported; + if (vulkanOnly) { + res.vulkanMode = VkEmulation::VulkanMode::VulkanOnly; + } if (exported) *exported = res.glExported; if (allocSize) *allocSize = res.memory.size;