/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrRasterizer.cpp | 31 inline deInt64 toSubpixelCoord (float v, int bits) in toSubpixelCoord() 33 return (deInt64)(v * (float)(1 << bits) + (v < 0.f ? -0.5f : 0.5f)); in toSubpixelCoord() 36 inline deInt64 toSubpixelCoord (deInt32 v, int bits) in toSubpixelCoord() 41 inline deInt32 ceilSubpixelToPixelCoord (deInt64 coord, int bits, bool fillEdge) in ceilSubpixelToPixelCoord() 49 inline deInt32 floorSubpixelToPixelCoord (deInt64 coord, int bits, bool fillEdge) in floorSubpixelToPixelCoord() 57 …lFill, const VerticalFill verticalFill, const deInt64 x0, const deInt64 y0, const deInt64 x1, cons… in initEdgeCCW() 61 const deInt64 xd = x1-x0; in initEdgeCCW() 62 const deInt64 yd = y1-y0; in initEdgeCCW() 84 static inline deInt64 evaluateEdge (const EdgeFunction& edge, const deInt64 x, const deInt64 y) in evaluateEdge() 89 static inline bool isInsideCCW (const EdgeFunction& edge, const deInt64 edgeVal) in isInsideCCW() [all …]
|
D | rrRasterizer.hpp | 101 deInt64 a; 102 deInt64 b; 103 deInt64 c;
|
/third_party/vk-gl-cts/framework/delibs/deutil/ |
D | deFile.c | 149 deBool deFile_seek (deFile* file, deFilePosition base, deInt64 offset) in deFile_seek() 154 deInt64 deFile_getPosition (const deFile* file) in deFile_getPosition() 159 deInt64 deFile_getSize (const deFile* file) in deFile_getSize() 161 deInt64 size = 0; in deFile_getSize() 162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR); in deFile_getSize() 177 static deFileResult mapReadWriteResult (deInt64 numBytes) in mapReadWriteResult() 187 deFileResult deFile_read (deFile* file, void* buf, deInt64 bufSize, deInt64* numReadPtr) in deFile_read() 189 deInt64 numRead = read(file->fd, buf, (size_t)bufSize); in deFile_read() 197 deFileResult deFile_write (deFile* file, const void* buf, deInt64 bufSize, deInt64* numWrittenPtr) in deFile_write() 199 deInt64 numWritten = write(file->fd, buf, (size_t)bufSize); in deFile_write() [all …]
|
D | deFile.h | 78 deInt64 deFile_getPosition (const deFile* file); 79 deBool deFile_seek (deFile* file, deFilePosition base, deInt64 offset); 80 deInt64 deFile_getSize (const deFile* file); 82 deFileResult deFile_read (deFile* file, void* buf, deInt64 bufSize, deInt64* numRead); 83 deFileResult deFile_write (deFile* file, const void* buf, deInt64 bufSize, deInt64* numWritten);
|
D | deTimer.c | 316 deInt64 lastCallback = (deInt64)deGetMicroseconds(); in timerThread() 335 sleepTime = thread->interval - (int)(((deInt64)deGetMicroseconds()-lastCallback)/1000); in timerThread() 339 lastCallback = (deInt64)deGetMicroseconds(); in timerThread()
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
D | deInt32.h | 317 DE_INLINE deBool deIsAligned64 (deInt64 a, deInt64 align) in deIsAligned64() 353 DE_INLINE deInt64 deAlign64 (deInt64 val, deInt64 align) in deAlign64() 524 DE_ASSERT((deInt64)res == ((deInt64)a * (deInt64)b)); in deSafeMul32() 530 DE_ASSERT((deInt64)a + (deInt64)b == (deInt64)(a + b)); in deSafeAdd32() 555 return (deInt32)(((deInt64)a * (deInt64)b) >> shift); in deMulAsr32() 560 deInt64 res = ((deInt64)a * (deInt64)b) >> shift; in deSafeMulAsr32() 561 DE_ASSERT(res == (deInt64)(deInt32)res); in deSafeMulAsr32() 572 DE_INLINE deInt64 deMul32_32_64 (deInt32 a, deInt32 b) in deMul32_32_64() 574 return ((deInt64)a * (deInt64)b); in deMul32_32_64() 577 DE_INLINE deInt64 deAbs64 (deInt64 a) in deAbs64() [all …]
|
D | deInt32Test.c | 202 DE_TEST_ASSERT(deInt64InInt32Range((deInt64)0x7FFFFFF)); in deInt32_selfTest() 206 DE_TEST_ASSERT(deInt64InInt32Range(-((deInt64)0x7FFFFFF))); in deInt32_selfTest() 207 DE_TEST_ASSERT(deInt64InInt32Range(-((deInt64)0x8000 << 16))); in deInt32_selfTest() 208 DE_TEST_ASSERT(deInt64InInt32Range((deInt64)deIntMinValue32(32))); in deInt32_selfTest() 210 DE_TEST_ASSERT(!deInt64InInt32Range((((deInt64)0x7FFFFFF) << 32) | (deInt64)0xFFFFFFFF)); in deInt32_selfTest() 211 DE_TEST_ASSERT(!deInt64InInt32Range((deInt64)0x7FFFFFFF + 1)); in deInt32_selfTest() 212 DE_TEST_ASSERT(!deInt64InInt32Range(-((deInt64)0x7FFFFFFF + 2))); in deInt32_selfTest() 213 DE_TEST_ASSERT(!deInt64InInt32Range(-((((deInt64)0x7FFFFFF) << 32) | (deInt64)0xFFFFFFFF))); in deInt32_selfTest() 214 DE_TEST_ASSERT(!deInt64InInt32Range((deInt64)deIntMinValue32(32) - 1)); in deInt32_selfTest()
|
D | deMathTest.c | 88 …const deInt64 x = (deInt64)(sign == -1 ? (-1) : (+1)) * (1LL << (deInt64)numBits) + (deInt64)delta; in testInt32ToFloat()
|
D | deMath.h | 300 DE_INLINE deInt64 deRoundFloatToInt64 (float x) { if(x >= 0.0f) return (deInt64)(x + 0.5f); els… in deRoundFloatToInt64() 304 DE_INLINE deInt64 deRoundToInt64 (double x) { if(x >= 0.0) return (deInt64)(x + 0.5); else ret… in deRoundToInt64()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmUtils.cpp | 323 std::vector<deInt64> getInt64s (de::Random& rnd, const deUint32 count) in getInt64s() 325 std::vector<deInt64> data; in getInt64s() 330 data.push_back(deInt64(0x0000000000000000)); // 0 in getInt64s() 331 data.push_back(deInt64(0x0000000000000001)); // 1 in getInt64s() 332 data.push_back(deInt64(0x000000000000002a)); // 42 in getInt64s() 333 data.push_back(deInt64(0x000000007fffffff)); // 2147483647 in getInt64s() 334 data.push_back(deInt64(0x0000000080000000)); // 2147483648 in getInt64s() 335 data.push_back(deInt64(0x00000000ffffffff)); // 4294967295 in getInt64s() 336 data.push_back(deInt64(0x0000000100000000)); // 4294967296 in getInt64s() 337 data.push_back(deInt64(0x7fffffffffffffff)); // 9223372036854775807 in getInt64s() [all …]
|
D | vktSpvAsm64bitCompareTests.cpp | 170 GEN_ALL_INT_TYPE_IMPL(deInt64, S) 188 GEN_ALL_INT_OPS(deInt64) 1003 template <> std::string SpirvTemplateManager::getOpCapability<deInt64>() { return "OpCapability Int… in getOpCapability() 1007 template <> std::string SpirvTemplateManager::getOpType<deInt64>() { return "OpTypeInt 64 1"; } in getOpType() 1100 const OperandsVector<deInt64> INT64_OPERANDS = 1670 void checkTypeSupport<deInt64>(const vk::VkPhysicalDeviceFeatures& features) in checkTypeSupport() 1799 static const std::vector<const CompareOperation<deInt64>*> operationList = in createInt64CompareTestsInGroup() 1813 …TestParameters<deInt64> params = { typeNamePair.first, *opPtr, stageNamePair.first, INT64_OPERAND… in createInt64CompareTestsInGroup() 1815 tests->addChild(new T64bitCompareTest<deInt64>(tests->getTestContext(), testName, "", params)); in createInt64CompareTestsInGroup() 1859 template <> std::string TestMgr::getGroupName<deInt64>() { return "int64"; } in getGroupName() [all …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderPerformanceMeasurer.cpp | 306 deInt64 numQuadGrids = measureState.numDrawCalls * numFrames; in iterate() 307 deInt64 numPixels = (deInt64)m_viewportWidth * (deInt64)m_viewportHeight * numQuadGrids; in iterate() 308 deInt64 numVertices = (deInt64)getNumVertices(m_gridSizeX, m_gridSizeY) * numQuadGrids; in iterate() 326 deInt64 numQuadGrids = measureState.numDrawCalls * numFrames; in logMeasurementInfo() 327 deInt64 numPixels = (deInt64)m_viewportWidth * (deInt64)m_viewportHeight * numQuadGrids; in logMeasurementInfo() 328 deInt64 numVertices = (deInt64)getNumVertices(m_gridSizeX, m_gridSizeY) * numQuadGrids; in logMeasurementInfo()
|
/third_party/vk-gl-cts/framework/delibs/dethread/ |
D | deAtomic.h | 123 DE_INLINE deInt64 deAtomicIncrementInt64 (volatile deInt64* dstAddr) in deAtomicIncrementInt64() 141 return deAtomicIncrementInt64((volatile deInt64*)dstAddr); in deAtomicIncrementUint64() 149 DE_INLINE deInt64 deAtomicDecrementInt64 (volatile deInt64* dstAddr) in deAtomicDecrementInt64() 167 return deAtomicDecrementInt64((volatile deInt64*)dstAddr); in deAtomicDecrementUint64()
|
D | deThreadTest.c | 545 volatile deInt64 a = 11; in deAtomic_selfTest() 569 a = (deInt64)((1ull << 63) - 1ull); in deAtomic_selfTest() 570 DE_TEST_ASSERT(deAtomicIncrementInt64(&a) == (deInt64)(1ull << 63)); in deAtomic_selfTest() 571 DE_TEST_ASSERT(a == (deInt64)(1ull << 63)); in deAtomic_selfTest() 572 DE_TEST_ASSERT(deAtomicDecrementInt64(&a) == (deInt64)((1ull << 63) - 1)); in deAtomic_selfTest() 573 DE_TEST_ASSERT(a == (deInt64)((1ull << 63) - 1)); in deAtomic_selfTest()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuVectorType.hpp | 53 typedef Vector<deInt64, 1> I64Vec1; 54 typedef Vector<deInt64, 2> I64Vec2; 55 typedef Vector<deInt64, 3> I64Vec3; 56 typedef Vector<deInt64, 4> I64Vec4;
|
D | tcuCPUWarmup.cpp | 95 deInt64 times[numMeasurements]; in warmupCPU() 101 times[i] = (deInt64)(deGetMicroseconds() - startTime); in warmupCPU() 115 deInt64 latestTimes[numConsecutiveMeasurementsRequired]; in warmupCPU() 127 …latestTimes[measurementNdx % numConsecutiveMeasurementsRequired] = (deInt64)(deGetMicroseconds() -… in warmupCPU()
|
D | tcuTestLog.hpp | 103 typedef LogNumber<deInt64> Integer; 156 … (const char* name, const char* description, const char* unit, qpKeyValueTag tag, deInt64 value); 175 void writeSampleValue (deInt64 value); 213 SampleBuilder& operator<< (int v) { m_values.push_back(Value((deInt64)v)); return *this; } in operator <<() 214 SampleBuilder& operator<< (deInt64 v) { m_values.push_back(Value(v)); return *this; } in operator <<() 228 deInt64 int64; 234 Value (deInt64 v) : type(TYPE_INT64) { value.int64 = v; } in Value() 539 inline void LogNumber<deInt64>::write (TestLog& log) const in write()
|
D | tcuRandomValueIterator.hpp | 55 template <> inline deInt64 getRandomValue<deInt64> (de::Random& rnd) { return (deInt64)rnd.getUint… in getRandomValue()
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
D | es2pShaderCompilationCases.cpp | 418 deInt64 sourceSetTime; 419 deInt64 vertexCompileTime; 420 deInt64 fragmentCompileTime; 421 deInt64 programLinkTime; 422 deInt64 firstInputSetTime; 423 deInt64 firstDrawTime; 425 deInt64 secondInputSetTime; 426 deInt64 secondDrawTime; 428 …deInt64 firstPhase (void) const { return sourceSetTime + vertexCompileTime + fragmentCompileTim… in firstPhase() 429 deInt64 secondPhase (void) const { return secondInputSetTime + secondDrawTime; } in secondPhase() [all …]
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
D | es3pShaderCompilationCases.cpp | 418 deInt64 sourceSetTime; 419 deInt64 vertexCompileTime; 420 deInt64 fragmentCompileTime; 421 deInt64 programLinkTime; 422 deInt64 firstInputSetTime; 423 deInt64 firstDrawTime; 425 deInt64 secondInputSetTime; 426 deInt64 secondDrawTime; 428 …deInt64 firstPhase (void) const { return sourceSetTime + vertexCompileTime + fragmentCompileTim… in firstPhase() 429 deInt64 secondPhase (void) const { return secondInputSetTime + secondDrawTime; } in secondPhase() [all …]
|
/third_party/vk-gl-cts/execserver/ |
D | xsPosixTestProcess.cpp | 69 deInt64 pos = 0; in run() 71 while (m_run && pos < (deInt64)m_caseList.size()) in run() 73 deInt64 numWritten = 0; in run() 124 deInt64 numRead = 0; in run() 128 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run()
|
D | xsPosixFileReader.cpp | 69 deInt64 numRead = 0; in run() 73 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderPrecisionTests.cpp | 315 …const deUint64 ulpDiff = (deUint64)de::abs((deInt64)accurateRefBits - (deInt64)accurateResBits); in compare() 434 typedef deInt64 (*EvalFunc) (deInt64 a, deInt64 b); 887 …{ "highp_add", "in0 + in1", add<deInt64>, glu::PRECISION_HIGHP, 32, fullRange32I, fullRange32I … in init() 888 …{ "highp_sub", "in0 - in1", sub<deInt64>, glu::PRECISION_HIGHP, 32, fullRange32I, fullRange32I … in init() 889 …{ "highp_mul", "in0 * in1", mul<deInt64>, glu::PRECISION_HIGHP, 32, fullRange32I, fullRange32I … in init() 890 …{ "highp_div", "in0 / in1", div<deInt64>, glu::PRECISION_HIGHP, 32, fullRange32I, IVec2(-10000,… in init() 891 …{ "mediump_add", "in0 + in1", add<deInt64>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange1… in init() 892 …{ "mediump_sub", "in0 - in1", sub<deInt64>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange1… in init() 893 …{ "mediump_mul", "in0 * in1", mul<deInt64>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange1… in init() 894 …{ "mediump_div", "in0 / in1", div<deInt64>, glu::PRECISION_MEDIUMP, 16, fullRange16I, IVec2(1, 1… in init() [all …]
|
/third_party/vk-gl-cts/modules/internal/ |
D | ditTestLogTests.cpp | 62 …<< TestLog::Sample << std::numeric_limits<deInt64>::max() << std::numeric_limits<deInt64>::min() <… in iterate()
|
/third_party/vk-gl-cts/framework/platform/android/ |
D | tcuAndroidUtil.cpp | 204 const char* getJNITypeStr<deInt64> (void) in getJNITypeStr() 286 deInt64 getFieldValue<deInt64> (JNIEnv* env, jobject obj, jfieldID fieldId) in getFieldValue() 419 return static_cast<size_t>(getField<deInt64>(env, *memoryInfo, "totalMem")); in getTotalAndroidSystemMemory()
|