aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-05-11 14:44:13 -0600
committerTobin Ehlis <tobine@google.com>2016-05-11 14:46:52 -0600
commit8a8b9e9bd3dfbd92759a0475a7082e7b0f1058ac (patch)
treed65aa86deae879d474aba1e00f2a7a0c4eb940f1
parentfaf9d0710a494dbcfe6f2d8cec2fedb325097ec1 (diff)
downloadusermoji-8a8b9e9bd3dfbd92759a0475a7082e7b0f1058ac.tar.xz
layers: Remove unused var to fix android build
-rw-r--r--layers/core_validation.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index 7b270ee0..9c33e629 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -8316,7 +8316,6 @@ static bool ValidateLayouts(const layer_data *my_data, VkDevice device, const Vk
for (uint32_t i = 0; i < pCreateInfo->subpassCount; ++i) {
const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[i];
for (uint32_t j = 0; j < subpass.inputAttachmentCount; ++j) {
- const VkAttachmentDescription attach_desc = pCreateInfo->pAttachments[subpass.pInputAttachments[j].attachment];
if (subpass.pInputAttachments[j].layout != VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL &&
subpass.pInputAttachments[j].layout != VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) {
if (subpass.pInputAttachments[j].layout == VK_IMAGE_LAYOUT_GENERAL) {