diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-05-23 16:02:29 -0600 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2016-05-25 10:19:25 -0600 |
| commit | 72db2cf8ed223058623943abb345225cd80f3e89 (patch) | |
| tree | e3bb66ba32cfc45a3112e0ab282f70916e4c6101 /layers | |
| parent | 14977c3af7d0ba12db17832196b3edc8663c5ba5 (diff) | |
| download | usermoji-72db2cf8ed223058623943abb345225cd80f3e89.tar.xz | |
layers: Handle static arrays in codegen
Update safe_struct codegen to handle the case of a static array
in a struct. This removes exceptions for VkDebugMarkerMarkerInfoEXT
and VkPipelineColorBlendStateCreateInfo so they can be treated
as all other structs.
Diffstat (limited to 'layers')
| -rw-r--r-- | layers/core_validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index e0d04c29..73a318e1 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -2696,7 +2696,7 @@ static bool validatePipelineDrawtimeState(layer_data const *my_data, const GLOBA VkSampleCountFlagBits subpass_num_samples = VkSampleCountFlagBits(0); uint32_t i; - const VkPipelineColorBlendStateCreateInfo *color_blend_state = pPipeline->graphicsPipelineCI.pColorBlendState; + const safe_VkPipelineColorBlendStateCreateInfo *color_blend_state = pPipeline->graphicsPipelineCI.pColorBlendState; if ((color_blend_state != NULL) && (pCB->activeSubpass == pPipeline->graphicsPipelineCI.subpass) && (color_blend_state->attachmentCount != subpass_desc->colorAttachmentCount)) { skip_call |= |
