Home
last modified time | relevance | path

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

12345678

/external/deqp/framework/egl/
DegluConfigInfo.hpp42 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/
DdeInt32.h161 DE_INLINE deInt32 deSignBit32 (deInt32 a) in deSignBit32()
163 return (deInt32)((deUint32)a & 0x80000000u); in deSignBit32()
268 DE_INLINE deInt32 deAlign32 (deInt32 val, deInt32 align) in deAlign32()
366 DE_INLINE int deLog2Floor32 (deInt32 a) in deLog2Floor32()
377 DE_INLINE int deLog2Ceil32 (deInt32 a) in deLog2Ceil32()
387 DE_INLINE deUint32 deLog2Clz(deInt32 a) in deLog2Clz()
442 DE_INLINE deInt32 deSafeMul32 (deInt32 a, deInt32 b) in deSafeMul32()
444 deInt32 res = a * b; in deSafeMul32()
449 DE_INLINE deInt32 deSafeAdd32 (deInt32 a, deInt32 b) in deSafeAdd32()
455 DE_INLINE deInt32 deDivRoundUp32 (deInt32 a, deInt32 b) in deDivRoundUp32()
[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) * (size_t)blockCount); in deRingbuffer_create()
82 memset(ringbuffer->blockUsage, 0, sizeof(deInt32) * (size_t)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()
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()
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()
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/decpp/
DdeSpinBarrier.hpp57 SpinBarrier (deInt32 numThreads);
78 volatile deInt32 m_numThreads;
79 volatile deInt32 m_numEntered;
80 volatile deInt32 m_numLeaving;
81 volatile deInt32 m_numRemoved;
DdeSpinBarrier.cpp34 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/
DvktImageAtomicOperationTests.cpp170 static deInt32 getOperationInitialValue (const AtomicOperation op) in getOperationInitialValue()
188 static deInt32 getAtomicFuncArgument (const AtomicOperation op, const IVec3& invocationID, const IV… in getAtomicFuncArgument()
224 static deInt32 computeBinaryAtomicOperationResult (const AtomicOperation op, const deInt32 a, const… in computeBinaryAtomicOperationResult()
663 for (deInt32 z = 0; z < resultBuffer.getDepth(); z++) in verifyResult()
664 for (deInt32 y = 0; y < resultBuffer.getHeight(); y++) in verifyResult()
665 for (deInt32 x = 0; x < resultBuffer.getWidth(); x++) in verifyResult()
667 deInt32 resultValue = resultBuffer.getPixelInt(x, y, z).x(); in verifyResult()
671 deInt32 reference = getOperationInitialValue(m_operation); in verifyResult()
673 for (deInt32 i = 0; i < static_cast<deInt32>(NUM_INVOCATIONS_PER_PIXEL); i++) in verifyResult()
687 for (deInt32 i = 0; i < static_cast<deInt32>(NUM_INVOCATIONS_PER_PIXEL) && !matchFound; i++) in verifyResult()
[all …]
/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/delibs/dethread/
DdeAtomic.h39 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/
DvktDynamicStateVPTests.cpp155 const deInt32 frameWidth = referenceFrame.getWidth(); in buildReferenceFrame()
156 const deInt32 frameHeight = referenceFrame.getHeight(); in buildReferenceFrame()
202 const deInt32 frameWidth = referenceFrame.getWidth(); in buildReferenceFrame()
203 const deInt32 frameHeight = referenceFrame.getHeight(); in buildReferenceFrame()
291 const deInt32 quarterWidth = WIDTH / 4; in iterate()
292 const deInt32 quarterHeight = HEIGHT / 4; in iterate()
305 { { (deInt32)halfWidth, quarterHeight }, { quarterWidth, quarterHeight } }, in iterate()
306 { { (deInt32)halfWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate()
307 { { quarterWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate()
347 const deInt32 frameWidth = referenceFrame.getWidth(); in iterate()
[all …]
/external/deqp/modules/gles2/functional/
Des2fNegativeTextureApiTests.cpp75 static void getCompressedTexSubImage2DFormat(const vector<deInt32>& supported, vector<deInt32>& acc… in getCompressedTexSubImage2DFormat()
91 …vector<deInt32>::const_iterator fmt = std::find(supported.begin(), supported.end(), compressedTexS… in getCompressedTexSubImage2DFormat()
146 vector<deInt32> compressedFormats; in init()
182 vector<deInt32> compressedFormats; in init()
194 vector<deInt32> compressedFormats; in init()
216 vector<deInt32> compressedFormats; in init()
229 vector<deInt32> compressedFormats; in init()
252 vector<deInt32> compressedFormats; in init()
268 vector<deInt32> compressedFormats; in init()
284 vector<deInt32> compressedFormats; in init()
[all …]
/external/deqp/framework/common/
DtcuAstcUtil.cpp91 inline deInt32 signExtend (deInt32 src, int numSrcBits) in signExtend()
766 inline void bitTransferSigned (deInt32& a, deInt32& b) in bitTransferSigned()
810 deInt32 red = (deInt32)getBits(v0, 0, 5); in decodeHDREndpointMode7()
811 deInt32 green = (deInt32)getBits(v1, 0, 4); in decodeHDREndpointMode7()
812 deInt32 blue = (deInt32)getBits(v2, 0, 4); in decodeHDREndpointMode7()
813 deInt32 scale = (deInt32)getBits(v3, 0, 4); in decodeHDREndpointMode7()
827 deInt32& R = red; in decodeHDREndpointMode7()
828 deInt32& G = green; in decodeHDREndpointMode7()
829 deInt32& B = blue; in decodeHDREndpointMode7()
830 deInt32& S = scale; in decodeHDREndpointMode7()
[all …]
/external/deqp/modules/gles3/functional/
Des3fApiCase.cpp91 checkBooleans((deInt32)value, expected); in checkBooleans()
94 void ApiCase::checkBooleans (deInt32 value, deUint8 expected) in checkBooleans()
96 if (value != (deInt32)expected) in checkBooleans()
106 deInt32 numFormats; in getSupportedExtensions()

12345678