aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2016-03-24 11:42:09 +1300
committerTobin Ehlis <tobine@google.com>2016-03-24 07:11:47 -0600
commit0a4461f47014dff6ebf45c03f9cc23ea05fbf43d (patch)
treeb9fd9fba19ef2a91fac86e06a91966af58ece4b7
parent0fda7ff2b17ea83f451b59b7dbcf1f2660730eef (diff)
downloadusermoji-0a4461f47014dff6ebf45c03f9cc23ea05fbf43d.tar.xz
layers: remove weird double assignment to pAttachments
-rw-r--r--layers/core_validation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index 62507903..63ca5362 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -3033,7 +3033,7 @@ static VkBool32 verifyPipelineCreateState(layer_data *my_data, const VkDevice de
if (pPipeline->graphicsPipelineCI.pColorBlendState != NULL) {
if (!my_data->physDevProperties.features.independentBlend) {
if (pPipeline->attachments.size() > 0) {
- VkPipelineColorBlendAttachmentState *pAttachments = pAttachments = &pPipeline->attachments[0];
+ VkPipelineColorBlendAttachmentState *pAttachments = &pPipeline->attachments[0];
for (size_t i = 1; i < pPipeline->attachments.size(); i++) {
if ((pAttachments[0].blendEnable != pAttachments[i].blendEnable) ||
(pAttachments[0].srcColorBlendFactor != pAttachments[i].srcColorBlendFactor) ||