diff options
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 288ec36c..c17ca3e4 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -2855,6 +2855,11 @@ static bool validate_and_capture_pipeline_shader_state(debug_report_data *report enabledFeatures, shaderModuleMap); } + // if the shader stages are no good individually, cross-stage validation is + // pointless. + if (!pass) + return false; + vi = pCreateInfo->pVertexInputState; if (vi) { |
