aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Northrop <cnorthrop@google.com>2019-04-02 16:03:08 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-04-02 16:03:08 -0700
commit22b61727ed47330bfc98372f91151f2139119c7a (patch)
tree14d8c016827399c8e4e83829a2a9ff94f972ed11
parent1da706cf53e4ddf0d0c28937d04e28b8d1902f78 (diff)
parent8eff5c31a6208c566e677c2bf2de43edea0bb318 (diff)
downloadvulkan-validation-layers-22b61727ed47330bfc98372f91151f2139119c7a.tar.gz
android: Make clang happy with braces am: b444932260
am: 8eff5c31a6 Change-Id: I7bfd1255bd3fbd8cc92d2408bb451495835be6cf
-rw-r--r--layers/descriptor_sets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp
index 67b0b1b56..9cb7df2b9 100644
--- a/layers/descriptor_sets.cpp
+++ b/layers/descriptor_sets.cpp
@@ -1507,7 +1507,7 @@ bool cvdescriptorset::ValidateImageUpdate(VkImageView image_view, VkImageLayout
if ((type == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) || (type == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER)) {
// Test that the layout is compatible with the descriptorType for the two sampled image types
const static std::array<VkImageLayout, 3> valid_layouts = {
- VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL};
+ {VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_GENERAL}};
struct ExtensionLayout {
VkImageLayout layout;