Skip to content
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

Compat fixes #1748

Merged
merged 2 commits into from
Mar 16, 2018
Merged

Compat fixes #1748

merged 2 commits into from
Mar 16, 2018

Conversation

ben-clayton
Copy link
Contributor

No description provided.

// unaligned is a map of compat generated aligned buffer IDs to their
// original buffer.
unaligned map[BufferId]*Buffer
// scratch is a holds the temporary buffers created by the bufferCompat.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra "is a"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot. Fixed

We have to jump through hoops to support replaying on targets where the
minimum uniform alignment is smaller than the trace target.

There was a TODO for handling the case where the buffer is kept bound
while the buffer is updated. This CL fixes this case.

Issue: google#1563
We only render single-buffered at the moment.
@ben-clayton ben-clayton merged commit b18cafa into google:master Mar 16, 2018
@ben-clayton ben-clayton deleted the unaligned-bufs branch March 16, 2018 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants