Home
last modified time | relevance | path

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

12345

/external/deqp/framework/common/
DtcuEither.cpp47 TCU_CHECK(m_copyCheck == COPYCHECK_VALUE); in ~TestClassWithConstructor()
58 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()
[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()
352 TCU_CHECK(m_glTexture); in upload()
380 TCU_CHECK(m_glTexture); in loadCompressed()
392 TCU_CHECK(level.getWidth() == refLevelAccess.getWidth() && in loadCompressed()
430 TCU_CHECK(numLevels*tcu::CUBEFACE_LAST == (int)filenames.size()); in create()
473 TCU_CHECK(m_glTexture); in upload()
[all …]
/external/deqp/modules/egl/
DteglSyncTests.cpp340 TCU_CHECK(m_sync == EGL_NO_SYNC_KHR); in iterate()
373 TCU_CHECK(m_sync == EGL_NO_SYNC_KHR); in iterate()
411 TCU_CHECK(m_sync == EGL_NO_SYNC_KHR); in iterate()
447 TCU_CHECK(m_sync == EGL_NO_SYNC_KHR); in iterate()
475 TCU_CHECK(status == EGL_CONDITION_SATISFIED_KHR || status == EGL_TIMEOUT_EXPIRED_KHR); in iterate()
477 TCU_CHECK(status == EGL_TIMEOUT_EXPIRED_KHR); in iterate()
521 TCU_CHECK(status == EGL_CONDITION_SATISFIED_KHR); in iterate()
567 TCU_CHECK(result == EGL_CONDITION_SATISFIED_KHR); in iterate()
601 TCU_CHECK(status == EGL_CONDITION_SATISFIED_KHR); in iterate()
638 TCU_CHECK(status == EGL_FALSE); in iterate()
[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()
DteglClientExtensionTests.cpp145 TCU_CHECK(clientExtesionsStr); in iterate()
203 TCU_CHECK(clientExtensionsStr); in iterate()
/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/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/framework/vulkan/
DvkQueryUtil.cpp164 TCU_CHECK((size_t)numLayers == properties.size()); in enumerateInstanceLayerProperties()
181 TCU_CHECK((size_t)numExtensions == properties.size()); in enumerateInstanceExtensionProperties()
198 TCU_CHECK((size_t)numLayers == properties.size()); in enumerateDeviceLayerProperties()
215 TCU_CHECK((size_t)numExtensions == properties.size()); in enumerateDeviceExtensionProperties()
/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()
DditAstcTests.cpp85 TCU_CHECK(astc::isValidBlock(data + blockNdx*astc::BLOCK_SIZE_BYTES, format, mode)); in verifyBlocksValid()
90 TCU_CHECK(numBytes % astc::BLOCK_SIZE_BYTES == 0); in getNumBlocksFromBytes()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp170 TCU_CHECK(!!memoryObjects[ndx]); in iterate()
207 TCU_CHECK(!!memoryObjects[ndx]); in iterate()
262 TCU_CHECK(validateRes.violations.empty()); in computeDeviceMemorySystemMemFootprint()
327 TCU_CHECK(memoryProperties.memoryHeapCount <= 32); in RandomAllocFreeTestInstance()
328 TCU_CHECK(memoryProperties.memoryTypeCount <= 32); in RandomAllocFreeTestInstance()
349 TCU_CHECK(type.type.heapIndex < memoryProperties.memoryHeapCount); in RandomAllocFreeTestInstance()
464 TCU_CHECK(!!heap.objects.back().memory); in iterate()
/external/deqp/framework/egl/
DegluUtil.cpp250 TCU_CHECK(display != EGL_NO_DISPLAY); in getDisplay()
256 TCU_CHECK(display != EGL_NO_DISPLAY); in getDisplay()
304 TCU_CHECK(surface != EGL_NO_SURFACE); in createWindowSurface()
311 TCU_CHECK(surface != EGL_NO_SURFACE); in createWindowSurface()
344 TCU_CHECK(surface != EGL_NO_SURFACE); in createPixmapSurface()
351 TCU_CHECK(surface != EGL_NO_SURFACE); in createPixmapSurface()
/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()
/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.cpp226 TCU_CHECK(isValidFloatVec(m_precision, scale)); in iterate()
227 TCU_CHECK(isValidFloatVec(m_precision, bias)); in iterate()
230 TCU_CHECK(isValidFloat(m_precision, coords[ndx])); in iterate()
231 TCU_CHECK(isValidFloat(m_precision, coords[ndx] * scale[ndx % 3] + bias[ndx % 3])); 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/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/framework/opengl/simplereference/
DsglrContextUtil.cpp75 TCU_CHECK(posLoc >= 0); in drawQuadWithVaoBuffers()
138 TCU_CHECK(posLoc >= 0); in drawQuadWithClientPointers()
/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/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp241 TCU_CHECK(!gotInstance); in createInstanceWithInvalidApiVersionTest()
330 TCU_CHECK(!gotInstance); in createInstanceWithUnsupportedExtensionsTest()
520 TCU_CHECK(!gotDevice); in createDeviceWithUnsupportedExtensionsTest()
599 TCU_CHECK(!!queue); in createDeviceWithVariousQueueCountsTest()

12345