diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-05-15 23:00:17 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-05-22 20:07:21 +0200 |
commit | 0b26f0ee4fc520fc7497183345b3e607a06751c1 (patch) | |
tree | a49ce611edb90bd107fdb1d56eeab39ca2374489 /src/amd/vulkan/radv_private.h | |
parent | 0628580eff6110eda71e33ee608c633266bfdeff (diff) |
radv: Add queue masks for htile usage determination.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index f9049802939..a6db5cd4ae0 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1189,7 +1189,8 @@ struct radv_image { /* Whether the image has a htile that is known consistent with the contents of * the image. */ bool radv_layout_has_htile(const struct radv_image *image, - VkImageLayout layout); + VkImageLayout layout, + unsigned queue_mask); /* Whether the image has a htile that is known consistent with the contents of * the image and is allowed to be in compressed form. @@ -1198,7 +1199,8 @@ bool radv_layout_has_htile(const struct radv_image *image, * correct results. */ bool radv_layout_is_htile_compressed(const struct radv_image *image, - VkImageLayout layout); + VkImageLayout layout, + unsigned queue_mask); bool radv_layout_can_fast_clear(const struct radv_image *image, VkImageLayout layout, |