MCPcopy Create free account
hub / github.com/defold/defold / GetValidationLayers

Function GetValidationLayers

engine/graphics/src/vulkan/graphics_native.cpp:63–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 const char** GetValidationLayers(uint16_t* num_layers, bool use_validation)
64 {
65 uint16_t count = 0;
66 if (use_validation)
67 {
68 g_validation_layers[count++] = DM_VULKAN_LAYER_VALIDATION;
69 }
70 *num_layers = count;
71 return g_validation_layers;
72 }
73
74 const char** GetValidationLayersExt(uint16_t* num_layers)
75 {

Callers 2

VulkanNewContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected