Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

Tobin gh1259 aliasing #1264

Merged
merged 3 commits into from
Dec 13, 2016
Merged

Tobin gh1259 aliasing #1264

merged 3 commits into from
Dec 13, 2016

Conversation

tobine
Copy link
Contributor

@tobine tobine commented Dec 13, 2016

See #1259

This is a couple of simple updates to improves handling of aliasing in the validation layers.
Change an error to a warning and initialize a variable.

The Buffer-Image Granularity section of the spec details what must be
done to avoid having a linear buffer alias with a tiled image, but it
does not state that such aliasing is a definite error.

Demoting this check to a warning.
aliase->aliased
Zero-init the map_range variable before checking for aliasing of a
mapped memory region.
@tobine tobine merged commit f6e16b2 into master Dec 13, 2016
@tobine tobine deleted the tobin_gh1259_aliasing branch February 21, 2017 19:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants