Lines Matching refs:layerCount
53 uint32_t layerCount = 0; in initInstance() local
54 VkResult res = EnumerateInstanceLayerProperties(&layerCount, nullptr); in initInstance()
58 VkLayerProperties* layers = new VkLayerProperties[layerCount]; in initInstance()
59 res = EnumerateInstanceLayerProperties(&layerCount, layers); in initInstance()
64 for (uint32_t i = 0; i < layerCount; ++i) { in initInstance()
98 layerCount = fInstanceLayerStrings->count(); in initInstance()
99 for (uint32_t layerIndex = 0; layerIndex < layerCount; ++layerIndex) { in initInstance()
142 uint32_t layerCount = 0; in initDevice() local
143 VkResult res = EnumerateDeviceLayerProperties(physDev, &layerCount, nullptr); in initDevice()
147 VkLayerProperties* layers = new VkLayerProperties[layerCount]; in initDevice()
148 res = EnumerateDeviceLayerProperties(physDev, &layerCount, layers); in initDevice()
153 for (uint32_t i = 0; i < layerCount; ++i) { in initDevice()
188 layerCount = fDeviceLayerStrings->count(); in initDevice()
189 for (uint32_t layerIndex = 0; layerIndex < layerCount; ++layerIndex) { in initDevice()