layers: Skip if vertex entry point is NULL
diff --git a/layers/core_checks/cc_pipeline_graphics.cpp b/layers/core_checks/cc_pipeline_graphics.cpp
index 5538ed0..9c51e48 100644
--- a/layers/core_checks/cc_pipeline_graphics.cpp
+++ b/layers/core_checks/cc_pipeline_graphics.cpp
@@ -4251,7 +4251,10 @@
};
const spirv::EntryPoint *vertex_entry_point = last_bound.GetVertexEntryPoint();
- ASSERT_AND_RETURN_SKIP(vertex_entry_point);
+ // Can be NULL if pipeline binaries are used
+ if (!vertex_entry_point) {
+ return skip;
+ }
vvl::unordered_set<uint32_t> spirv_input_locations;
for (const auto &pair : vertex_entry_point->input_interface_slots) {
spirv_input_locations.emplace(pair.first.Location());