aboutsummaryrefslogtreecommitdiff
path: root/layers
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-03-08 16:31:06 -0700
committerTobin Ehlis <tobine@google.com>2016-03-08 16:34:16 -0700
commit63df733ca24c5633a1ad02dc85d120458bd72383 (patch)
tree831e6c39872a241299ccc55edbfd0c404101da23 /layers
parent663977bb30d97f0fdc3a28590895111d0bf35083 (diff)
downloadusermoji-63df733ca24c5633a1ad02dc85d120458bd72383.tar.xz
layers: GH83 Fix updates of copies descriptor sets in draw_state
When a copied descriptor update is valid, need to update pUpdateStructs for the destination set. There are still some issues with how copied descriptors are handled in draw_state (noted in TODO on line 3049) but this fix addresses specific issue in GH83.
Diffstat (limited to 'layers')
-rw-r--r--layers/draw_state.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp
index 43ad37f6..b0d278f6 100644
--- a/layers/draw_state.cpp
+++ b/layers/draw_state.cpp
@@ -3049,6 +3049,7 @@ static VkBool32 dsUpdate(layer_data* my_data, VkDevice device, uint32_t descript
// TODO : This may be a hole. I believe copy should be its own copy,
// otherwise a subsequent write update to src will incorrectly affect the copy
pDstSet->ppDescriptors[j+dstStartIndex] = pSrcSet->ppDescriptors[j+srcStartIndex];
+ pDstSet->pUpdateStructs = pSrcSet->pUpdateStructs;
}
}
}