Skip to content

Commit

Permalink
igl | vulkan | No IGL no-copy buffers in Vulkan
Browse files Browse the repository at this point in the history
Summary: IGL "no-copy" buffers are not supported in the IGL/Vulkan backend.

Reviewed By: mmaurer

Differential Revision: D50898588

fbshipit-source-id: de85077cedbcb715790fe6447f20e716d83d7d6e
  • Loading branch information
corporateshark authored and facebook-github-bot committed Nov 2, 2023
1 parent 56fa3a9 commit 5cb523f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/igl/vulkan/Device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5cb523f

Please sign in to comment.