commit | f665fdf0e7295808edc2de3397f6f434bf223b39 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Fri Jan 01 14:09:17 2016 -0800 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Mon Jan 04 16:08:05 2016 -0800 |
tree | 5e43724a63b4ce3a74749e0babb41cfa6a5f79d4 | |
parent | ceb05131daffea3de2777cfb22a9be2dc53d88cd [diff] |
anv/image_view: Separate vulkan and isl formats Previously, anv_image_view had a anv_format pointer that we used for everything. This commit replaces that pointer with a VkFormat enum copied from the API and an isl_format. In order to implement RGB formats, we have to use a different isl_format for the actual surface state than the obvious one from the VkFormat. Separating the two helps us keep things streight.