Lines Matching refs:ASSERT

29 #define ASSERT(a)                                                              \  macro
35 #define VK_CALL(a) ASSERT(VK_SUCCESS == (a))
121 ASSERT(status == VK_SUCCESS || status == VK_INCOMPLETE); in init()
122 ASSERT(gpuCount > 0); in init()
134 ASSERT(ycbcrFeatures.samplerYcbcrConversion == VK_TRUE); in init()
151 ASSERT(enumerateDeviceExtensions(mGpu, &supportedDeviceExtensions)); in init()
153 ASSERT(hasExtension(extension, supportedDeviceExtensions)); in init()
165 ASSERT(externalSemaphoreProperties.externalSemaphoreFeatures & in init()
170 ASSERT(queueFamilyCount != 0); in init()
182 ASSERT(queueFamilyIndex < queueFamilyCount); in init()
228 ASSERT(mPfnBindImageMemory2); in init()
229 ASSERT(mPfnGetImageMemoryRequirements2); in init()
230 ASSERT(mPfnCreateSamplerYcbcrConversion); in init()
231 ASSERT(mPfnDestroySamplerYcbcrConversion); in init()
235 ASSERT(mPfnGetAndroidHardwareBufferProperties); in init()
239 ASSERT(mPfnImportSemaphoreFd); in init()
286 ASSERT(bufferDesc.layers == 1); in init()
298 ASSERT(useExternalFormat || formatInfo.format != VK_FORMAT_UNDEFINED); in init()
376 ASSERT(VK_TRUE == dedicatedMemReqs.prefersDedicatedAllocation); in init()
377 ASSERT(VK_TRUE == dedicatedMemReqs.requiresDedicatedAllocation); in init()
743 ASSERT(mVertexShaderModule.init(mInit, env, assetMgr, "shaders/passthrough_vsh.spv")); in init()
744 ASSERT(mFragmentShaderModule.init(mInit, env, assetMgr, "shaders/passthrough_fsh.spv")); in init()
812 ASSERT(renderImageAndReadback(image, sampler, view, semaphore, in renderImageAndReadback()
1198 ASSERT(file); in init()