From 5cb523f046cc2e4ea3bf128f841241a9dc3c7217 Mon Sep 17 00:00:00 2001 From: Sergey Kosarevsky Date: Thu, 2 Nov 2023 14:19:27 -0700 Subject: [PATCH] igl | vulkan | No IGL no-copy buffers in Vulkan Summary: IGL "no-copy" buffers are not supported in the IGL/Vulkan backend. Reviewed By: mmaurer Differential Revision: D50898588 fbshipit-source-id: de85077cedbcb715790fe6447f20e716d83d7d6e --- src/igl/vulkan/Device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/igl/vulkan/Device.cpp b/src/igl/vulkan/Device.cpp index eed14c75c6..b6918090a4 100644 --- a/src/igl/vulkan/Device.cpp +++ b/src/igl/vulkan/Device.cpp @@ -625,7 +625,7 @@ bool Device::getFeatureLimits(DeviceFeatureLimits featureLimits, size_t& result) result = limits.minUniformBufferOffsetAlignment; return true; case DeviceFeatureLimits::BufferNoCopyAlignment: - result = limits.minUniformBufferOffsetAlignment; + result = 0; return true; case DeviceFeatureLimits::MaxBindBytesBytes: result = 0;