summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_image.c
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-01-08 18:04:54 +0000
committerEric Engestrom <[email protected]>2019-01-08 18:47:56 +0000
commit4f5a52678988ba537a38dfa9aeb0eaed7d4a216e (patch)
tree7bc48611c94b5022edecb6a09028ff6a9a89781e /src/intel/vulkan/anv_image.c
parentd0c6ef2793370a943a21c1d5e47e397c96b183f6 (diff)
anv: drop unneeded KHR suffix
Signed-off-by: Eric Engestrom <[email protected]> Acked-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_image.c')
-rw-r--r--src/intel/vulkan/anv_image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c
index 99f835488ce..3a672c24b21 100644
--- a/src/intel/vulkan/anv_image.c
+++ b/src/intel/vulkan/anv_image.c
@@ -858,7 +858,7 @@ void anv_GetImageSubresourceLayout(
ANV_FROM_HANDLE(anv_image, image, _image);
const struct anv_surface *surface;
- if (subresource->aspectMask == VK_IMAGE_ASPECT_PLANE_1_BIT_KHR &&
+ if (subresource->aspectMask == VK_IMAGE_ASPECT_PLANE_1_BIT &&
image->drm_format_mod != DRM_FORMAT_MOD_INVALID &&
isl_drm_modifier_has_aux(image->drm_format_mod))
surface = &image->planes[0].aux_surface;
@@ -1438,7 +1438,7 @@ anv_CreateImageView(VkDevice _device,
* VK_IMAGE_ASPECT_COLOR_BIT will be converted to
* VK_IMAGE_ASPECT_PLANE_0_BIT | VK_IMAGE_ASPECT_PLANE_1_BIT |
* VK_IMAGE_ASPECT_PLANE_2_BIT for an image of format
- * VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM_KHR.
+ * VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM.
*/
VkImageAspectFlags expanded_aspects =
anv_image_expand_aspects(image, range->aspectMask);