Home
last modified time | relevance | path

Searched refs:deInt16 (Results 1 – 25 of 50) sorted by relevance

12

/external/deqp/framework/delibs/depool/
DdePoolMultiSet.c26 DE_DECLARE_POOL_MULTISET(deTestMultiSet, deInt16);
27 DE_IMPLEMENT_POOL_MULTISET(deTestMultiSet, deInt16, deInt16Hash, deInt16Equal);
38 DE_TEST_ASSERT(!deTestMultiSet_exists(set, (deInt16)i)); in dePoolMultiSet_selfTest()
42 deTestMultiSet_insert(set, (deInt16)i); in dePoolMultiSet_selfTest()
48 deBool found = deTestMultiSet_exists(set, (deInt16)i); in dePoolMultiSet_selfTest()
54 deTestMultiSet_delete(set, (deInt16)i); in dePoolMultiSet_selfTest()
60 deBool found = deTestMultiSet_exists(set, (deInt16)i); in dePoolMultiSet_selfTest()
66 deTestMultiSet_insert(set, (deInt16)i); in dePoolMultiSet_selfTest()
73 deBool found = deTestMultiSet_exists(set, (deInt16)i); in dePoolMultiSet_selfTest()
83 deTestMultiSet_insert(set, (deInt16)i); in dePoolMultiSet_selfTest()
[all …]
DdePoolHashSet.c28 DE_DECLARE_POOL_HASH_SET(deTestHashSet, deInt16, int);
29 DE_IMPLEMENT_POOL_HASH_SET(deTestHashSet, deInt16, int, deInt16Hash, deInt16Equal, deInt32Hash, deI…
43 deTestHashSet_insert(hashSet, (deInt16)i, 2*j + 5); in dePoolHashSet_selfTest()
52 deTestHashSet_delete(hashSet, (deInt16)i, 2*j + 5); in dePoolHashSet_selfTest()
61 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHashSet_selfTest()
68 deTestHash_insert(hash, (deInt16)i, -i); in dePoolHashSet_selfTest()
74 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHashSet_selfTest()
80 deTestHash_delete(hash, (deInt16)i); in dePoolHashSet_selfTest()
85 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHashSet_selfTest()
94 deTestHash_insert(hash, (deInt16)i, -i); in dePoolHashSet_selfTest()
[all …]
DdePoolSet.c28 DE_DECLARE_POOL_SET(deTestSet, deInt16);
29 DE_IMPLEMENT_POOL_SET(deTestSet, deInt16, deInt16Hash, deInt16Equal);
40 DE_TEST_ASSERT(!deTestSet_exists(set, (deInt16)i)); in dePoolSet_selfTest()
44 deTestSet_insert(set, (deInt16)i); in dePoolSet_selfTest()
50 deBool found = deTestSet_exists(set, (deInt16)i); in dePoolSet_selfTest()
56 deTestSet_delete(set, (deInt16)i); in dePoolSet_selfTest()
62 deBool found = deTestSet_exists(set, (deInt16)i); in dePoolSet_selfTest()
68 deTestSet_insert(set, (deInt16)i); in dePoolSet_selfTest()
75 deBool found = deTestSet_exists(set, (deInt16)i); in dePoolSet_selfTest()
86 deInt16 key = deTestSetIter_getKey(&iter); in dePoolSet_selfTest()
DdePoolHash.c28 DE_DECLARE_POOL_HASH(deTestHash, deInt16, int);
29 DE_IMPLEMENT_POOL_HASH(deTestHash, deInt16, int, deInt16Hash, deInt16Equal);
32 DE_DECLARE_POOL_ARRAY(deTestInt16Array, deInt16);
51 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHash_selfTest()
58 deTestHash_insert(hash, (deInt16)i, -i); in dePoolHash_selfTest()
64 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHash_selfTest()
70 deTestHash_delete(hash, (deInt16)i); in dePoolHash_selfTest()
75 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHash_selfTest()
84 deTestHash_insert(hash, (deInt16)i, -i); in dePoolHash_selfTest()
88 const int* val = deTestHash_find(hash, (deInt16)i); in dePoolHash_selfTest()
[all …]
DdePoolHashArray.c28 DE_DECLARE_POOL_HASH_ARRAY(deTestHashArray, deInt16, int, deInt16Array, deIntArray);
29 DE_IMPLEMENT_POOL_HASH_ARRAY(deTestHashArray, deInt16, int, deInt16Array, deIntArray, deInt16Hash, …
47 deTestHashArray_insert(hashArray, (deInt16)(-i^0x5), 2*i+5); in dePoolHashArray_selfTest()
58 DE_TEST_ASSERT(deInt16Array_get(keyArray, i) == (deInt16)(-i^0x5)); in dePoolHashArray_selfTest()
DdePoolArray.c151 DE_DECLARE_POOL_ARRAY(dePoolInt16Array, deInt16);
171 dePoolInt16Array_pushBack(arr16, (deInt16)i); in dePoolArray_selfTest()
203 dePoolInt16Array_pushBack(arr16, (deInt16)i); in dePoolArray_selfTest()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmUtils.cpp371 std::vector<deInt16> getInt16s (de::Random& rnd, const deUint32 count) in getInt16s()
373 std::vector<deInt16> data; in getInt16s()
378 data.push_back(deInt16(0x0000)); // 0 in getInt16s()
379 data.push_back(deInt16(0x0001)); // 1 in getInt16s()
380 data.push_back(deInt16(0x002a)); // 42 in getInt16s()
381 data.push_back(deInt16(0x7fff)); // 32767 in getInt16s()
382 data.push_back(deInt16(0x8000)); // -32868 in getInt16s()
383 data.push_back(deInt16(0x8001)); // -32767 in getInt16s()
384 data.push_back(deInt16(0xffd6)); // -42 in getInt16s()
385 data.push_back(deInt16(0xffff)); // -1 in getInt16s()
[all …]
DvktSpvAsm8bitStorageTests.cpp1540 vector<deInt16> inputs = getInt16s(rnd, numElements); in addCompute8bitStorage16To8Group()
1701 vector<deInt16> outputs(numElements); in addCompute8bitUniform8To16Group()
1731 spec.verifyIO = checkUniformsArray<deInt8, deInt16, 4>; in addCompute8bitUniform8To16Group()
1733 spec.verifyIO = checkUniformsArray<deInt8, deInt16, 1>; in addCompute8bitUniform8To16Group()
1859 vector<deInt16> sOutputs; in addCompute8bitStoragePushConstant8To16Group()
1860 vector<deInt16> uOutputs; in addCompute8bitStoragePushConstant8To16Group()
1871 sOutputs.push_back(static_cast<deInt16>(inputs[numNdx] | signExtendMask)); in addCompute8bitStoragePushConstant8To16Group()
1873 sOutputs.push_back(static_cast<deInt16>(inputs[numNdx])); in addCompute8bitStoragePushConstant8To16Group()
3661 …vector<deInt16> inputs = getInt16s(rnd, ((arrayStrideInBytesUniform / static_cast<deUint32>(s… in addGraphics8BitStorageUniformInt16To8Group()
3667 resources.verifyIO = checkUniformsArray<deInt16, deInt8, 1>; in addGraphics8BitStorageUniformInt16To8Group()
[all …]
DvktSpvAsmTypeTests.cpp1660 s << (deInt16)v; in valueToStr()
2386 DE_ASSERT(sizeof(T) == sizeof(deInt16)); in finalizeFullOperation()
2562 class SpvAsmTypeInt16Tests : public SpvAsmTypeTests<deInt16>
2568 void getDataset (vector<deInt16>& input,
2571 const vector<deInt16>& data);
2587 void SpvAsmTypeInt16Tests::getDataset (vector<deInt16>& input, in getDataset()
2592 input.push_back(static_cast<deInt16>(deIntMinValue32(16)));// A 16-bit negative number in getDataset()
2593 input.push_back(static_cast<deInt16>(deIntMaxValue32(16)));// A 16-bit positive number in getDataset()
2604 input.push_back(static_cast<deInt16>(m_rnd.getUint16())); in getDataset()
2608 const vector<deInt16>& data) in pushResource()
[all …]
DvktSpvAsmTrinaryMinMaxTests.cpp164 …genInt16 (de::Random& rnd, void* ptr) { *reinterpret_cast<deInt16*>(ptr) = static_cast<deInt16>(rn… in genInt16()
208 …, const void* in1, const void* in2, const void* in3) { runOpFunc<deInt16> (min3<deInt16>, out, … in minInt16()
209 …, const void* in1, const void* in2, const void* in3) { runOpFunc<deInt16> (max3<deInt16>, out, … in maxInt16()
210 …, const void* in1, const void* in2, const void* in3) { runOpFunc<deInt16> (mid3<deInt16>, out, … in midInt16()
DvktSpvAsm16bitStorageTests.cpp106 bool compare16Bit (deInt16 original, deInt16 returned, RoundingModeFlags flags, tcu::TestLog& log) in compare16Bit()
691 vector<deInt16> dataMixStd140 (de::Random& rnd) in dataMixStd140()
763 vector<deInt16> dataMixStd430 (de::Random& rnd) in dataMixStd430()
1425 vector<deInt16> inputs = getInt16s(rnd, numElements * inputStride); in addCompute16bitStorageUniform16To32Group()
1439 const deInt16 input = inputs[numNdx * inputStride + scalarIdx]; in addCompute16bitStorageUniform16To32Group()
1500 vector<deInt16> inputDataInt = getInt16s(rnd, structSize * 4); in addCompute16bitStorageUniform16To32ChainAccessGroup()
1919 vector<deInt16> inputs = getInt16s(rnd, numElements); in addCompute16bitStoragePushConstant16To32Group()
2001 vector<deInt16> outputs; in addGraphics16BitStorageUniformInt32To16Group()
2005 outputs.push_back(static_cast<deInt16>(0xffff & inputs[numNdx])); in addGraphics16BitStorageUniformInt32To16Group()
2567 vector<deInt16> outputs; in addCompute16bitStorageUniform32To16Group()
[all …]
/external/deqp/framework/common/
DtcuRandomValueIterator.hpp53 template <> inline deInt16 getRandomValue<deInt16> (de::Random& rnd) { return (deInt16)rnd.getUint… in getRandomValue()
DtcuCompressedTexture.cpp465 inline deInt16 extend11To16WithSign (deInt16 src) in extend11To16WithSign()
468 return (deInt16)(-(deInt16)extend11To16((deUint16)(-src))); in extend11To16WithSign()
470 return (deInt16)extend11To16(src); in extend11To16WithSign()
888 deInt16 value; in decompressEAC11Block()
891 value = (deInt16)deClamp32(baseCodeword*8 + multiplier*modifier*8, -1023, 1023); in decompressEAC11Block()
893 value = (deInt16)deClamp32(baseCodeword*8 + modifier, -1023, 1023); in decompressEAC11Block()
895 *((deInt16*)(dst + dstOffset)) = value; in decompressEAC11Block()
1024 …const deInt16* const srcPixel = (deInt16*)&uncompressedBlock[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOMPR… in decompressEAC_R11()
1025 deInt16* const dstPixel = (deInt16*)(dstPtr + y*dstRowPitch + x*dstPixelSize); in decompressEAC_R11()
1066 …const deInt16* const srcPixelR = (deInt16*)&uncompressedBlockR[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOM… in decompressEAC_RG11()
[all …]
DtcuSeedBuilder.cpp96 SeedBuilder& operator<< (SeedBuilder& builder, deInt16 value) in operator <<()
98 const deInt16 val = value ^ 555; in operator <<()
DtcuSeedBuilder.hpp54 SeedBuilder& operator<< (SeedBuilder& builder, deInt16 value);
/external/deqp/framework/delibs/debase/
DdeMath.h221 DE_INLINE deInt16 deRoundFloatToInt16 (float x) { if(x >= 0.0f) return (deInt16)(x + 0.5f); els… in deRoundFloatToInt16()
225 DE_INLINE deInt16 deRoundToInt16 (double x) { if(x >= 0.0) return (deInt16)(x + 0.5); else ret… in deRoundToInt16()
DdeInt32.h617 DE_INLINE deUint32 deInt16Hash (deInt16 v) { return deInt32Hash(v); } in deInt16Hash()
622 DE_INLINE deBool deInt16Equal (deInt16 a, deInt16 b) { return (a == b); } in deInt16Equal()
DdeDefs.c33 DE_STATIC_ASSERT(sizeof(deInt16) == 2);
/external/deqp/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.hpp156 typedef tcu::Vector<deInt16, 2> Vec2_16SNorm;
157 typedef tcu::Vector<deInt16, 3> Vec3_16SNorm;
158 typedef tcu::Vector<deInt16, 4> Vec4_16SNorm;
193 …Vec3& vertex) { return Vec2_16SNorm(deFloat32ToSNorm<deInt16>(vertex.x()), deFloat32ToSNorm<deInt1… in convertFloatTo()
194 …urn Vec3_16SNorm(deFloat32ToSNorm<deInt16>(vertex.x()), deFloat32ToSNorm<deInt16>(vertex.y()), deF… in convertFloatTo()
195 …loat32ToSNorm<deInt16>(vertex.x()), deFloat32ToSNorm<deInt16>(vertex.y()), deFloat32ToSNorm<deInt1… in convertFloatTo()
/external/deqp/modules/internal/
DditSeedBuilderTests.cpp130 …addChild(new SeedBuilderTest<deInt16>(m_testCtx, 0, 133071403u, "int16_zero", "Seed from int16 ze… in init()
131 …addChild(new SeedBuilderTest<deInt16>(m_testCtx, 1, 57421642u, "int16_one", "Seed from int16 one… in init()
132 …addChild(new SeedBuilderTest<deInt16>(m_testCtx, -1, 74389771u, "int16_minus_one", "Seed from int… in init()
/external/deqp/framework/delibs/decpp/
DdePoolArray.cpp46 arr16.pushBack((deInt16)i); in intArrayTest()
78 arr16.pushBack((deInt16)i); in intArrayTest()
120 arr16.pushBack((deInt16)i); in alignedIntArrayTest()
152 arr16.pushBack((deInt16)i); in alignedIntArrayTest()
/external/deqp/framework/opengl/
DgluDrawUtil.hpp265 DECLARE_VA_CTOR(Int16, deInt16, VTX_COMP_SIGNED_INT16, VTX_COMP_CONVERT_NONE);
273 DECLARE_VA_CTOR(Snorm16, deInt16, VTX_COMP_SIGNED_INT16, VTX_COMP_CONVERT_NORMALIZE_TO_FLOAT);
281 DECLARE_VA_CTOR(Int16Float, deInt16, VTX_COMP_SIGNED_INT16, VTX_COMP_CONVERT_CAST_TO_FLOAT);
/external/deqp/framework/referencerenderer/
DrrVertexAttrib.cpp290 case VERTEXATTRIBTYPE_NONPURE_SNORM16_CLAMP: readSnormClamp<deInt16> (dst, size, ptr); break; in readFloat()
294 case VERTEXATTRIBTYPE_NONPURE_SNORM16_SCALE: readSnormScale<deInt16> (dst, size, ptr); break; in readFloat()
301 case VERTEXATTRIBTYPE_NONPURE_INT16: read<deInt16> (dst, size, ptr); break; in readFloat()
329 case VERTEXATTRIBTYPE_PURE_INT16: read<deInt16> (dst, size, ptr); break; in readInt()
/external/deqp/modules/gles3/functional/
Des3fShaderPackingFunctionTests.cpp273 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate()
274 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
/external/deqp/framework/opengl/wrapper/
DglwTypes.inl47 typedef deInt16 GLshort;

12