aboutsummaryrefslogtreecommitdiff
path: root/layers/param_checker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layers/param_checker.cpp')
-rw-r--r--layers/param_checker.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp
index 38f1ca80..8bb52878 100644
--- a/layers/param_checker.cpp
+++ b/layers/param_checker.cpp
@@ -5041,6 +5041,11 @@ bool PreCreateGraphicsPipelines(
}
}
}
+ if(pCreateInfos->renderPass == VK_NULL_HANDLE)
+ {
+ log_msg(mdd(device), VK_DBG_REPORT_ERROR_BIT, (VkDbgObjectType)0, 0, 0, 1, "PARAMCHECK",
+ "vkCreateGraphicsPipelines parameter, VkRenderPass pCreateInfos->renderPass, is null pointer");
+ }
}
return true;