/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 | 172 DE_INLINE deInt32 deSignBit32 (deInt32 a) in deSignBit32() 174 return (deInt32)((deUint32)a & 0x80000000u); in deSignBit32() 340 DE_INLINE deInt32 deAlign32 (deInt32 val, deInt32 align) in deAlign32() 450 DE_INLINE int deLog2Floor32 (deInt32 a) in deLog2Floor32() 461 DE_INLINE int deLog2Ceil32 (deInt32 a) in deLog2Ceil32() 520 DE_INLINE deInt32 deSafeMul32 (deInt32 a, deInt32 b) in deSafeMul32() 522 deInt32 res = a * b; in deSafeMul32() 527 DE_INLINE deInt32 deSafeAdd32 (deInt32 a, deInt32 b) in deSafeAdd32() 533 DE_INLINE deInt32 deDivRoundUp32 (deInt32 a, deInt32 b) in deDivRoundUp32() 540 DE_INLINE deInt32 deMulAsr32 (deInt32 a, deInt32 b, int shift) in deMulAsr32() [all …]
|
D | deMath.h | 200 DE_INLINE float deInt32ToFloat (deInt32 x) { return (float)x; } in deInt32ToFloat() 204 float deInt32ToFloatRoundToNegInf (deInt32 x); 208 float deInt32ToFloatRoundToPosInf (deInt32 x); 212 DE_INLINE deInt32 deChopFloatToInt32 (float x) { return (deInt32)x; } in deChopFloatToInt32() 213 DE_INLINE deInt32 deFloorFloatToInt32 (float x) { return (deInt32)(deFloatFloor(x)); } in deFloorFloatToInt32() 214 DE_INLINE deInt32 deCeilFloatToInt32 (float x) { return (deInt32)(deFloatCeil(x)); } in deCeilFloatToInt32() 216 DE_INLINE deInt32 deChopToInt32 (double x) { return (deInt32)x; } in deChopToInt32() 217 DE_INLINE deInt32 deFloorToInt32 (double x) { return (deInt32)(deFloor(x)); } in deFloorToInt32() 218 DE_INLINE deInt32 deCeilToInt32 (double x) { return (deInt32)(deCeil(x)); } in deCeilToInt32() 222 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()
|
/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 | 68 static void fillRandomScalars (de::Random& rnd, deInt32 minValue, deInt32 maxValue, deInt32* dst, d… in fillRandomScalars() 89 std::vector<deInt32> inputInts (m_numInputElements, 0); in getBytes() 97 size_t inputSize = m_numInputElements * sizeof(deInt32); in getBytes() 105 size_t outputSize = m_numOutputElements * sizeof(deInt32); in getBytes() 110 deInt32* const bytesAsInt = reinterpret_cast<deInt32*>(&bytes.front()); in getBytes() 127 bytes.resize(m_numInputElements * sizeof(deInt32), 0xff); in getBytes() 131 deInt32* const bytesAsInt = reinterpret_cast<deInt32*>(&bytes.front()); in getBytes() 151 return m_numInputElements * sizeof(deInt32); in getByteSize() 153 return m_numOutputElements * sizeof(deInt32); in getByteSize() 317 typedef Buffer<deInt32> Int32Buffer;
|
D | vktSpvAsmUtils.cpp | 281 std::vector<deInt32> getInt32s (de::Random& rnd, const deUint32 count) in getInt32s() 283 std::vector<deInt32> data; in getInt32s() 288 data.push_back(deInt32(0x00000000)); // 0 in getInt32s() 289 data.push_back(deInt32(0x00000001)); // 1 in getInt32s() 290 data.push_back(deInt32(0x0000002a)); // 42 in getInt32s() 291 data.push_back(deInt32(0x00007fff)); // 32767 in getInt32s() 292 data.push_back(deInt32(0x00008000)); // 32768 in getInt32s() 293 data.push_back(deInt32(0x0000ffff)); // 65535 in getInt32s() 294 data.push_back(deInt32(0x00010000)); // 65536 in getInt32s() 295 data.push_back(deInt32(0x7fffffff)); // 2147483647 in getInt32s() [all …]
|
/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;
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageAtomicOperationTests.cpp | 176 static deInt32 getOperationInitialValue (const AtomicOperation op) in getOperationInitialValue() 195 static deInt32 getAtomicFuncArgument (const AtomicOperation op, const IVec3& invocationID, const IV… in getAtomicFuncArgument() 232 static deInt32 computeBinaryAtomicOperationResult (const AtomicOperation op, const deInt32 a, const… in computeBinaryAtomicOperationResult() 657 for (deInt32 z = 0; z < resultBuffer.getDepth(); z++) in verifyResult() 658 for (deInt32 y = 0; y < resultBuffer.getHeight(); y++) in verifyResult() 659 for (deInt32 x = 0; x < resultBuffer.getWidth(); x++) in verifyResult() 661 deInt32 resultValue = resultBuffer.getPixelInt(x, y, z).x(); in verifyResult() 665 deInt32 reference = getOperationInitialValue(m_operation); in verifyResult() 667 for (deInt32 i = 0; i < static_cast<deInt32>(NUM_INVOCATIONS_PER_PIXEL); i++) in verifyResult() 681 for (deInt32 i = 0; i < static_cast<deInt32>(NUM_INVOCATIONS_PER_PIXEL) && !matchFound; i++) in verifyResult() [all …]
|
/external/deqp/framework/common/ |
D | tcuCompressedTexture.cpp | 865 const deInt32 multiplier = (deInt32)getBits(src, 52, 55); in decompressEAC11Block() 866 const deInt32 tableNdx = (deInt32)getBits(src, 48, 51); in decompressEAC11Block() 867 deInt32 baseCodeword = (deInt32)getBits(src, 56, 63); in decompressEAC11Block() 1408 inline deInt32 signExtend (deInt32 value, deInt32 srcBits, deInt32 dstBits) in signExtend() 1414 deInt32 dstMask = (deInt32)(((deUint64)1 << dstBits) - 1); in signExtend() 1415 deInt32 extendedBits = 0xffffffff << srcBits; in signExtend() 1419 inline deInt32 unquantize (deInt32 x, int mode, bool hasSign) in unquantize() 1435 else if (x >= (((deInt32)1 << (epBits[mode] - 1)) - 1)) in unquantize() 1438 x = (((deInt32)x << 15) + 0x4000) >> (epBits[mode] - 1); in unquantize() 1451 else if (x == (((deInt32)1 << epBits[mode]) - 1)) in unquantize() [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 | 146 const deInt32 frameWidth = referenceFrame.getWidth(); in buildReferenceFrame() 147 const deInt32 frameHeight = referenceFrame.getHeight(); in buildReferenceFrame() 193 const deInt32 frameWidth = referenceFrame.getWidth(); in buildReferenceFrame() 194 const deInt32 frameHeight = referenceFrame.getHeight(); in buildReferenceFrame() 283 const deInt32 quarterWidth = WIDTH / 4; in iterate() 284 const deInt32 quarterHeight = HEIGHT / 4; in iterate() 297 { { (deInt32)halfWidth, quarterHeight }, { quarterWidth, quarterHeight } }, in iterate() 298 { { (deInt32)halfWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate() 299 { { quarterWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate() 325 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate() [all …]
|