MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / ValidateNotZero

Method ValidateNotZero

layers/stateless/sl_utils.cpp:136–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136bool Context::ValidateNotZero(bool is_zero, const char* vuid, const Location& loc) const {
137 bool skip = false;
138 if (is_zero) {
139 skip |= log.LogError(vuid, error_obj.handle, loc, "is zero.");
140 }
141 return skip;
142}
143
144bool Context::ValidateRequiredPointer(const Location& loc, const void* value, const char* vuid) const {
145 bool skip = false;

Calls 1

LogErrorMethod · 0.80

Tested by

no test coverage detected