diff options
author | Jason Ekstrand <[email protected]> | 2016-09-21 00:05:58 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-17 12:03:24 -0800 |
commit | 0c403df310fef209f764acd63a544178f8020247 (patch) | |
tree | e121751635f6cc16573b672999a7659f47b380dd /src | |
parent | 929fcee47e46781c57f2a354ce0a013915c033d1 (diff) |
anv/image: Stop force-disabling AUX
Auxiliary surfaces have to be created manually anyway so force-disabling it
does nothing whatsoever at the moment.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/vulkan/anv_image.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 3bd8be4c072..4b730aec353 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -41,9 +41,6 @@ choose_isl_surf_usage(VkImageUsageFlags vk_usage, { isl_surf_usage_flags_t isl_usage = 0; - /* FINISHME: Support aux surfaces */ - isl_usage |= ISL_SURF_USAGE_DISABLE_AUX_BIT; - if (vk_usage & VK_IMAGE_USAGE_SAMPLED_BIT) isl_usage |= ISL_SURF_USAGE_TEXTURE_BIT; @@ -62,7 +59,6 @@ choose_isl_surf_usage(VkImageUsageFlags vk_usage, */ switch (aspect) { case VK_IMAGE_ASPECT_DEPTH_BIT: - isl_usage &= ~ISL_SURF_USAGE_DISABLE_AUX_BIT; isl_usage |= ISL_SURF_USAGE_DEPTH_BIT; break; case VK_IMAGE_ASPECT_STENCIL_BIT: |