-
Notifications
You must be signed in to change notification settings - Fork 969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Mappable Primary Buffers Extension #708
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, the PR looks good!
Let's talk over matrix about how this will be used.
bors r+ |
708: Implement Mappable Primary Buffers Extension r=kvark a=cwfitzgerald **Connections** #675 made `MAP_WRITE | STORAGE` on buffers not possible. This extension re-enables it. **Description** UMA systems rejoice everywhere. **Testing** Hopefully it didn't break since it was usable a week or so ago, so this shouldn't need testing... **Review Notes** The name could be changed, particularly if primary has a certain meaning wrt buffers. It just seemed a reasonable description. Knowing my luck, I got the bitflags call wrong... Co-authored-by: Connor Fitzgerald <[email protected]>
bors r- |
Canceled. |
One thing is missing: where and when is this actually going to be exposed? In the PR as is, the extension is not exposed at all, so it's not usable. |
All this changes is the valid usages for buffers so the interface doesn't change at all. This worked fine before the assert was added, so]disabling the assert makes it work again. |
Well, yes and no. The assert is gone when the new extension is enabled. But for it to be enabled, the adapter needs to expose it as available. I don't see where it exposes it. |
ab4eea4
to
525c44f
Compare
D'oh, of course, fixed! |
525c44f
to
4258c60
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
bors r+
…s#708) * Add a note about references and pointers to Expression::Load * Formatting * Remove comma * Clearer English
Connections
#675 made
MAP_WRITE | STORAGE
on buffers not possible. This extension re-enables it.Description
UMA systems rejoice everywhere.
Testing
Hopefully it didn't break since it was usable a week or so ago, so this shouldn't need testing...
Review Notes
The name could be changed, particularly if primary has a certain meaning wrt buffers. It just seemed a reasonable description.
Knowing my luck, I got the bitflags call wrong...