diff options
author | Jason Ekstrand <[email protected]> | 2017-05-18 11:31:48 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-23 16:46:22 -0700 |
commit | 4eecd534f0544b62ae831a97708ade007541bd32 (patch) | |
tree | 2a4b9f8ec815d623e0042d4d3404b7dd352f715e /REVIEWERS | |
parent | cc45c4bb8072b6593812f9b68a7b3d2d00bfb9f0 (diff) |
anv/image: Get rid of the memset(aux, 0, sizeof(aux)) hack
Up until now, we've been memsetting the auxiliary surface to 0 at
BindImageMemory time to ensure that it is properly initialized.
However, this isn't correct because apps are allowed to freely alias
memory between different images and buffers so long as they properly
track whether or not a particular image is valid and, if it isn't,
transition from UNINITIALIZED to something else before using it. We
now implement those transitions so we can drop the hack.
Reviewed-by: Nanley Chery <[email protected]>
Cc: "17.1" <[email protected]>
Diffstat (limited to 'REVIEWERS')
0 files changed, 0 insertions, 0 deletions