/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | format_traits.h | 59 static const uint32_t numComps{ 0 }; 79 static const uint32_t numComps{ 4 }; 101 static const uint32_t numComps{ 4 }; 123 static const uint32_t numComps{ 4 }; 145 static const uint32_t numComps{ 2 }; 167 static const uint32_t numComps{ 3 }; 189 static const uint32_t numComps{ 4 }; 211 static const uint32_t numComps{ 4 }; 233 static const uint32_t numComps{ 4 }; 255 static const uint32_t numComps{ 3 }; [all …]
|
D | format_conversion.h | 49 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); in LoadSOA() 73 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); in LoadSOA() 151 for (uint32_t comp = 0; comp < FormatTraits<DstFormat>::numComps; ++comp) in StoreSOA() 197 UnrollerL<0, FormatTraits<DstFormat>::numComps, 1>::step(lambda); in StoreSOA() 219 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); in LoadSOA() 243 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); in LoadSOA() 321 for (uint32_t comp = 0; comp < FormatTraits<DstFormat>::numComps; ++comp) in StoreSOA() 367 UnrollerL<0, FormatTraits<DstFormat>::numComps, 1>::step(lambda); in StoreSOA()
|
D | backend_clear.cpp | 54 UnrollerL<0, FormatTraits<format>::numComps, 1>::step(lambda); in ClearRasterTile() 73 UnrollerL<0, FormatTraits<format>::numComps, 1>::step(lambda); in ClearRasterTile() 85 for (uint32_t comp = 0; comp < FormatTraits<format>::numComps; ++comp) in ClearMacroTile() 100 for (uint32_t comp = 0; comp < FormatTraits<format>::numComps; ++comp) in ClearMacroTile()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
D | TilingFunctions.h | 47 float color[FormatTraits<HotTileFormat>::numComps][KNOB_SIMD_WIDTH]; 67 for (uint32_t i = 0; i < FormatTraits<SrcOrDstFormat>::numComps; ++i) in GetSwizzledColor() 92 for (uint32_t i = 0; i < FormatTraits<SrcOrDstFormat>::numComps; ++i) in SetSwizzledColor() 103 uint8_t color[FormatTraits<R8_UINT>::numComps][KNOB_SIMD_WIDTH]; 123 for (uint32_t i = 0; i < FormatTraits<R8_UINT>::numComps; ++i) 149 for (uint32_t i = 0; i < FormatTraits<R8_UINT>::numComps; ++i) 165 float color[FormatTraits<HotTileFormat>::numComps][KNOB_SIMD16_WIDTH]; 181 for (uint32_t i = 0; i < FormatTraits<SrcOrDstFormat>::numComps; ++i) 201 for (uint32_t i = 0; i < FormatTraits<SrcOrDstFormat>::numComps; ++i) 212 uint8_t color[FormatTraits<R8_UINT>::numComps][KNOB_SIMD16_WIDTH]; [all …]
|
D | Convert.h | 238 for (UINT comp = 0; comp < FormatTraits<DstFormat>::numComps; ++comp) in ConvertPixelFromFloat() 372 switch (FormatTraits<DstFormat>::numComps) in ConvertPixelFromFloat() 384 SWR_INVALID("Invalid # of comps: %d", FormatTraits<DstFormat>::numComps); in ConvertPixelFromFloat() 410 switch (FormatTraits<SrcFormat>::numComps) in ConvertPixelToFloat() 422 SWR_INVALID("Invalid # of comps: %d", FormatTraits<SrcFormat>::numComps); in ConvertPixelToFloat() 426 for (uint32_t comp = 0; comp < FormatTraits<SrcFormat>::numComps; ++comp) in ConvertPixelToFloat()
|
/external/deqp/modules/glshared/ |
D | glsTextureTestUtil.cpp | 320 int numComps = 0; in renderQuad() local 323 numComps = 2; in renderQuad() 336 numComps = 1; in renderQuad() 349 numComps = 3; in renderQuad() 362 numComps = 3; in renderQuad() 376 numComps = 3; in renderQuad() 391 numComps = 4; in renderQuad() 406 numComps = 2; in renderQuad() 419 numComps = 1; in renderQuad() 477 glu::va::Float("a_texCoord", numComps, 4, 0, texCoord) in renderQuad()
|
D | glsRandomShaderProgram.cpp | 54 const int numComps = varType.getNumElements(); in mapToBasicType() local 56 DE_ASSERT(de::inRange(numComps, 1, 4)); in mapToBasicType() 57 return glu::DataType(scalarType + numComps - 1); in mapToBasicType()
|
D | glsShaderExecUtil.cpp | 548 const int numComps = glu::getDataTypeNumComponents(basicType); in getRenderbufferFormatForOutput() local 561 DE_ASSERT(de::inRange<int>(numComps, 1, DE_LENGTH_OF_ARRAY(channelOrderMap))); in getRenderbufferFormatForOutput() 563 return tcu::TextureFormat(channelOrderMap[numComps-1], channelType); in getRenderbufferFormatForOutput() 976 const int numComps = scalarSize / numVecs; in copyToBuffer() local 982 const int srcOffset = (int)sizeof(deUint32)*(elemNdx*scalarSize + vecNdx*numComps); in copyToBuffer() 987 deMemcpy(dstPtr, srcPtr, sizeof(deUint32)*numComps); in copyToBuffer() 1003 const int numComps = scalarSize / numVecs; in copyFromBuffer() local 1010 const int dstOffset = (int)sizeof(deUint32)*(elemNdx*scalarSize + vecNdx*numComps); in copyFromBuffer() 1014 deMemcpy(dstPtr, srcPtr, sizeof(deUint32)*numComps); in copyFromBuffer()
|
D | glsFragOpInteractionCase.cpp | 90 const int numComps = type.getNumElements(); in computeVertexLayout() local 94 …layout->push_back(glu::va::Float(var->getName(), numComps, numVertices, 0 /* computed later */, (c… in computeVertexLayout() 96 curOffset += numComps * (int)sizeof(float); in computeVertexLayout()
|
/external/deqp/modules/gles31/functional/ |
D | es31fComputeShaderBuiltinVarTests.cpp | 177 static inline UVec3 readResultVec (const deUint32* ptr, int numComps) in readResultVec() argument 180 for (int ndx = 0; ndx < numComps; ndx++) in readResultVec() 185 static inline bool compareComps (const UVec3& a, const UVec3& b, int numComps) in compareComps() argument 187 DE_ASSERT(numComps == 1 || numComps == 3); in compareComps() 188 return numComps == 3 ? tcu::allEqual(a, b) : a.x() == b.x(); in compareComps() 194 int numComps; member 196 LogComps (const UVec3& v_, int numComps_) : v(v_), numComps(numComps_) {} in LogComps() 201 DE_ASSERT(c.numComps == 1 || c.numComps == 3); in operator <<() 202 return c.numComps == 3 ? str << c.v : str << c.v.x(); in operator <<()
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeShaderBuiltinVarTests.cpp | 76 static inline bool compareNumComponents (const UVec3& a, const UVec3& b,const int numComps) in compareNumComponents() argument 78 DE_ASSERT(numComps == 1 || numComps == 3); in compareNumComponents() 79 return numComps == 3 ? tcu::allEqual(a, b) : a.x() == b.x(); in compareNumComponents() 82 static inline UVec3 readResultVec (const deUint32* ptr, const int numComps) in readResultVec() argument 85 for (int ndx = 0; ndx < numComps; ndx++) in readResultVec() 93 int numComps; member 95 LogComps (const UVec3 &v_, int numComps_) : v(v_), numComps(numComps_) {} in LogComps() 100 DE_ASSERT(c.numComps == 1 || c.numComps == 3); in operator <<() 101 return c.numComps == 3 ? str << c.v : str << c.v.x(); in operator <<()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderDerivateTests.cpp | 375 int numComps; member 379 , numComps (numComps_) in LogVecComps() 386 DE_ASSERT(de::inRange(v.numComps, 1, 4)); in operator <<() 387 if (v.numComps == 1) return str << v.v[0]; in operator <<() 388 else if (v.numComps == 2) return str << v.v.toWidth<2>(); in operator <<() 389 else if (v.numComps == 3) return str << v.v.toWidth<3>(); in operator <<() 411 const int numComps = glu::getDataTypeFloatScalars(dataType); in verifyConstantDerivate() local 416 … << "Expecting " << LogVecComps(reference, numComps) << " with threshold " << LogVecComps(threshol… in verifyConstantDerivate() 428 log << TestLog::Message << "FAIL: got " << LogVecComps(resDerivate, numComps) in verifyConstantDerivate() 429 << ", diff = " << LogVecComps(tcu::abs(reference - resDerivate), numComps) in verifyConstantDerivate() [all …]
|
D | es3fTransformFeedbackTests.cpp | 541 const int numComps = glu::getDataTypeScalarSize(attrib.type.getBasicType()); in genAttributeData() local 545 for (int compNdx = 0; compNdx < numComps; compNdx++) in genAttributeData() 1474 int numComps = glu::getDataTypeScalarSize(type); in init() local 1475 int maxArrayLen = de::max(1, isSeparateMode ? 4/numComps : maxVecs/numVecs); in init()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderDerivateTests.cpp | 313 int numComps; member 317 , numComps (numComps_) in LogVecComps() 324 DE_ASSERT(de::inRange(v.numComps, 1, 4)); in operator <<() 325 if (v.numComps == 1) return str << v.v[0]; in operator <<() 326 else if (v.numComps == 2) return str << v.v.toWidth<2>(); in operator <<() 327 else if (v.numComps == 3) return str << v.v.toWidth<3>(); in operator <<() 347 const int numComps = glu::getDataTypeFloatScalars(dataType); in verifyConstantDerivate() local 352 … << "Expecting " << LogVecComps(reference, numComps) << " with threshold " << LogVecComps(threshol… in verifyConstantDerivate() 364 log << TestLog::Message << "FAIL: got " << LogVecComps(resDerivate, numComps) in verifyConstantDerivate() 365 << ", diff = " << LogVecComps(tcu::abs(reference - resDerivate), numComps) in verifyConstantDerivate() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder_misc.cpp | 1084 switch(info.bpp / info.numComps) in GATHER4PS() 1102 if(info.numComps > 2) in GATHER4PS() 1130 for(uint32_t i = 0; i < info.numComps; i++) in GATHER4PS() 1151 switch (info.bpp / info.numComps) in GATHER4DD() 1180 if(info.numComps > 2) in GATHER4DD() 1209 for(uint32_t i = 0; i < info.numComps; i++) in GATHER4DD() 1256 if(info.numComps > 2) in Shuffle16bpcGather4() 1267 if(i >= info.numComps) in Shuffle16bpcGather4() 1304 for(uint32_t i = 0; i < info.numComps; i++) in Shuffle16bpcGather4() 1345 if(info.numComps > 2) in Shuffle8bpcGather4() [all …]
|
D | blend_jit.cpp | 190 for (uint32_t c = 0; c < info.numComps; ++c) in ApplyDefaults() 208 for (uint32_t c = 0; c < info.numComps; ++c) in ApplyUnusedDefaults() 220 for (uint32_t c = 0; c < info.numComps; ++c) in Quantize()
|
D | fetch_jit.cpp | 399 uint32_t numComponents = info.numComps; in JitLoadVertices() 400 …uint32_t bpc = info.bpp / info.numComps; ///@todo Code below assumes all components are same size… in JitLoadVertices() 707 for (uint32_t c = 1; c < info.numComps; ++c) in IsUniformFormat() 726 for (uint32_t c = 0; c < info.numComps; ++c) in UnpackComponents() 828 for (uint32_t c = 0; c < info.numComps; ++c) in ConvertFormat() 931 …uint32_t bpc = info.bpp / info.numComps; ///@todo Code below assumes all components are same size… in JitGatherVertices()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureTestUtil.cpp | 1008 int numComps = 0; in renderQuad() local 1012 numComps = 2; in renderQuad() 1025 numComps = 1; in renderQuad() 1038 numComps = 3; in renderQuad() 1051 numComps = 3; in renderQuad() 1065 numComps = 3; in renderQuad() 1080 numComps = 4; in renderQuad() 1095 numComps = 2; in renderQuad() 1108 numComps = 1; in renderQuad() 1136 const deUint32 vertexTextureStrideSize = deUint32(numComps * sizeof(float)); in renderQuad() [all …]
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | Constant.cpp | 1228 int numComps = children[0]->getAsConstantUnion()->getType().computeNumComponents(); in fold() local 1235 for (int comp = 0; comp < numComps; ++comp) { in fold() 1253 for (int comp = 0; comp < numComps; ++comp) { in fold() 1264 for (int comp = 0; comp < numComps; ++comp) in fold() 1279 for (int comp = 0; comp < numComps; ++comp) in fold() 1282 for (int comp = 0; comp < numComps; ++comp) in fold() 1289 int numRows = numComps; in fold()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | formats.h | 244 uint32_t numComps; ///< number of components member
|
/external/mesa3d/src/amd/addrlib/core/ |
D | addrelemlib.h | 208 UINT_32 numComps, UINT_32* pComps, UINT_32* pCompBits, UINT_32* pCompStart,
|
D | addrelemlib.cpp | 331 UINT_32 numComps, ///< [in] number of components in Int32sToPixel() argument 354 for (i = 0; i < numComps; i++) // Then for each component in Int32sToPixel() 368 for (i = 0; i < numComps; i++) in Int32sToPixel()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 681 const int numComps = glu::getDataTypeNumComponents(basicType); in getRenderbufferFormatForOutput() local 695 DE_ASSERT(de::inRange<int>(numComps, 1, DE_LENGTH_OF_ARRAY(channelOrderMap))); in getRenderbufferFormatForOutput() 697 return tcu::TextureFormat(channelOrderMap[numComps-1], channelType); in getRenderbufferFormatForOutput() 1745 const int numComps = scalarSize / numVecs; in copyToBuffer() local 1752 const int srcOffset = size * (elemNdx * scalarSize + vecNdx * numComps); in copyToBuffer() 1757 deMemcpy(dstPtr, srcPtr, size * numComps); in copyToBuffer() 1773 const int numComps = scalarSize / numVecs; in copyFromBuffer() local 1781 const int dstOffset = size * (elemNdx * scalarSize + vecNdx * numComps); in copyFromBuffer() 1785 deMemcpy(dstPtr, srcPtr, size * numComps); in copyFromBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 667 …const int numComps = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumRows(basicType) : scalarSi… in copyToLayout() local 675 for (int compNdx = 0; compNdx < numComps; compNdx++) in copyToLayout() 677 …const deUint32 data = value.elements[arrayNdx*scalarSize + vecNdx*numComps + compNdx].bool32 ? ~0u… in copyToLayout() 689 &value.elements[arrayNdx*scalarSize + vecNdx*numComps], in copyToLayout() 690 numComps*sizeof(deUint32)); in copyToLayout()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 1714 bool compareComponents (glu::DataType scalarType, const void* ref, const void* res, int numComps) in compareComponents() argument 1720 for (int ndx = 0; ndx < numComps; ndx++) in compareComponents() 1731 for (int ndx = 0; ndx < numComps; ndx++) in compareComponents() 1742 return deMemCmp(ref, res, numComps*sizeof(deUint8)) == 0; in compareComponents() 1746 return deMemCmp(ref, res, numComps*sizeof(deUint16)) == 0; in compareComponents() 1752 return deMemCmp(ref, res, numComps*sizeof(deUint32)) == 0; in compareComponents()
|