layers: MR128, Revert "layers: Work around Windows release build crash in cube"
authorChris Forbes <chrisforbes@google.com>
Thu, 17 Dec 2015 04:07:15 +0000 (17:07 +1300)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 12 Jan 2016 21:24:35 +0000 (14:24 -0700)
This reverts commit 470d0226d222ac1532a88e5c5f0b78b7a391f7ce.

Conflicts:
layers/draw_state.cpp

layers/draw_state.cpp

index 0ddce43..211b3d5 100644 (file)
@@ -1462,10 +1462,10 @@ static VkBool32 verifyPipelineCreateState(layer_data* my_data, const VkDevice de
 {
     VkBool32 skipCall = VK_FALSE;
 
+    //if (!validate_pipeline_shaders(my_data, device, &(pPipeline->graphicsPipelineCI))) {
     if (!validate_pipeline_shaders(my_data, device, pPipeline)) {
         skipCall = VK_TRUE;
     }
-
     // VS is required
     if (!(pPipeline->active_shaders & VK_SHADER_STAGE_VERTEX_BIT)) {
         skipCall |= log_msg(my_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, (VkDebugReportObjectTypeEXT) 0, 0, __LINE__, DRAWSTATE_INVALID_PIPELINE_CREATE_STATE, "DS",