Home
last modified time | relevance | path

Searched refs:deUint16 (Results 1 – 25 of 144) sorted by relevance

123456

/external/deqp/framework/delibs/decpp/
DdeThreadSafeRingBuffer.cpp42 Message (deUint16 threadId, deUint16 payload) in Message()
52 deUint16 getThreadId (void) const { return (deUint16)(data >> 16); } in getThreadId()
53 deUint16 getPayload (void) const { return (deUint16)(data & 0xffff); } in getPayload()
72 deUint16 threadId = msg.getThreadId(); in run()
85 deUint32 getPayloadSum (deUint16 threadId) const in getPayloadSum()
92 vector<deUint16> m_lastPayload;
99 Producer (ThreadSafeRingBuffer<Message>& buffer, deUint16 threadId, int dataSize) in Producer()
112 m_buffer.pushFront(Message(m_threadId, (deUint16)ndx)); in run()
117 deUint16 m_threadId;
138 producers.push_back(new Producer(buffer, (deUint16)i, dataSize)); in ThreadSafeRingBuffer_selfTest()
[all …]
DdeBlockBuffer.cpp43 Message (deUint16 threadId, deUint16 payload) in Message()
53 deUint16 getThreadId (void) const { return (deUint16)(data >> 16); } in getThreadId()
54 deUint16 getPayload (void) const { return (deUint16)(data & 0xffff); } in getPayload()
84 deUint16 threadId = msg.getThreadId(); in run()
111 deUint32 getPayloadSum (deUint16 threadId) const in getPayloadSum()
118 vector<deUint16> m_lastPayload;
125 Producer (MessageBuffer& buffer, deUint16 threadId, int numMessages) in Producer()
145 tmpBuf[ndx] = Message(m_threadId, (deUint16)msgNdx++); in run()
155 deUint16 m_threadId;
175 producers.push_back(new Producer(buffer, (deUint16)i, dataSize)); in runTest()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderLimitTests.cpp76 const deUint16 indices[12] = in iterate()
115 addAttribute(0u, VK_FORMAT_R32G32B32A32_SFLOAT, deUint16(sizeof(float) * 4), 6, vertices); in setupDefaultInputs()
121 …stContext& testCtx, const string& name, const string& description, const deUint16 inputComponents);
129 const deUint16 m_inputComponents;
132 …estContext& testCtx, const string& name, const string& description, const deUint16 inputComponents) in FragmentInputComponentCase()
184 deUint16 maxLocations = (deUint16)deCeilToInt32((float)(m_inputComponents - 4) / 4u); in initPrograms()
189 for (deUint16 loc = 0; loc < maxLocations; loc++) in initPrograms()
226 const deUint16 maxFragmentInputComponents = (deUint16)limits.maxFragmentInputComponents; in createInstance()
227 const deUint16 maxVertexOutputComponents = (deUint16)limits.maxVertexOutputComponents; in createInstance()
257 deUint16 fragmentComponentMaxLimits [] = { 64u, 128u, 256u }; in createLimitTests()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderPackingFunctionTests.cpp209 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate()
210 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate()
213 const deUint16 res0 = (deUint16)(res & 0xffff); in iterate()
214 const deUint16 res1 = (deUint16)(res >> 16); in iterate()
297 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate()
298 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
400 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate()
401 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate()
404 const deUint16 res0 = (deUint16)(res & 0xffff); in iterate()
405 const deUint16 res1 = (deUint16)(res >> 16); in iterate()
[all …]
Des3fShaderBuiltinVarTests.cpp335 const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; in iterate()
432 const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; in iterate()
650 const deUint16 indicesCCW[] = { 0, 1, 2, 2, 1, 3 }; in iterate()
651 const deUint16 indicesCW[] = { 2, 1, 0, 3, 1, 2 }; in iterate()
729 …ence (const tcu::PixelBufferAccess& dst, const int numVertices, const deUint16* const indices, c…
953 …erence (const tcu::PixelBufferAccess& dst, const int numVertices, const deUint16* const indices, c… in renderReference()
1021 vector<deUint16> indices (m_positions.size()); in iterate()
1031 indices[ndx] = (deUint16)ndx; in iterate()
1038 vector<deUint16> indices (m_positions.size()); in iterate()
1043 indices[ndx] = (deUint16)ndx; in iterate()
[all …]
/external/deqp/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp213 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate()
214 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate()
217 const deUint16 res0 = (deUint16)(res & 0xffff); in iterate()
218 const deUint16 res1 = (deUint16)(res >> 16); in iterate()
301 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate()
302 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
404 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate()
405 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate()
408 const deUint16 res0 = (deUint16)(res & 0xffff); in iterate()
409 const deUint16 res1 = (deUint16)(res >> 16); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp214 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate()
215 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate()
218 const deUint16 res0 = (deUint16)(res & 0xffff); in iterate()
219 const deUint16 res1 = (deUint16)(res >> 16); in iterate()
320 const deInt16 in0 = (deInt16)(deUint16)(inputs[valNdx] & 0xffff); in iterate()
321 const deInt16 in1 = (deInt16)(deUint16)(inputs[valNdx] >> 16); in iterate()
437 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate()
438 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate()
441 const deUint16 res0 = (deUint16)(res & 0xffff); in iterate()
442 const deUint16 res1 = (deUint16)(res >> 16); in iterate()
[all …]
/external/deqp/framework/common/
DtcuImageIO.cpp213 static inline deUint16 readBigEndianShort (tcu::Resource* resource) in readBigEndianShort()
215 deUint16 val; in readBigEndianShort()
217 return (deUint16)(((val >> 8) & 0xFF) | ((val << 8) & 0xFF00)); in readBigEndianShort()
240 deUint16 type = readBigEndianShort(resource.get()); in loadPKM()
244 deUint16 width = readBigEndianShort(resource.get()); in loadPKM()
245 deUint16 height = readBigEndianShort(resource.get()); in loadPKM()
246 deUint16 activeWidth = readBigEndianShort(resource.get()); in loadPKM()
247 deUint16 activeHeight = readBigEndianShort(resource.get()); in loadPKM()
DtcuTexture.cpp166 return *(const deUint16*)(src + uint32ByteOffset16To32); in readUint32High16()
169 inline void writeUint32High16 (deUint8* dst, deUint16 val) in writeUint32High16()
177 *(deUint16*)(dst + uint32ByteOffset16To32) = val; in writeUint32High16()
260 inline deUint16 convertSatRteUint10 (float f) in convertSatRteUint10()
262 const deUint16 rounded = convertSatRte<deUint16>(f); in convertSatRteUint10()
263 const deUint16 maxUint10 = 0x3FFu; in convertSatRteUint10()
267 inline deUint16 convertSatRteUint12 (float f) in convertSatRteUint12()
269 const deUint16 rounded = convertSatRte<deUint16>(f); in convertSatRteUint12()
270 const deUint16 maxUint12 = 0xFFFu; in convertSatRteUint12()
285 case TextureFormat::UNORM_INT16: return (float)*((const deUint16*)value) / 65535.0f; in channelToFloat()
[all …]
DtcuCompressedTexture.cpp459 inline deUint16 extend11To16 (deUint16 src) in extend11To16()
462 return (deUint16)((src << 5) | (src >> 6)); in extend11To16()
468 return (deInt16)(-(deInt16)extend11To16((deUint16)(-src))); in extend11To16WithSign()
899 deUint16 value; in decompressEAC11Block()
902 value = (deUint16)deClamp32(baseCodeword*8 + 4 + multiplier*modifier*8, 0, 2047); in decompressEAC11Block()
904 value= (deUint16)deClamp32(baseCodeword*8 + 4 + modifier, 0, 2047); in decompressEAC11Block()
906 *((deUint16*)(dst + dstOffset)) = value; in decompressEAC11Block()
1031 …const deUint16* const srcPixel = (deUint16*)&uncompressedBlock[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNCOM… in decompressEAC_R11()
1032 deUint16* const dstPixel = (deUint16*)(dstPtr + y*dstRowPitch + x*dstPixelSize); in decompressEAC_R11()
1075 …const deUint16* const srcPixelR = (deUint16*)&uncompressedBlockR[(y*ETC2_BLOCK_WIDTH + x)*ETC2_UNC… in decompressEAC_RG11()
[all …]
DtcuSeedBuilder.cpp101 (deUint8)(((deUint16)val) & 0xFFu), in operator <<()
102 (deUint8)(((deUint16)val) >> 8), in operator <<()
109 SeedBuilder& operator<< (SeedBuilder& builder, deUint16 value) in operator <<()
111 const deUint16 val = value ^ 37323u; in operator <<()
DtcuRandomValueIterator.hpp49 template <> inline deUint16 getRandomValue<deUint16> (de::Random& rnd) { return (deUint16)rnd.getUi… in getRandomValue()
DtcuMatrix.hpp510 typedef Matrix<deUint16, 2, 2> Matrix2f16b;
511 typedef Matrix<deUint16, 3, 3> Matrix3f16b;
512 typedef Matrix<deUint16, 4, 4> Matrix4f16b;
516 typedef Matrix<deUint16, 3, 2> Mat2x3_16b;
517 typedef Matrix<deUint16, 4, 2> Mat2x4_16b;
518 typedef Matrix<deUint16, 2, 3> Mat3x2_16b;
520 typedef Matrix<deUint16, 4, 3> Mat3x4_16b;
521 typedef Matrix<deUint16, 2, 4> Mat4x2_16b;
522 typedef Matrix<deUint16, 3, 4> Mat4x3_16b;
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp606 …std::vector<deUint16> indices ((DE_LENGTH_OF_ARRAY(s_specialFloats) - 1) * (DE_LENGTH_OF_ARRAY(s… in iterate()
627 indices[baseNdx + 0] = (deUint16)((x+0) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+0)); in iterate()
628 indices[baseNdx + 1] = (deUint16)((x+1) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+1)); in iterate()
629 indices[baseNdx + 2] = (deUint16)((x+1) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+0)); in iterate()
631 indices[baseNdx + 3] = (deUint16)((x+0) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+0)); in iterate()
632 indices[baseNdx + 4] = (deUint16)((x+1) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+1)); in iterate()
633 indices[baseNdx + 5] = (deUint16)((x+0) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+1)); in iterate()
655 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (glw::GLsizeiptr)(indices.size() * sizeof(deUint16)), &indi… in iterate()
827 …std::vector<deUint16> indices (DE_LENGTH_OF_ARRAY(s_specialFloats) * DE_LENGTH_OF_ARRAY(s_specia… in iterate()
846 indices[baseNdx + 0] = (deUint16)((x+0) * (DE_LENGTH_OF_ARRAY(s_specialFloats) + 1) + (y+0)); in iterate()
[all …]
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp618 …std::vector<deUint16> indices ((DE_LENGTH_OF_ARRAY(s_specialFloats) - 1) * (DE_LENGTH_OF_ARRAY(s… in iterate()
639 indices[baseNdx + 0] = (deUint16)((x+0) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+0)); in iterate()
640 indices[baseNdx + 1] = (deUint16)((x+1) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+1)); in iterate()
641 indices[baseNdx + 2] = (deUint16)((x+1) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+0)); in iterate()
643 indices[baseNdx + 3] = (deUint16)((x+0) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+0)); in iterate()
644 indices[baseNdx + 4] = (deUint16)((x+1) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+1)); in iterate()
645 indices[baseNdx + 5] = (deUint16)((x+0) * DE_LENGTH_OF_ARRAY(s_specialFloats) + (y+1)); in iterate()
667 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (glw::GLsizeiptr)(indices.size() * sizeof(deUint16)), &indi… in iterate()
842 …std::vector<deUint16> indices (DE_LENGTH_OF_ARRAY(s_specialFloats) * DE_LENGTH_OF_ARRAY(s_specia… in iterate()
861 indices[baseNdx + 0] = (deUint16)((x+0) * (DE_LENGTH_OF_ARRAY(s_specialFloats) + 1) + (y+0)); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmUtils.cpp569 float16.push_back(deUint16(0x0000)); in getFloat16s()
570 float16.push_back(deUint16(0x8000)); in getFloat16s()
572 float16.push_back(deUint16(0x7c00)); in getFloat16s()
573 float16.push_back(deUint16(0xfc00)); in getFloat16s()
575 float16.push_back(deUint16(0x7c0f)); in getFloat16s()
576 float16.push_back(deUint16(0xfc0f)); in getFloat16s()
578 float16.push_back(deUint16(0x7cf0)); in getFloat16s()
579 float16.push_back(deUint16(0xfcf0)); in getFloat16s()
582 float16.push_back(deUint16(0x03f0)); in getFloat16s()
583 float16.push_back(deUint16(0x83f0)); in getFloat16s()
[all …]
DvktSpvAsmWorkgroupMemoryTests.cpp66 const deUint16* results = reinterpret_cast<const deUint16*>(outputAllocs.front()->getHostPtr()); in checkResultsFloat16()
67 const deUint16* expected = reinterpret_cast<const deUint16*>(&expectedBytes[0]); in checkResultsFloat16()
69 for (size_t i = 0; i < expectedBytes.size() / sizeof (deUint16); i++) in checkResultsFloat16()
555 vector<deUint16> inputData; in addComputeWorkgroupMemoryTests()
556 vector<deUint16> outputData; in addComputeWorkgroupMemoryTests()
/external/deqp/framework/delibs/deutil/
DdeSocket.c223 static deUint16 deHostToNetworkOrder16 (deUint16 v) in deHostToNetworkOrder16()
232 static deUint16 deNetworkToHostOrder16 (deUint16 v) in deNetworkToHostOrder16()
241 DE_STATIC_ASSERT(sizeof(((struct sockaddr_in*)DE_NULL)->sin_port) == sizeof(deUint16));
242 DE_STATIC_ASSERT(sizeof(((struct sockaddr_in6*)DE_NULL)->sin6_port) == sizeof(deUint16));
321 ((struct sockaddr_in*)bsdAddr)->sin_port = deHostToNetworkOrder16((deUint16)address->port); in deSocketAddressToBsdAddress()
327 ((struct sockaddr_in6*)bsdAddr)->sin6_port = deHostToNetworkOrder16((deUint16)address->port); in deSocketAddressToBsdAddress()
344 addr4->sin_port = deHostToNetworkOrder16((deUint16)address->port); in deSocketAddressToBsdAddress()
362 addr6->sin6_port = deHostToNetworkOrder16((deUint16)address->port); in deSocketAddressToBsdAddress()
383 deSocketAddress_setPort(address, (int)deNetworkToHostOrder16((deUint16)addr4->sin_port)); in deBsdAddressToSocketAddress()
398 deSocketAddress_setPort(address, (int)deNetworkToHostOrder16((deUint16)addr6->sin6_port)); in deBsdAddressToSocketAddress()
/external/deqp/framework/delibs/debase/
DdeFloat16Test.c42 static deFloat16 getFloat16 (deUint16 sign, deUint16 biased_exponent, deUint16 mantissa) in getFloat16()
169 …Z(getFloat32(0, exponent, mantissa)) == getFloat16(0, (deUint16) (exponent + 15 - 127), (deUint16)… in deFloat16_selfTest()
170 …Z(getFloat32(1, exponent, mantissa)) == getFloat16(1, (deUint16) (exponent + 15 - 127), (deUint16)… in deFloat16_selfTest()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationCommonEdgeTests.cpp258 std::vector<deUint16> gridIndices; in test()
291 const deUint16 corners[4] = in test()
293 (deUint16)((i+0)*(gridWidth+1) + j+0), in test()
294 (deUint16)((i+0)*(gridWidth+1) + j+1), in test()
295 (deUint16)((i+1)*(gridWidth+1) + j+0), in test()
296 (deUint16)((i+1)*(gridWidth+1) + j+1) in test()
314 gridIndices.push_back((deUint16)((i+(i+m)%2)*(gridWidth+1) + j+(j+n)%2)); in test()
/external/deqp/framework/opengl/
DgluDrawUtil.hpp217 inline PrimitiveList NAME (int numElements, const deUint16* indices) \
262 DECLARE_VA_CTOR(Uint16, deUint16, VTX_COMP_UNSIGNED_INT16, VTX_COMP_CONVERT_NONE);
270 DECLARE_VA_CTOR(Unorm16, deUint16, VTX_COMP_UNSIGNED_INT16, VTX_COMP_CONVERT_NORMALIZE_TO_FLOAT);
278 DECLARE_VA_CTOR(Uint16Float, deUint16, VTX_COMP_UNSIGNED_INT16, VTX_COMP_CONVERT_CAST_TO_FLOAT);
/external/deqp/modules/gles2/functional/
Des2fBufferTestUtil.cpp339 static void computeIndices (vector<deUint16>& indices, int gridSizeX, int gridSizeY) in computeIndices()
352 indices[quadNdx*6 + 0] = (deUint16)v10; in computeIndices()
353 indices[quadNdx*6 + 1] = (deUint16)v00; in computeIndices()
354 indices[quadNdx*6 + 2] = (deUint16)v01; in computeIndices()
356 indices[quadNdx*6 + 3] = (deUint16)v10; in computeIndices()
357 indices[quadNdx*6 + 4] = (deUint16)v01; in computeIndices()
358 indices[quadNdx*6 + 5] = (deUint16)v11; in computeIndices()
421 vector<deUint16> indices; in verify()
/external/deqp/framework/opengl/simplereference/
DsglrContextUtil.cpp62 const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; in drawQuadWithVaoBuffers()
102 …ctx.bufferData(GL_ELEMENT_ARRAY_BUFFER, DE_LENGTH_OF_ARRAY(indices)*sizeof(deUint16), &indices[0],… in drawQuadWithVaoBuffers()
132 const deUint16 indices[] = { 0, 1, 2, 2, 1, 3 }; in drawQuadWithClientPointers()
/external/deqp/modules/glshared/
DglsShaderPerformanceMeasurer.cpp72 static inline deUint16 getVtxIndex (int x, int y, int gridSizeX) in getVtxIndex()
74 return (deUint16)(y*(gridSizeX+1) + x); in getVtxIndex()
98 static void generateIndices (std::vector<deUint16>& dst, int gridSizeX, int gridSizeY) in generateIndices()
183 std::vector<deUint16> indices; in init()
188 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(indices.size()*sizeof(deUint16)), &indices[0],… in init()
/external/deqp/modules/internal/
DditSeedBuilderTests.cpp142 …addChild(new SeedBuilderTest<deUint16>(m_testCtx, 0, 78413740u, "uint16_zero", "Seed from uint16… in init()
143 …addChild(new SeedBuilderTest<deUint16>(m_testCtx, 1, 3068621u, "uint16_one", "Seed from uint16 … in init()
144 …addChild(new SeedBuilderTest<deUint16>(m_testCtx, 65535, 120448140u, "uint16_max", "Seed from uint… in init()

123456