anv/image: Do swizzle remapping in anv_image.c
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 27 Jan 2016 04:16:43 +0000 (20:16 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 27 Jan 2016 04:23:59 +0000 (20:23 -0800)
commit9bc72a9213432622364bdeb0ddd053a494896a6e
treeaf885c5a657c407a9f6f1e4f62d63eb4d156ca66
parent7d84fe9b1f35da32c435c23eb07dfac4cbde7502
anv/image: Do swizzle remapping in anv_image.c

TODO: At some point, we really need to make an image_view_init_info that's
a flyweight and stop stuffing everything into image_view.
src/vulkan/anv_image.c
src/vulkan/anv_private.h
src/vulkan/gen7_state.c
src/vulkan/gen8_state.c
src/vulkan/genX_state_util.h