Home
last modified time | relevance | path

Searched refs:TCU_CHECK (Results 1 – 25 of 137) sorted by relevance

123456

/external/deqp/framework/common/
DtcuEither.cpp58 TCU_CHECK(m_copyCheck == COPYCHECK_VALUE); in operator =()
66 TCU_CHECK(m_copyCheck == COPYCHECK_VALUE); in operator =()
73 TCU_CHECK(m_copyCheck == COPYCHECK_VALUE); in getValue()
92 TCU_CHECK(either.isFirst()); in Either_selfTest()
93 TCU_CHECK(!either.isSecond()); in Either_selfTest()
95 TCU_CHECK(either.is<int>()); in Either_selfTest()
96 TCU_CHECK(!either.is<float>()); in Either_selfTest()
98 TCU_CHECK(either.getFirst() == intValue); in Either_selfTest()
99 TCU_CHECK(either.get<int>() == intValue); in Either_selfTest()
107 TCU_CHECK(!either.isFirst()); in Either_selfTest()
[all …]
DtcuImageIO.cpp89 TCU_CHECK(png_sig_cmp((png_bytep)&header[0], 0, DE_LENGTH_OF_ARRAY(header)) == 0); in loadPNG()
92 TCU_CHECK(png_ptr); in loadPNG()
95 TCU_CHECK(info_ptr); in loadPNG()
158 TCU_CHECK(fp); in savePNG()
165 TCU_CHECK(pngPtr); in savePNG()
172 TCU_CHECK(infoPtr); in savePNG()
DtcuFloatFormat.cpp375 TCU_CHECK(m_fmt->floatToHex(p(0)) == "0x1.000000p0"); in runTest()
376 TCU_CHECK(m_fmt->floatToHex(p(8) + p(-4)) == "0x1.001000p8"); in runTest()
377 TCU_CHECK(m_fmt->floatToHex(p(-140)) == "0x0.000400p-126"); in runTest()
378 TCU_CHECK(m_fmt->floatToHex(p(-140)) == "0x0.000400p-126"); in runTest()
379 TCU_CHECK(m_fmt->floatToHex(p(-126) + p(-125)) == "0x1.800000p-125"); in runTest()
/external/deqp/framework/opengl/
DgluVarTypeUtil.cpp93 TCU_CHECK(tokenizer.getToken() == VarTokenizer::TOKEN_IDENTIFIER); in parseVariableName()
112 TCU_CHECK(tokenizer.getToken() == VarTokenizer::TOKEN_IDENTIFIER); in parseTypePath()
131 TCU_CHECK(tokenizer.getToken() == VarTokenizer::TOKEN_NUMBER); in parseTypePath()
137 TCU_CHECK(de::inBounds(ndx, 0, curType.getArraySize())); in parseTypePath()
142 TCU_CHECK(de::inBounds(ndx, 0, getDataTypeMatrixNumColumns(curType.getBasicType()))); in parseTypePath()
147 TCU_CHECK(de::inBounds(ndx, 0, getDataTypeScalarSize(curType.getBasicType()))); in parseTypePath()
154 TCU_CHECK(tokenizer.getToken() == VarTokenizer::TOKEN_RIGHT_BRACKET); in parseTypePath()
DgluTexture.cpp84 TCU_CHECK(m_glTexture); in upload()
167 TCU_CHECK(m_glTexture); in upload()
192 TCU_CHECK(m_glTexture); in loadCompressed()
202 TCU_CHECK(level.getWidth() == refLevelAccess.getWidth() && in loadCompressed()
277 TCU_CHECK(numLevels == (int)filenames.size()); in create()
299 TCU_CHECK(m_glTexture); in upload()
386 TCU_CHECK(m_glTexture); in upload()
414 TCU_CHECK(m_glTexture); in loadCompressed()
426 TCU_CHECK(level.getWidth() == refLevelAccess.getWidth() && in loadCompressed()
464 TCU_CHECK(numLevels*tcu::CUBEFACE_LAST == (int)filenames.size()); in create()
[all …]
/external/deqp/framework/platform/win32/
DtcuWin32EGLNativeDisplayFactory.cpp306 TCU_CHECK(GetClientRect(m_window.getHandle(), &rect)); in readScreenPixels()
317 TCU_CHECK(screenDC); in readScreenPixels()
320 TCU_CHECK(windowDC); in readScreenPixels()
323 TCU_CHECK(tmpDC != DE_NULL); in readScreenPixels()
328 TCU_CHECK(tmpBitmap != DE_NULL); in readScreenPixels()
330 TCU_CHECK(SelectObject(tmpDC, tmpBitmap) != DE_NULL); in readScreenPixels()
332 TCU_CHECK(BitBlt(tmpDC, 0, 0, width, height, screenDC, rect.left, rect.top, SRCCOPY)); in readScreenPixels()
349TCU_CHECK(GetDIBits(screenDC, tmpBitmap, 0, height, dst->getAccess().getDataPtr(), (BITMAPINFO*)&b… in readScreenPixels()
/external/deqp/modules/egl/
DteglSyncTests.cpp454 TCU_CHECK(m_sync == eglNoSync); in test()
514 TCU_CHECK(m_sync == eglNoSync); in test()
580 TCU_CHECK(m_sync == eglNoSync); in test()
644 TCU_CHECK(m_sync == eglNoSync); in test()
700 TCU_CHECK(status == EGL_CONDITION_SATISFIED_KHR || status == EGL_TIMEOUT_EXPIRED_KHR); in test()
702 TCU_CHECK(status == EGL_TIMEOUT_EXPIRED_KHR); in test()
782 TCU_CHECK(status == condSatisfied); in test()
868 TCU_CHECK(result == condSatisfied); in test()
940 TCU_CHECK(status == condSatisfied); in test()
1018 TCU_CHECK(status == EGL_FALSE); in test()
[all …]
DteglGLES2SharingTests.cpp142 TCU_CHECK(context != EGL_NO_CONTEXT); in createContext()
407 TCU_CHECK(gridLocation != (GLuint)-1); in renderResource()
411 TCU_CHECK(colorLocation != (GLuint)-1); in renderResource()
576 TCU_CHECK(coordLocation != (GLuint)-1); in renderResource()
580 TCU_CHECK(texCoordLocation != (GLuint)-1); in renderResource()
585 TCU_CHECK(samplerLocation != (GLuint)-1); in renderResource()
721 TCU_CHECK(coordLocation != (GLuint)-1); in renderResource()
725 TCU_CHECK(colorLocation != (GLuint)-1); in renderResource()
1010 TCU_CHECK(coordLocation != (GLuint)-1); in renderResource()
1014 TCU_CHECK(colorLocation != (GLuint)-1); in renderResource()
/external/deqp/framework/egl/
DegluUtil.cpp269 TCU_CHECK(display != EGL_NO_DISPLAY); in getDisplay()
277 TCU_CHECK(display != EGL_NO_DISPLAY); in getDisplay()
283 TCU_CHECK(display != EGL_NO_DISPLAY); in getDisplay()
345 TCU_CHECK(surface != EGL_NO_SURFACE); in createWindowSurface()
352 TCU_CHECK(surface != EGL_NO_SURFACE); in createWindowSurface()
359 TCU_CHECK(surface != EGL_NO_SURFACE); in createWindowSurface()
402 TCU_CHECK(surface != EGL_NO_SURFACE); in createPixmapSurface()
410 TCU_CHECK(surface != EGL_NO_SURFACE); in createPixmapSurface()
417 TCU_CHECK(surface != EGL_NO_SURFACE); in createPixmapSurface()
/external/deqp/framework/platform/raspi/
DtcuRaspiPlatform.cpp140 TCU_CHECK(m_dispmanDisplay); in Window()
143 TCU_CHECK(dispmanUpdate); in Window()
146 TCU_CHECK(m_dispmanElement); in Window()
/external/deqp/framework/platform/android/
DtcuAndroidAssets.cpp62 TCU_CHECK(AAsset_read(m_asset, dst, numBytes) == numBytes); in read()
72 TCU_CHECK(AAsset_seek(m_asset, position, SEEK_SET) == position); in setPosition()
/external/deqp/external/vulkancts/modules/vulkan/
DvktInfoTests.cpp231 TCU_CHECK(limits.totalSystemMemory > 0); in logPlatformMemoryLimits()
232 TCU_CHECK(limits.deviceMemoryAllocationGranularity > 0); in logPlatformMemoryLimits()
233 TCU_CHECK(deIsPowerOfTwo64(limits.devicePageSize)); in logPlatformMemoryLimits()
/external/deqp/modules/internal/
DditImageIOTests.cpp60TCU_CHECK(texture.getAccess().getRowPitch() == texture.getWidth()*texture.getFormat().getPixelSize… in iterate()
61TCU_CHECK(texture.getAccess().getSlicePitch() == texture.getAccess().getRowPitch()*texture.getAcce… in iterate()
/external/deqp/modules/gles3/functional/
Des3fBufferMapTests.cpp84 TCU_CHECK(ptr); in iterate()
135 TCU_CHECK(ptr); in iterate()
189 TCU_CHECK(ptr); in iterate()
250 TCU_CHECK(ptr); in iterate()
309 TCU_CHECK(ptr); in iterate()
370 TCU_CHECK(ptr); in iterate()
445 TCU_CHECK(ptr); in iterate()
509 TCU_CHECK(ptr); in iterate()
Des3fFboMultisampleTests.cpp286 TCU_CHECK(glCheckFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE); in test()
303 TCU_CHECK(glCheckFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE); in test()
307 TCU_CHECK(glCheckFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE); in test()
332 TCU_CHECK(compareThreshold(color, tcu::RGBA::green(), threshold)); in test()
/external/deqp/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp233 TCU_CHECK(isValidFloatVec(m_precision, scale)); in iterate()
234 TCU_CHECK(isValidFloatVec(m_precision, bias)); in iterate()
237 TCU_CHECK(isValidFloat(m_precision, coords[ndx])); in iterate()
238 TCU_CHECK(isValidFloat(m_precision, coords[ndx] * scale[ndx % 3] + bias[ndx % 3])); in iterate()
/external/deqp/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp227 TCU_CHECK(isValidFloatVec(m_precision, scale)); in iterate()
228 TCU_CHECK(isValidFloatVec(m_precision, bias)); in iterate()
231 TCU_CHECK(isValidFloat(m_precision, coords[ndx])); in iterate()
232 TCU_CHECK(isValidFloat(m_precision, coords[ndx] * scale[ndx % 3] + bias[ndx % 3])); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp350 TCU_CHECK(!!memoryObjects[ndx]); in iterate()
387 TCU_CHECK(!!memoryObjects[ndx]); in iterate()
444 TCU_CHECK(validateRes.violations.empty()); in iterate()
509 TCU_CHECK(m_memoryProperties.memoryHeapCount <= 32); in iterate()
510 TCU_CHECK(m_memoryProperties.memoryTypeCount <= 32); in iterate()
531 TCU_CHECK(type.type.heapIndex < m_memoryProperties.memoryHeapCount); in iterate()
656 TCU_CHECK(!!heap.objects.back().memory); in iterate()
/external/deqp/modules/glshared/
DglsMemoryStressCase.cpp229 TCU_CHECK(coordLoc != (deUint32)-1); in render()
244 TCU_CHECK(texLoc != (deUint32)-1); in render()
389 TCU_CHECK(bufferLoc != (deUint32)-1); in render()
392 TCU_CHECK(coordLoc != (deUint32)-1); in render()
853 TCU_CHECK(!m_zeroAlloc); in deinit()
/external/deqp/external/vulkancts/framework/vulkan/
DvkQueryUtil.cpp287 TCU_CHECK((size_t)numLayers == properties.size()); in enumerateInstanceLayerProperties()
304 TCU_CHECK((size_t)numExtensions == properties.size()); in enumerateInstanceExtensionProperties()
321 TCU_CHECK((size_t)numLayers == properties.size()); in enumerateDeviceLayerProperties()
338 TCU_CHECK((size_t)numExtensions == properties.size()); in enumerateDeviceExtensionProperties()
/external/deqp/framework/randomshaders/
DrsgProgramExecutor.cpp140 TCU_CHECK(valueRange.getType().getBaseType() == VariableType::TYPE_FLOAT); in interpolateVertexInput()
153 TCU_CHECK(dst.getType().getBaseType() == VariableType::TYPE_FLOAT); in interpolateFragmentInput()
162 TCU_CHECK(dst.getType().getBaseType() == VariableType::TYPE_FLOAT); in copyVarying()
299 TCU_CHECK(fragColorVar); in execute()
/external/deqp/modules/gles2/functional/
Des2fShaderApiTests.cpp338 TCU_CHECK(shaderObject != 0); in test()
372 TCU_CHECK(shaderObject != 0); in test()
377 TCU_CHECK(checkCompileStatus(shaderObject)); in test()
411 TCU_CHECK(vertShader != 0); in compileShaders()
412 TCU_CHECK(fragShader != 0); in compileShaders()
430 TCU_CHECK(program != 0); in linkProgram()
488 TCU_CHECK(checkDeleteStatus(m_vertShader) && checkDeleteStatus(m_fragShader)); in test()
492 TCU_CHECK(!(glIsShader(m_vertShader) || glIsShader(m_fragShader))); in test()
/external/deqp/framework/opengl/simplereference/
DsglrContextUtil.cpp75 TCU_CHECK(posLoc >= 0); in drawQuadWithVaoBuffers()
138 TCU_CHECK(posLoc >= 0); in drawQuadWithClientPointers()
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.cpp91 TCU_CHECK(m_fd >= 0); in NativeHandle()
447 TCU_CHECK(fd >= 0); in getMemoryFd()
471 TCU_CHECK(fd >= 0); in getMemoryNative()
519 TCU_CHECK(ahb.internal); in getMemoryNative()
562 TCU_CHECK(fd >= 0); in getFenceFd()
587 TCU_CHECK(fd >= 0); in getFenceNative()
717 TCU_CHECK(fd >= 0); in getSemaphoreFd()
742 TCU_CHECK(fd >= 0); in getSemaphoreNative()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiExternalMemoryTests.cpp735 TCU_CHECK(properties.pNext == DE_NULL); in testSemaphoreQueries()
736 TCU_CHECK(properties.sType == vk::VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES); in testSemaphoreQueries()
1612 TCU_CHECK(cmsg->cmsg_level == SOL_SOCKET); in testSemaphoreFdSendOverSocket()
1613 TCU_CHECK(cmsg->cmsg_type == SCM_RIGHTS); in testSemaphoreFdSendOverSocket()
1614 TCU_CHECK(cmsg->cmsg_len == CMSG_LEN(sizeof(int))); in testSemaphoreFdSendOverSocket()
1615 TCU_CHECK(recvData == sendData); in testSemaphoreFdSendOverSocket()
1674 TCU_CHECK(properties.pNext == DE_NULL); in testFenceQueries()
1675 TCU_CHECK(properties.sType == vk::VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES); in testFenceQueries()
2624 TCU_CHECK(cmsg->cmsg_level == SOL_SOCKET); in testFenceFdSendOverSocket()
2625 TCU_CHECK(cmsg->cmsg_type == SCM_RIGHTS); in testFenceFdSendOverSocket()
[all …]

123456