Home
last modified time | relevance | path

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

12345678910>>...19

/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/framework/delibs/debase/
DdeInt32.h173 DE_INLINE deInt32 deSignBit32 (deInt32 a) in deSignBit32()
175 return (deInt32)((deUint32)a & 0x80000000u); in deSignBit32()
341 DE_INLINE deInt32 deAlign32 (deInt32 val, deInt32 align) in deAlign32()
451 DE_INLINE int deLog2Floor32 (deInt32 a) in deLog2Floor32()
462 DE_INLINE int deLog2Ceil32 (deInt32 a) in deLog2Ceil32()
521 DE_INLINE deInt32 deSafeMul32 (deInt32 a, deInt32 b) in deSafeMul32()
523 deInt32 res = a * b; in deSafeMul32()
528 DE_INLINE deInt32 deSafeAdd32 (deInt32 a, deInt32 b) in deSafeAdd32()
534 DE_INLINE deInt32 deDivRoundUp32 (deInt32 a, deInt32 b) in deDivRoundUp32()
545 DE_INLINE deInt32 deRoundUp32(deInt32 a, deInt32 b) in deRoundUp32()
[all …]
DdeMath.h277 DE_INLINE float deInt32ToFloat (deInt32 x) { return (float)x; } in deInt32ToFloat()
281 float deInt32ToFloatRoundToNegInf (deInt32 x);
285 float deInt32ToFloatRoundToPosInf (deInt32 x);
289 DE_INLINE deInt32 deChopFloatToInt32 (float x) { return (deInt32)x; } in deChopFloatToInt32()
290 DE_INLINE deInt32 deFloorFloatToInt32 (float x) { return (deInt32)(deFloatFloor(x)); } in deFloorFloatToInt32()
291 DE_INLINE deInt32 deCeilFloatToInt32 (float x) { return (deInt32)(deFloatCeil(x)); } in deCeilFloatToInt32()
293 DE_INLINE deInt32 deChopToInt32 (double x) { return (deInt32)x; } in deChopToInt32()
294 DE_INLINE deInt32 deFloorToInt32 (double x) { return (deInt32)(deFloor(x)); } in deFloorToInt32()
295 DE_INLINE deInt32 deCeilToInt32 (double x) { return (deInt32)(deCeil(x)); } in deCeilToInt32()
299 DE_INLINE deInt32 deRoundFloatToInt32 (float x) { if(x >= 0.0f) return (deInt32)(x + 0.5f); els… in deRoundFloatToInt32()
[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()
/third_party/vk-gl-cts/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.hpp721 virtual void vertexAttribI4i (deUint32 index, deInt32, deInt32, deInt32, deInt32);
724 virtual deInt32 getAttribLocation (deUint32 program, const char *name);
726 virtual void uniform1f (deInt32 location, float);
727 virtual void uniform1i (deInt32 location, deInt32);
728 virtual void uniform1fv (deInt32 index, deInt32 count, const float*);
729 virtual void uniform2fv (deInt32 index, deInt32 count, const float*);
730 virtual void uniform3fv (deInt32 index, deInt32 count, const float*);
731 virtual void uniform4fv (deInt32 index, deInt32 count, const float*);
732 virtual void uniform1iv (deInt32 index, deInt32 count, const deInt32*);
733 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 …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcConfigList.hpp96 AOSPConfig(ConfigType type_, int id_, deUint32 surfaceTypes_, deInt32 redBits_, deInt32 greenBits_, in AOSPConfig()
97deInt32 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;
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
DvktSampleVerifierUtil.cpp44 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 …]
DvktSampleVerifierUtil.hpp41 deInt32 ulp);
43 deInt32 mod (const deInt32 a,
44 const deInt32 n);
45 deInt32 mirror (const deInt32 n);
85 deInt32 wrapTexelCoord (const deInt32 coord,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp44 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 …]
DvktSampleVerifierUtil.hpp41 deInt32 ulp);
43 deInt32 mod (const deInt32 a,
44 const deInt32 n);
45 deInt32 mirror (const deInt32 n);
85 deInt32 wrapTexelCoord (const deInt32 coord,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderTestUtil.hpp68 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;
DvktSpvAsmUtils.cpp374 std::vector<deInt32> getInt32s (de::Random& rnd, const deUint32 count) in getInt32s()
376 std::vector<deInt32> data; in getInt32s()
381 data.push_back(deInt32(0x00000000)); // 0 in getInt32s()
382 data.push_back(deInt32(0x00000001)); // 1 in getInt32s()
383 data.push_back(deInt32(0x0000002a)); // 42 in getInt32s()
384 data.push_back(deInt32(0x00007fff)); // 32767 in getInt32s()
385 data.push_back(deInt32(0x00008000)); // 32768 in getInt32s()
386 data.push_back(deInt32(0x0000ffff)); // 65535 in getInt32s()
387 data.push_back(deInt32(0x00010000)); // 65536 in getInt32s()
388 data.push_back(deInt32(0x7fffffff)); // 2147483647 in getInt32s()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderTestUtil.hpp68 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;
DvktSpvAsmUtils.cpp374 std::vector<deInt32> getInt32s (de::Random& rnd, const deUint32 count) in getInt32s()
376 std::vector<deInt32> data; in getInt32s()
381 data.push_back(deInt32(0x00000000)); // 0 in getInt32s()
382 data.push_back(deInt32(0x00000001)); // 1 in getInt32s()
383 data.push_back(deInt32(0x0000002a)); // 42 in getInt32s()
384 data.push_back(deInt32(0x00007fff)); // 32767 in getInt32s()
385 data.push_back(deInt32(0x00008000)); // 32768 in getInt32s()
386 data.push_back(deInt32(0x0000ffff)); // 65535 in getInt32s()
387 data.push_back(deInt32(0x00010000)); // 65536 in getInt32s()
388 data.push_back(deInt32(0x7fffffff)); // 2147483647 in getInt32s()
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuCompressedTexture.cpp865 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 …]
/third_party/vk-gl-cts/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;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory_model/
DvktMemoryModelPadding.cpp50 deInt32 a;
57 deInt32 a, b;
64 deInt32 a, b, c;
78 BufferStructure (deInt32 a, deInt32 b, deInt32 c, deUint8 paddingByte) in BufferStructure()
100 bool checkValues (deInt32 a, deInt32 b, deInt32 c, deUint8 paddingByte) const in checkValues()
238 constexpr deInt32 kA = 1; in iterate()
239 constexpr deInt32 kB = 2; in iterate()
240 constexpr deInt32 kC = 3; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelPadding.cpp50 deInt32 a;
57 deInt32 a, b;
64 deInt32 a, b, c;
78 BufferStructure (deInt32 a, deInt32 b, deInt32 c, deUint8 paddingByte) in BufferStructure()
100 bool checkValues (deInt32 a, deInt32 b, deInt32 c, deUint8 paddingByte) const in checkValues()
238 constexpr deInt32 kA = 1; in iterate()
239 constexpr deInt32 kB = 2; in iterate()
240 constexpr deInt32 kC = 3; in iterate()
/third_party/vk-gl-cts/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()

12345678910>>...19