diff options
| author | Tobin Ehlis <tobin@lunarg.com> | 2015-09-09 13:31:01 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobin@lunarg.com> | 2015-09-09 16:32:38 -0600 |
| commit | 83f14b504ba098c34befeeaa12ae036c768bc9c1 (patch) | |
| tree | 3665612eba9ef97bb520b200b3ee263208f5bac5 /layers/multi.cpp | |
| parent | 8a724d8c8f0fc69457d10cd32dca7f0478c66ce9 (diff) | |
| download | usermoji-83f14b504ba098c34befeeaa12ae036c768bc9c1.tar.xz | |
layers: DrawState fix to prevent false positives when matching PipelineLayouts
Updated existing check where PipelineLayout found with vkBindDescriptorSets was always checked against PipelineLayout from PSO. Since there are cases when a Draw requires no Descriptors the check was modified for now to only occur when vkCmdBindDescriptorSets has been called. This is still not perfect but will prevent false positives.
Really need to identify when it's valid to not call vkCmdBindDescriptorSets and, if so, don't perform the PipelineLayout match check.
Diffstat (limited to 'layers/multi.cpp')
0 files changed, 0 insertions, 0 deletions
