anv: use image aspects rather than computed ones
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 30 Oct 2018 23:44:05 +0000 (23:44 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 13 Nov 2018 18:56:27 +0000 (18:56 +0000)
commit8b00d3d6ebd3a9e6694a43168a76dc9ce6e8c8a0
tree155212fdd21f6959ee01c80ebba2c1a24824db1f
parent465de47bad70404d7003799fcc074568c543062a
anv: use image aspects rather than computed ones

This shouldn't make any difference but I feel uneasy to use the
expanded aspects that do not represent the image in its entirety. If
we ever change the implementation of the anv_image_aspect_to_plane()
helper, this is safer.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_image.c