| commit | f955e638fb154dc5cd77dd2b82b3004fd54e57fa | [log] [tgz] |
|---|---|---|
| author | Alexis Hetu <sugoi@google.com> | Fri Mar 08 15:15:20 2019 -0500 |
| committer | Alexis Hétu <sugoi@google.com> | Fri Mar 08 20:25:13 2019 +0000 |
| tree | 4e05f25f955f5321cfed2c59fa7acd38d5a8953c | |
| parent | 0da99f52c506fe42e5eca4bf4c166d1fffa70ff8 [diff] |
Build fix Bug swiftshader:125 Change-Id: If24564a16d880a11e782e5f6b4f035e612255076 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/26573 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Chris Forbes <chrisforbes@google.com>
diff --git a/src/Vulkan/VkImageView.cpp b/src/Vulkan/VkImageView.cpp index 34e4f93..db6532c0 100644 --- a/src/Vulkan/VkImageView.cpp +++ b/src/Vulkan/VkImageView.cpp
@@ -123,7 +123,7 @@ { VkImageSubresourceLayers imageSubresourceLayers = { - aspect, + static_cast<VkImageAspectFlags>(aspect), subresourceRange.baseMipLevel, subresourceRange.baseArrayLayer, subresourceRange.layerCount