Home
last modified time | relevance | path

Searched refs:deInt32 (Results 1 – 25 of 125) sorted by relevance

12345

/external/deqp/framework/egl/
DegluConfigInfo.hpp40 deInt32 bufferSize;
41 deInt32 redSize;
42 deInt32 greenSize;
43 deInt32 blueSize;
44 deInt32 luminanceSize;
45 deInt32 alphaSize;
46 deInt32 alphaMaskSize;
51 deInt32 configId;
52 deInt32 conformant;
53 deInt32 depthSize;
[all …]
/external/deqp/framework/delibs/debase/
DdeInt32.h238 DE_INLINE deInt32 deAlign32 (deInt32 val, deInt32 align) in deAlign32()
293 DE_INLINE int deLog2Floor32 (deInt32 a) in deLog2Floor32()
304 DE_INLINE int deLog2Ceil32 (deInt32 a) in deLog2Ceil32()
314 DE_INLINE deUint32 deLog2Clz(deInt32 a) in deLog2Clz()
359 DE_INLINE deInt32 deSafeMul32 (deInt32 a, deInt32 b) in deSafeMul32()
361 deInt32 res = a * b; in deSafeMul32()
366 DE_INLINE deInt32 deSafeAdd32 (deInt32 a, deInt32 b) in deSafeAdd32()
374 DE_INLINE deInt32 deMulAsr32 (deInt32 a, deInt32 b, int shift) in deMulAsr32()
376 return (deInt32)(((deInt64)a * (deInt64)b) >> shift); in deMulAsr32()
379 DE_INLINE deInt32 deSafeMulAsr32 (deInt32 a, deInt32 b, int shift) in deSafeMulAsr32()
[all …]
DdeMath.c138 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()
DdeMathTest.c29 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()
DdeMath.h199 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()
217 DE_INLINE deInt32 deRoundFloatToInt32 (float x) { if(x >= 0.0f) return (deInt32)(x + 0.5f); else… in deRoundFloatToInt32()
/external/deqp/framework/opengl/simplereference/
DsglrGLContext.hpp168 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 …]
DsglrContext.hpp156 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 …]
DsglrReferenceContext.hpp719 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 …]
DsglrGLContext.cpp701 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/
DdeRingbuffer.c34 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) * blockCount); in deRingbuffer_create()
82 memset(ringbuffer->blockUsage, 0, sizeof(deInt32) * blockCount); in deRingbuffer_create()
[all …]
DdeIOStream.h52 …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()
DdeThreadStream.c55 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()
DdeInStream.h38 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()
DdeOutStream.h38 …esult deOutStream_write (deOutStream* stream, const void* buf, deInt32 bufSize, deInt32* numWritt…
45 …Result deOutStream_write (deOutStream* stream, const void* buf, deInt32 bufSize, deInt32* numWritt… in deOutStream_write()
DdeStreamCpyThread.c35 deInt32 read = 0; in cpyStream()
36 deInt32 written = 0; in cpyStream()
43 deInt32 wrote = 0; in cpyStream()
60 deStreamCpyThread* deStreamCpyThread_create (deInStream* input, deOutStream* output, deInt32 buffer… in deStreamCpyThread_create()
DdeFileStream.c34 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/framework/delibs/dethread/
DdeThreadTest.c38 deInt32 val = *((deInt32*)arg); in threadTestThr1()
94 deInt32 val = 123; in deThread_selfTest()
108 deInt32 ret; in deThread_selfTest()
185 deInt32 counter;
186 deInt32 counter2;
187 deInt32 maxVal;
193 deInt32 numIncremented = 0; in mutexTestThr2()
197 deInt32 localCounter; in mutexTestThr2()
358 deInt32 buffer[32];
362 deInt32 producerSum;
[all …]
DdeAtomic.h39 DE_INLINE deInt32 deAtomicIncrement32 (deInt32 volatile* dstAddr) in deAtomicIncrement32()
55 DE_INLINE deInt32 deAtomicDecrement32 (deInt32 volatile* dstAddr) in deAtomicDecrement32()
/external/deqp/framework/delibs/decpp/
DdeSpinBarrier.hpp50 SpinBarrier (deInt32 numThreads);
59 const deInt32 m_numThreads;
60 volatile deInt32 m_numEntered;
61 volatile deInt32 m_numLeaving;
DdeSpinBarrier.cpp34 SpinBarrier::SpinBarrier (deInt32 numThreads) in SpinBarrier()
102 …TestThread (SpinBarrier& barrier, volatile deInt32* sharedVar, int numThreads, int threadNdx, bool… in TestThread()
142 volatile deInt32* m_sharedVar;
159 volatile deInt32 sharedVar = 0; in multiThreadTest()
/external/deqp/framework/referencerenderer/
DrrGenericVector.hpp56 deInt32 iData[4];
136 inline deInt32* GenericVec4::getAccess<deInt32> () in getAccess()
142 inline const deInt32* GenericVec4::getAccess<deInt32> () const in getAccess()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp780 const deInt32 multiplier = (deInt32)getBits(src, 52, 55); in decompressEAC11Block()
781 const deInt32 tableNdx = (deInt32)getBits(src, 48, 51); in decompressEAC11Block()
782 deInt32 baseCodeword = (deInt32)getBits(src, 56, 63); in decompressEAC11Block()
1047 inline deInt32 signExtend (deInt32 src, int numSrcBits) in signExtend()
1712 inline void bitTransferSigned (deInt32& a, deInt32& b) in bitTransferSigned()
1756 deInt32 red = (deInt32)getBits(v0, 0, 5); in decodeHDREndpointMode7()
1757 deInt32 green = (deInt32)getBits(v1, 0, 4); in decodeHDREndpointMode7()
1758 deInt32 blue = (deInt32)getBits(v2, 0, 4); in decodeHDREndpointMode7()
1759 deInt32 scale = (deInt32)getBits(v3, 0, 4); in decodeHDREndpointMode7()
1773 deInt32& R = red; in decodeHDREndpointMode7()
[all …]
/external/deqp/modules/gles31/functional/
Des31fShaderIntegerFunctionTests.cpp96 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<()
124 return deUint32(0 - deInt32((integer & (1 << (integerLength - 1))) << 1)) | integer; in extendSignTo32()
677 in0[valueNdx*scalarSize + compNdx] = (deInt32)easyCases[easyCaseNdx].x; in getInputValues()
678 in1[valueNdx*scalarSize + compNdx] = (deInt32)easyCases[easyCaseNdx].y; in getInputValues()
688 const deInt32 base0 = (deInt32)rnd.getUint32(); in getInputValues()
689 const deInt32 base1 = (deInt32)rnd.getUint32(); in getInputValues()
707 const deInt32 in0 = ((const deInt32*)inputs[0])[compNdx]; in compare()
708 const deInt32 in1 = ((const deInt32*)inputs[1])[compNdx]; in compare()
709 const deInt32 out0 = ((const deInt32*)outputs[0])[compNdx]; in compare()
710 const deInt32 out1 = ((const deInt32*)outputs[1])[compNdx]; in compare()
[all …]
/external/deqp/modules/gles2/functional/
Des2fNegativeTextureApiTests.cpp73 static void getCompressedTexSubImage2DFormat(const vector<deInt32>& supported, vector<deInt32>& acc… in getCompressedTexSubImage2DFormat()
89 …vector<deInt32>::const_iterator fmt = std::find(supported.begin(), supported.end(), compressedTexS… in getCompressedTexSubImage2DFormat()
144 vector<deInt32> compressedFormats; in init()
180 vector<deInt32> compressedFormats; in init()
192 vector<deInt32> compressedFormats; in init()
214 vector<deInt32> compressedFormats; in init()
227 vector<deInt32> compressedFormats; in init()
250 vector<deInt32> compressedFormats; in init()
266 vector<deInt32> compressedFormats; in init()
282 vector<deInt32> compressedFormats; in init()
[all …]
/external/deqp/modules/gles3/functional/
Des3fInstancedRenderingTests.cpp75 deInt32 i32;
79 VarComp(deInt32 v) : i32(v) {} in VarComp()
168 vec.push_back(VarComp((deInt32)(val*FLOAT_INT_SCALE + FLOAT_INT_BIAS))); in pushVarCompAttrib()
586 deInt32 intR = (deInt32)(r*FLOAT_INT_SCALE + FLOAT_INT_BIAS); in computeReference()
587 deInt32 intG = (deInt32)(g*FLOAT_INT_SCALE + FLOAT_INT_BIAS); in computeReference()
588 deInt32 intB = (deInt32)(b*FLOAT_INT_SCALE + FLOAT_INT_BIAS); in computeReference()
595 deUint32 uintR = (deInt32)(r*FLOAT_UINT_SCALE + FLOAT_UINT_BIAS); in computeReference()
596 deUint32 uintG = (deInt32)(g*FLOAT_UINT_SCALE + FLOAT_UINT_BIAS); in computeReference()
597 deUint32 uintB = (deInt32)(b*FLOAT_UINT_SCALE + FLOAT_UINT_BIAS); in computeReference()

12345