diff options
author | Jason Ekstrand <[email protected]> | 2020-01-06 11:23:43 -0600 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-24 17:42:36 +0000 |
commit | 9a1232a745cba8f6782ae3833aa2cbdba710fd80 (patch) | |
tree | cce6b288a20f25252d83033c45175efa7f1e3821 /src/util/build_id.h | |
parent | 769d6ba2009a366e0e49f399497a59876dd89286 (diff) |
anv: Add a layout_to_aux_state helper
This new helper maps VkImageLayout enums to isl_aux_state enums which
are the hardware's concept of image layouts. We can then use the aux
state to get the fast clear type and the aux usage. This should yield
no functional change in driver behavior.
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Nanley Chery <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2605>
Diffstat (limited to 'src/util/build_id.h')
0 files changed, 0 insertions, 0 deletions