Commit 35e389cc by Jamie Madill Committed by Commit Bot

Vulkan: Remove unicode character from error string.

Will fix presubmit checks on Windows. Bug: angleproject:4586 Change-Id: I36cec3e850c88a015f33d8a0bb7cc8f8c26402d0 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2165628 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent ab1a2f62
...@@ -3090,7 +3090,7 @@ void ImageHelper::stageSubresourceUpdateFromImage(ImageHelper *image, ...@@ -3090,7 +3090,7 @@ void ImageHelper::stageSubresourceUpdateFromImage(ImageHelper *image,
{ {
// These values must be set explicitly to follow the Vulkan spec: // These values must be set explicitly to follow the Vulkan spec:
// https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VkImageCopy.html // https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VkImageCopy.html
// If either of the calling commands srcImage or dstImage parameters are of VkImageType // If either of the calling command's srcImage or dstImage parameters are of VkImageType
// VK_IMAGE_TYPE_3D, the baseArrayLayer and layerCount members of the corresponding // VK_IMAGE_TYPE_3D, the baseArrayLayer and layerCount members of the corresponding
// subresource must be 0 and 1, respectively // subresource must be 0 and 1, respectively
copyToImage.dstSubresource.baseArrayLayer = 0; copyToImage.dstSubresource.baseArrayLayer = 0;
......
...@@ -241,7 +241,7 @@ const char *VulkanResultString(VkResult result) ...@@ -241,7 +241,7 @@ const char *VulkanResultString(VkResult result)
case VK_ERROR_OUT_OF_POOL_MEMORY: case VK_ERROR_OUT_OF_POOL_MEMORY:
return "A pool memory allocation has failed"; return "A pool memory allocation has failed";
case VK_ERROR_FRAGMENTED_POOL: case VK_ERROR_FRAGMENTED_POOL:
return "A pool allocation has failed due to fragmentation of the pools memory"; return "A pool allocation has failed due to fragmentation of the pool's memory";
case VK_ERROR_INVALID_EXTERNAL_HANDLE: case VK_ERROR_INVALID_EXTERNAL_HANDLE:
return "An external handle is not a valid handle of the specified type"; return "An external handle is not a valid handle of the specified type";
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment