/external/deqp/framework/egl/ |
D | egluConfigInfo.hpp | 42 deInt32 bufferSize; 43 deInt32 redSize; 44 deInt32 greenSize; 45 deInt32 blueSize; 46 deInt32 luminanceSize; 47 deInt32 alphaSize; 48 deInt32 alphaMaskSize; 53 deInt32 configId; 54 deInt32 conformant; 55 deInt32 depthSize; [all …]
|
/external/deqp/framework/delibs/debase/ |
D | deInt32.h | 161 DE_INLINE deInt32 deSignBit32 (deInt32 a) in deSignBit32() 163 return (deInt32)((deUint32)a & 0x80000000u); in deSignBit32() 329 DE_INLINE deInt32 deAlign32 (deInt32 val, deInt32 align) in deAlign32() 439 DE_INLINE int deLog2Floor32 (deInt32 a) in deLog2Floor32() 450 DE_INLINE int deLog2Ceil32 (deInt32 a) in deLog2Ceil32() 509 DE_INLINE deInt32 deSafeMul32 (deInt32 a, deInt32 b) in deSafeMul32() 511 deInt32 res = a * b; in deSafeMul32() 516 DE_INLINE deInt32 deSafeAdd32 (deInt32 a, deInt32 b) in deSafeAdd32() 522 DE_INLINE deInt32 deDivRoundUp32 (deInt32 a, deInt32 b) in deDivRoundUp32() 529 DE_INLINE deInt32 deMulAsr32 (deInt32 a, deInt32 b, int shift) in deMulAsr32() [all …]
|
D | deMath.h | 199 DE_INLINE float deInt32ToFloat (deInt32 x) { return (float)x; } in deInt32ToFloat() 203 float deInt32ToFloatRoundToNegInf (deInt32 x); 207 float deInt32ToFloatRoundToPosInf (deInt32 x); 211 DE_INLINE deInt32 deChopFloatToInt32 (float x) { return (deInt32)x; } in deChopFloatToInt32() 212 DE_INLINE deInt32 deFloorFloatToInt32 (float x) { return (deInt32)(deFloatFloor(x)); } in deFloorFloatToInt32() 213 DE_INLINE deInt32 deCeilFloatToInt32 (float x) { return (deInt32)(deFloatCeil(x)); } in deCeilFloatToInt32() 215 DE_INLINE deInt32 deChopToInt32 (double x) { return (deInt32)x; } in deChopToInt32() 216 DE_INLINE deInt32 deFloorToInt32 (double x) { return (deInt32)(deFloor(x)); } in deFloorToInt32() 217 DE_INLINE deInt32 deCeilToInt32 (double x) { return (deInt32)(deCeil(x)); } in deCeilToInt32() 221 DE_INLINE deInt32 deRoundFloatToInt32 (float x) { if(x >= 0.0f) return (deInt32)(x + 0.5f); els… in deRoundFloatToInt32() [all …]
|
D | deMath.c | 138 float deInt32ToFloatRoundToNegInf (deInt32 x) in deInt32ToFloatRoundToNegInf() 158 return (float)(deInt32)(~lostMask & (deUint32)x); in deInt32ToFloatRoundToNegInf() 163 DE_ASSERT( (deInt32)(float)x == x ); in deInt32ToFloatRoundToNegInf() 169 const float nearestHigher = (float)-(deInt32)(~lostMask & (deUint32)-x); in deInt32ToFloatRoundToNegInf() 174 DE_ASSERT((deInt32)(float)nearestHigher > (deInt32)(float)nearestLower); in deInt32ToFloatRoundToNegInf() 183 float deInt32ToFloatRoundToPosInf (deInt32 x) in deInt32ToFloatRoundToPosInf()
|
D | deMathTest.c | 29 static deBool conversionToFloatLosesPrecision (deInt32 x) in conversionToFloatLosesPrecision() 43 static void testSingleInt32ToFloat (deInt32 x) in testSingleInt32ToFloat() 62 deInt32 u; in testSingleInt32ToFloat() 94 testSingleInt32ToFloat((deInt32)x); in testInt32ToFloat() 98 testSingleInt32ToFloat((deInt32)deRandom_getUint32(&rnd)); in testInt32ToFloat()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcConfigList.hpp | 96 AOSPConfig(ConfigType type_, int id_, deUint32 surfaceTypes_, deInt32 redBits_, deInt32 greenBits_, in AOSPConfig() 97 … deInt32 blueBits_, deInt32 alphaBits_, deInt32 depthBits_, deInt32 stencilBits_, deInt32 samples_) in AOSPConfig() 128 deInt32 redBits; 129 deInt32 greenBits; 130 deInt32 blueBits; 131 deInt32 alphaBits; 132 deInt32 depthBits; 133 deInt32 stencilBits; 134 deInt32 samples;
|
D | glcConfigListEGL.cpp | 107 deInt32 redSize = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_RED_SIZE); in getDefaultEglConfigList() 108 deInt32 greenSize = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_GREEN_SIZE); in getDefaultEglConfigList() 109 deInt32 blueSize = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_BLUE_SIZE); in getDefaultEglConfigList() 110 deInt32 alphaSize = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_ALPHA_SIZE); in getDefaultEglConfigList() 111 deInt32 depthSize = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_DEPTH_SIZE); in getDefaultEglConfigList() 112 deInt32 stencilSize = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_STENCIL_SIZE); in getDefaultEglConfigList() 113 deInt32 numSamples = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_SAMPLES); in getDefaultEglConfigList()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrGLContext.hpp | 168 virtual void vertexAttribI4i (deUint32 index, deInt32, deInt32, deInt32, deInt32); 171 virtual deInt32 getAttribLocation (deUint32 program, const char *name); 173 virtual void uniform1f (deInt32 location, float); 174 virtual void uniform1i (deInt32 location, deInt32); 175 virtual void uniform1fv (deInt32 index, deInt32 count, const float*); 176 virtual void uniform2fv (deInt32 index, deInt32 count, const float*); 177 virtual void uniform3fv (deInt32 index, deInt32 count, const float*); 178 virtual void uniform4fv (deInt32 index, deInt32 count, const float*); 179 virtual void uniform1iv (deInt32 index, deInt32 count, const deInt32*); 180 virtual void uniform2iv (deInt32 index, deInt32 count, const deInt32*); [all …]
|
D | sglrContext.hpp | 156 virtual void vertexAttribI4i (deUint32 index, deInt32, deInt32, deInt32, deInt32) = DE_NULL; 159 virtual deInt32 getAttribLocation (deUint32 program, const char *name) = DE_NULL; 161 virtual void uniform1f (deInt32 index, float) = DE_NULL; 162 virtual void uniform1i (deInt32 index, deInt32) = DE_NULL; 163 virtual void uniform1fv (deInt32 index, deInt32 count, const float*) = DE_NULL; 164 virtual void uniform2fv (deInt32 index, deInt32 count, const float*) = DE_NULL; 165 virtual void uniform3fv (deInt32 index, deInt32 count, const float*) = DE_NULL; 166 virtual void uniform4fv (deInt32 index, deInt32 count, const float*) = DE_NULL; 167 virtual void uniform1iv (deInt32 index, deInt32 count, const deInt32*) = DE_NULL; 168 virtual void uniform2iv (deInt32 index, deInt32 count, const deInt32*) = DE_NULL; [all …]
|
D | sglrReferenceContext.hpp | 719 virtual void vertexAttribI4i (deUint32 index, deInt32, deInt32, deInt32, deInt32); 722 virtual deInt32 getAttribLocation (deUint32 program, const char *name); 724 virtual void uniform1f (deInt32 location, float); 725 virtual void uniform1i (deInt32 location, deInt32); 726 virtual void uniform1fv (deInt32 index, deInt32 count, const float*); 727 virtual void uniform2fv (deInt32 index, deInt32 count, const float*); 728 virtual void uniform3fv (deInt32 index, deInt32 count, const float*); 729 virtual void uniform4fv (deInt32 index, deInt32 count, const float*); 730 virtual void uniform1iv (deInt32 index, deInt32 count, const deInt32*); 731 virtual void uniform2iv (deInt32 index, deInt32 count, const deInt32*); [all …]
|
D | sglrGLContext.cpp | 701 void GLContext::vertexAttribI4i (deUint32 index, deInt32 x, deInt32 y, deInt32 z, deInt32 w) in vertexAttribI4i() 711 deInt32 GLContext::getAttribLocation (deUint32 program, const char *name) in getAttribLocation() 716 void GLContext::uniform1f (deInt32 location, float v0) in uniform1f() 721 void GLContext::uniform1i (deInt32 location, deInt32 v0) in uniform1i() 726 void GLContext::uniform1fv (deInt32 location, deInt32 count, const float* value) in uniform1fv() 731 void GLContext::uniform2fv (deInt32 location, deInt32 count, const float* value) in uniform2fv() 736 void GLContext::uniform3fv (deInt32 location, deInt32 count, const float* value) in uniform3fv() 741 void GLContext::uniform4fv (deInt32 location, deInt32 count, const float* value) in uniform4fv() 746 void GLContext::uniform1iv (deInt32 location, deInt32 count, const deInt32* value) in uniform1iv() 751 void GLContext::uniform2iv (deInt32 location, deInt32 count, const deInt32* value) in uniform2iv() [all …]
|
/external/deqp/framework/delibs/destream/ |
D | deRingbuffer.c | 34 deInt32 blockSize; 35 deInt32 blockCount; 36 deInt32* blockUsage; 42 deInt32 outBlock; 43 deInt32 outPos; 45 deInt32 inBlock; 46 deInt32 inPos; 52 deRingbuffer* deRingbuffer_create (deInt32 blockSize, deInt32 blockCount) in deRingbuffer_create() 63 ringbuffer->blockUsage = (deInt32*)deMalloc(sizeof(deUint32) * (size_t)blockCount); in deRingbuffer_create() 82 memset(ringbuffer->blockUsage, 0, sizeof(deInt32) * (size_t)blockCount); in deRingbuffer_create() [all …]
|
D | deIOStream.h | 52 …Result (*deIOStreamReadFunc) (deStreamData* stream, void* buf, deInt32 bufSize, deInt32* numRead); 53 …(*deIOStreamWriteFunc) (deStreamData* stream, const void* buf, deInt32 bufSize, deInt32* numWritt… 77 DE_INLINE deStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32… 78 …mResult deIOStream_write (deIOStream* stream, const void* buf, deInt32 bufSize, deInt32* numWritt… 86 …amResult deIOStream_write (deIOStream* stream, const void* buf, deInt32 bufSize, deInt32* numWritt… in deIOStream_write() 95 DE_INLINE deStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32* … in deIOStream_read()
|
D | deThreadStream.c | 55 deInt32 read = 0; in inStreamCopy() 56 deInt32 written = 0; in inStreamCopy() 63 deInt32 wrote = 0; in inStreamCopy() 83 …reamResult threadInStream_read (deStreamData* stream, void* buf, deInt32 bufSize, deInt32* numRead) in threadInStream_read() 152 …t threadOutStream_write (deStreamData* stream, const void* buf, deInt32 bufSize, deInt32* numWritt… in threadOutStream_write()
|
D | deInStream.h | 38 DE_INLINE deStreamResult deInStream_read (deInStream* stream, void* buf, deInt32 bufSize, deInt32*… 44 DE_INLINE deStreamResult deInStream_read (deInStream* stream, void* buf, deInt32 bufSize, deInt32* … in deInStream_read()
|
D | deFileStream.c | 34 static deStreamResult fileIOStream_read (deStreamData* stream, void* buf, deInt32 bufSize, deInt32*… in fileIOStream_read() 41 *numRead = (deInt32)_numRead; in fileIOStream_read() 67 …sult fileIOStream_write (deStreamData* stream, const void* buf, deInt32 bufSize, deInt32* numWritt… in fileIOStream_write() 73 *numWritten = (deInt32)_numWritten; in fileIOStream_write()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.cpp | 44 deInt32 mod (const deInt32 a, const deInt32 n) in mod() 46 const deInt32 result = a % n; in mod() 51 deInt32 mirror (const deInt32 n) in mirror() 138 float addUlp (float num, deInt32 ulp) in addUlp() 189 texelGridOffset[compNdx] += (deInt32) subdivisions; in wrapTexelGridCoordLinear() 204 baseTexel[compNdx] = gridCoord[compNdx] / (deInt32) subdivisions; in calcTexelBaseOffset() 205 texelGridOffset[compNdx] = gridCoord[compNdx] % (deInt32) subdivisions; in calcTexelBaseOffset() 236 const deInt32 nearestTexelGridOffsetMin = (deInt32) deFloor(intPart[0]); in calcTexelGridCoordRange() 237 const deInt32 nearestTexelGridOffsetMax = (deInt32) deFloor(intPart[1]); in calcTexelGridCoordRange() 239 …const deInt32 subTexelGridCoordMin = de::max((deInt32) deFloor(fracPart[0] * (float) subdivision… in calcTexelGridCoordRange() [all …]
|
D | vktSampleVerifierUtil.hpp | 41 deInt32 ulp); 43 deInt32 mod (const deInt32 a, 44 const deInt32 n); 45 deInt32 mirror (const deInt32 n); 85 deInt32 wrapTexelCoord (const deInt32 coord,
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderTestUtil.hpp | 67 static void fillRandomScalars (de::Random& rnd, deInt32 minValue, deInt32 maxValue, deInt32* dst, d… in fillRandomScalars() 105 std::vector<deInt32> inputInts (m_numInputElements, 0); in getBytes() 113 size_t inputSize = m_numInputElements * sizeof(deInt32); in getBytes() 121 size_t outputSize = m_numOutputElements * sizeof(deInt32); in getBytes() 126 deInt32* const bytesAsInt = reinterpret_cast<deInt32* const>(&bytes.front()); in getBytes() 150 return m_numInputElements * sizeof(deInt32); in getByteSize() 152 return m_numOutputElements * sizeof(deInt32); in getByteSize() 198 typedef Buffer<deInt32> Int32Buffer;
|
/external/deqp/framework/delibs/decpp/ |
D | deSpinBarrier.hpp | 57 SpinBarrier (deInt32 numThreads); 78 volatile deInt32 m_numThreads; 79 volatile deInt32 m_numEntered; 80 volatile deInt32 m_numLeaving; 81 volatile deInt32 m_numRemoved;
|
D | deSpinBarrier.cpp | 34 SpinBarrier::SpinBarrier (deInt32 numThreads) in SpinBarrier() 60 …rier::WaitMode getWaitMode (SpinBarrier::WaitMode requested, deUint32 numCores, deInt32 numThreads) in getWaitMode() 78 const deInt32 cachedNumThreads = m_numThreads; in sync() 129 const deInt32 cachedNumThreads = m_numThreads; in removeThread() 175 TestThread (SpinBarrier& barrier, volatile deInt32* sharedVar, int numThreads, int threadNdx) in TestThread() 215 volatile deInt32* const m_sharedVar; 237 volatile deInt32 sharedVar = 0; in multiThreadTest() 287 …de::Random rnd (deInt32Hash(m_numThreads) ^ deInt32Hash(m_threadNdx) ^ deInt32Hash((deInt32)m_wa… in run()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageAtomicOperationTests.cpp | 174 static deInt32 getOperationInitialValue (const AtomicOperation op) in getOperationInitialValue() 193 static deInt32 getAtomicFuncArgument (const AtomicOperation op, const IVec3& invocationID, const IV… in getAtomicFuncArgument() 230 static deInt32 computeBinaryAtomicOperationResult (const AtomicOperation op, const deInt32 a, const… in computeBinaryAtomicOperationResult() 672 for (deInt32 z = 0; z < resultBuffer.getDepth(); z++) in verifyResult() 673 for (deInt32 y = 0; y < resultBuffer.getHeight(); y++) in verifyResult() 674 for (deInt32 x = 0; x < resultBuffer.getWidth(); x++) in verifyResult() 676 deInt32 resultValue = resultBuffer.getPixelInt(x, y, z).x(); in verifyResult() 680 deInt32 reference = getOperationInitialValue(m_operation); in verifyResult() 682 for (deInt32 i = 0; i < static_cast<deInt32>(NUM_INVOCATIONS_PER_PIXEL); i++) in verifyResult() 696 for (deInt32 i = 0; i < static_cast<deInt32>(NUM_INVOCATIONS_PER_PIXEL) && !matchFound; i++) in verifyResult() [all …]
|
/external/deqp/framework/referencerenderer/ |
D | rrGenericVector.hpp | 56 deInt32 iData[4]; 136 inline deInt32* GenericVec4::getAccess<deInt32> () in getAccess() 142 inline const deInt32* GenericVec4::getAccess<deInt32> () const in getAccess()
|
/external/deqp/framework/delibs/dethread/ |
D | deAtomic.h | 39 DE_INLINE deInt32 deAtomicIncrementInt32 (volatile deInt32* dstAddr) in deAtomicIncrementInt32() 57 return deAtomicIncrementInt32((deInt32 volatile*)dstAddr); in deAtomicIncrementUint32() 65 DE_INLINE deInt32 deAtomicDecrementInt32 (volatile deInt32* dstAddr) in deAtomicDecrementInt32() 83 return deAtomicDecrementInt32((volatile deInt32*)dstAddr); in deAtomicDecrementUint32()
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateVPTests.cpp | 158 const deInt32 frameWidth = referenceFrame.getWidth(); in buildReferenceFrame() 159 const deInt32 frameHeight = referenceFrame.getHeight(); in buildReferenceFrame() 205 const deInt32 frameWidth = referenceFrame.getWidth(); in buildReferenceFrame() 206 const deInt32 frameHeight = referenceFrame.getHeight(); in buildReferenceFrame() 294 const deInt32 quarterWidth = WIDTH / 4; in iterate() 295 const deInt32 quarterHeight = HEIGHT / 4; in iterate() 308 { { (deInt32)halfWidth, quarterHeight }, { quarterWidth, quarterHeight } }, in iterate() 309 { { (deInt32)halfWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate() 310 { { quarterWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate() 350 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate() [all …]
|