You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DeviceLocalBuffer's constructors don't expose SharingMode, so I didn't even know that this existed at first. It came to my attention when validation layers detected that it was not set correctly. It's set to Exclusive by default, but I need it to be set to Concurrent since I am uploading data to my buffers in a background thread on a background queue, then using them on the main thread in the main queue.
Looking at the source code, this seems like a fairly easy fix, but adding a parameter is an API change so it warrants discussion before making a PR.
The text was updated successfully, but these errors were encountered:
DeviceLocalBuffer's constructors don't expose SharingMode, so I didn't even know that this existed at first. It came to my attention when validation layers detected that it was not set correctly. It's set to Exclusive by default, but I need it to be set to Concurrent since I am uploading data to my buffers in a background thread on a background queue, then using them on the main thread in the main queue.
Looking at the source code, this seems like a fairly easy fix, but adding a parameter is an API change so it warrants discussion before making a PR.
The text was updated successfully, but these errors were encountered: