Home
last modified time | relevance | path

Searched refs:numSlices (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/amd/addrlib/
Daddrinterface.h556 UINT_32 numSlices; ///< Number of surface slices or depth member
682 UINT_32 numSlices; ///< Surface depth member
770 UINT_32 numSlices; ///< Surface depth member
879 UINT_32 numSlices; ///< Number of slices member
952 UINT_32 numSlices; ///< Number of slices member
1016 UINT_32 numSlices; ///< Number of slices member
1099 UINT_32 numSlices; ///< Number of slices, of color buffer member
1168 UINT_32 numSlices; ///< Number of slices member
1229 UINT_32 numSlices; ///< Number of slices member
1291 UINT_32 numSlices; ///< Number of slice/depth member
[all …]
/external/mesa3d/src/amd/addrlib/core/
Daddrlib1.cpp410 if (pIn->numSlices > 1) in ComputeSurfaceInfo()
413 if (pIn->slice == (pIn->numSlices - 1)) in ComputeSurfaceInfo()
415 pOut->sliceSize += pOut->sliceSize * (pOut->depth - pIn->numSlices); in ComputeSurfaceInfo()
1289 if (pIn->numSlices > 1) in ComputeHtileInfo()
1291 const UINT_32 surfBytes = (sliceSize * pIn->numSlices); in ComputeHtileInfo()
1320 pIn->numSlices, in ComputeHtileInfo()
1388 pIn->numSlices, in ComputeCmaskInfo()
1515 pIn->numSlices, in ComputeHtileAddrFromCoord()
1583 pIn->numSlices, in ComputeHtileCoordFromAddr()
1655 pIn->numSlices, in ComputeCmaskAddrFromCoord()
[all …]
Daddrlib2.cpp161 localIn.numSlices = Max(pIn->numSlices, 1u); in ComputeSurfaceInfo()
332 localIn.numSlices = Max(pIn->numSlices, 1u); in ComputeSurfaceAddrFromCoord()
340 (localIn.slice >= localIn.numSlices) || in ComputeSurfaceAddrFromCoord()
343 (Valid3DMipSliceIdConstraint(localIn.numSlices, localIn.mipId, localIn.slice) == FALSE))) in ComputeSurfaceAddrFromCoord()
650 localIn.numSlices = Max(pIn->numSlices, 1u); in ComputeFmaskInfo()
683 pOut->numSlices = localOut.numSlices; in ComputeFmaskInfo()
1020 else if ((pIn->numSlices > 1) && ((*pHeight) != customizedHeight)) in ApplyCustomizedPitchHeight()
1110 localIn.numSlices = Max(pIn->numSlices, 1u); in ComputeSurfaceAddrFromCoordLinear()
1199 localIn.numSlices = Max(pIn->numSlices, 1u); in ComputeSurfaceCoordFromAddrLinear()
1273 if ((pOut->slice >= pIn->numSlices) || in ComputeSurfaceCoordFromAddrLinear()
[all …]
Daddrlib1.h246 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* pSliceBytes, UINT_32 baseAlign) const = 0;
317 UINT_32 pitchIn, UINT_32 heightIn, UINT_32 numSlices,
327 UINT_32 pitchIn, UINT_32 heightIn, UINT_32 numSlices, BOOL_32 isLinear,
339 UINT_32 numSlices, UINT_32 factor, BOOL_32 isLinear, BOOL_32 isWidth8,
344 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices,
393 UINT_32 bpp, UINT_32 pitch, UINT_32 height, UINT_32 numSlices,
398 UINT_32 pitch, UINT_32 height, UINT_32 numSlices,
528 UINT_32 pitch, UINT_32 height, UINT_32 numSlices) const;
Daddrlib2.h626 UINT_32 numSlices, in ComputePadSize() argument
631 pPadDim->d = PowTwoAlign(numSlices, pBlkDim->d); in ComputePadSize()
643 UINT_32 numSlices, in Valid3DMipSliceIdConstraint() argument
647 return (Max((numSlices >> mipId), 1u) > slice); in Valid3DMipSliceIdConstraint()
718 actualMipLevels = Max(actualMipLevels, Log2NonPow2(pIn->numSlices) + 1); in VerifyMipLevelInfo()
/external/mesa3d/src/amd/common/
Dac_surface.c279 AddrSurfInfoIn->numSlices = u_minify(config->info.depth, level); in gfx6_compute_level()
281 AddrSurfInfoIn->numSlices = 6; in gfx6_compute_level()
283 AddrSurfInfoIn->numSlices = config->info.array_size; in gfx6_compute_level()
365 AddrHtileIn->numSlices = AddrSurfInfoOut->depth; in gfx6_compute_level()
833 sin.numSlices = in->numSlices; in gfx9_get_preferred_swizzle_mode()
913 hin.numSlices = in->numSlices; in gfx9_compute_miptree()
946 din.numSlices = in->numSlices; in gfx9_compute_miptree()
1009 fin.numSlices = in->numSlices; in gfx9_compute_miptree()
1037 cin.numSlices = in->numSlices; in gfx9_compute_miptree()
1114 AddrSurfInfoIn.numSlices = config->info.depth; in gfx9_compute_surface()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp962 const deInt32 numSlices = maxLayersOrDepth(imageSize); in testWithSizeReduction() local
987 … (vk, device, caseDef.colorFormat, caseDef.depthStencilFormat, static_cast<deUint32>(numSlices), in testWithSizeReduction()
1019 IVec3(imageSize.x(), imageSize.y(), 1), 1u, numSlices, imageUsage); in testWithSizeReduction()
1025 const vector<Vertex4RGBA> vertices = genFullQuadVertices(numSlices); in testWithSizeReduction()
1079 for (int subpassNdx = 0; subpassNdx < numSlices; ++subpassNdx) in testWithSizeReduction()
1095 for (int subpassNdx = 0; subpassNdx < numSlices; ++subpassNdx) in testWithSizeReduction()
1111 vector<VkClearValue> clearValues (numSlices, getClearValue(caseDef.colorFormat)); in testWithSizeReduction()
1114 …clearValues.insert(clearValues.end(), numSlices, makeClearValueDepthStencil(REFERENCE_DEPTH_VALUE,… in testWithSizeReduction()
1123 for (deUint32 subpassNdx = 0; subpassNdx < static_cast<deUint32>(numSlices); ++subpassNdx) in testWithSizeReduction()
1281 const int numSlices, in drawToMipLevel() argument
[all …]
/external/mesa3d/src/amd/addrlib/r800/
Degbaddrlib.cpp97 UINT_32 numSlices = pIn->numSlices; in DispatchComputeSurfaceInfo() local
162 if (numSlices == 1) in DispatchComputeSurfaceInfo()
226 UINT_32 expNumSlices = pIn->numSlices; in ComputeSurfaceInfoLinear()
363 UINT_32 expNumSlices = pIn->numSlices; in ComputeSurfaceInfoMicroTiled()
479 UINT_32 expNumSlices = pIn->numSlices; in ComputeSurfaceInfoMacroTiled()
587 Max(1u, pIn->numSlices >> i) : pIn->numSlices; in ComputeSurfaceInfoMacroTiled()
1086 UINT_32 numSlices, ///< [in] current number of slices in ComputeSurfaceMipLevelTileMode() argument
1111 if (numSlices < microTileThickness) in ComputeSurfaceMipLevelTileMode()
1113 expTileMode = HwlDegradeThickTileMode(expTileMode, numSlices, &bytesPerTile); in ComputeSurfaceMipLevelTileMode()
1239 UINT_32 numSlices, ///< [in] current number of slices in HwlDegradeThickTileMode() argument
[all …]
Dsiaddrlib.h124 UINT_32 pitch, UINT_32 height, UINT_32 x, UINT_32 y, UINT_32 slice, UINT_32 numSlices,
129 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices,
156 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* pSliceBytes, UINT_32 baseAlign) const;
206 AddrTileMode baseTileMode, UINT_32 numSlices, UINT_32* pBytesPerTile) const;
Dsiaddrlib.cpp1239 UINT_32 numSlices, ///< [in] number of slices in HwlComputeHtileBytes() argument
1244 return ComputeHtileBytes(pitch, height, bpp, isLinear, numSlices, pSliceBytes, baseAlign); in HwlComputeHtileBytes()
1263 UINT_32 numSlices, ///< [in] number of slices in HwlComputeXmaskAddrFromCoord() argument
1293 numSlices, in HwlComputeXmaskAddrFromCoord()
1312 numSlices, in HwlComputeXmaskAddrFromCoord()
1421 UINT_32 numSlices, ///< [in] number of slices in HwlComputeXmaskCoordFromAddr() argument
1453 numSlices, in HwlComputeXmaskCoordFromAddr()
1471 numSlices, in HwlComputeXmaskCoordFromAddr()
2658 if ((pIn->numSlices > 1) && in HwlComputeSurfaceInfo()
2786 nextSlices = Max(1u, pIn->numSlices >> 1); in HwlCheckLastMacroTiledLvl()
[all …]
Degbaddrlib.h208 AddrTileMode baseTileMode, UINT_32 numSlices, UINT_32* pBytesPerTile) const;
243 UINT_32 pitch, UINT_32 height, UINT_32 numSlices, UINT_32 numSamples,
293 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* sliceBytes, UINT_32 baseAlign) const;
Dciaddrlib.h117 AddrTileMode baseTileMode, UINT_32 numSlices, UINT_32* pBytesPerTile) const;
Dciaddrlib.cpp907 UINT_32 numSlices, ///< [in] current number of slices in HwlDegradeThickTileMode() argument
940 …if ((pInOut->numSlices > 1) && ((pInOut->maxBaseAlign == 0) || (pInOut->maxBaseAlign >= Block64K))) in HwlOptimizeTileMode()
1138 if (pInOut->numSlices >= 8) in HwlSelectTileMode()
1143 else if (pInOut->numSlices >= 4) in HwlSelectTileMode()
/external/deqp/modules/gles2/functional/
Des2fShaderApiTests.cpp103 void sliceSourceString (const std::string& in, ShaderSources& out, const int numSlices, const size_… in sliceSourceString() argument
105 DE_ASSERT(numSlices > 0); in sliceSourceString()
107 const size_t sliceSize = in.length() / numSlices; in sliceSourceString()
108 const size_t sliceSizeRemainder = in.length() - (sliceSize * numSlices); in sliceSourceString()
111 for (int i = 0; i < numSlices; i++) in sliceSourceString()
121 const std::string lastString = in.substr(numSlices * sliceSize); in sliceSourceString()
630 …nst char* name, const char* desc, glu::ShaderType shaderType, const int numSlices, const deUint32 … in ShaderSourceSplitCase() argument
634 , m_numSlices (numSlices) in ShaderSourceSplitCase()
1070 const int numSlices = 1 << caseNdx; in init() local
1080 + de::toString(numSlices) in init()
[all …]
/external/mesa3d/src/amd/addrlib/gfx9/
Dgfx9addrlib.cpp221 pIn->unalignedWidth, pIn->unalignedHeight, pIn->numSlices, in HwlComputeHtileInfo()
332 UINT_32 numMetaBlkZ = Max(pIn->numSlices, 1u); in HwlComputeCmaskInfo()
575 UINT_32 numSlices = Max(pIn->numSlices, 1u); in HwlComputeDccInfo() local
631 pIn->unalignedWidth, pIn->unalignedHeight, numSlices, in HwlComputeDccInfo()
711 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeCmaskAddrFromCoord()
786 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeHtileAddrFromCoord()
858 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeHtileCoordFromAddr()
931 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeDccAddrFromCoord()
3224 UINT_32 slice = Max(pIn->numSlices, 1u); in HwlGetPreferredSurfaceSetting()
3733 localIn.numSlices = slice; in HwlGetPreferredSurfaceSetting()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderApiTests.cpp120 void sliceSourceString (const std::string& in, ShaderSources& out, const int numSlices, const size_… in sliceSourceString() argument
122 DE_ASSERT(numSlices > 0); in sliceSourceString()
124 const size_t sliceSize = in.length() / numSlices; in sliceSourceString()
125 const size_t sliceSizeRemainder = in.length() - (sliceSize * numSlices); in sliceSourceString()
128 for (int ndx = 0; ndx < numSlices; ndx++) in sliceSourceString()
138 const std::string lastString = in.substr(numSlices * sliceSize); in sliceSourceString()
687 …nst char* name, const char* desc, glu::ShaderType shaderType, const int numSlices, const deUint32 … in ShaderSourceSplitCase() argument
691 , m_numSlices (numSlices) in ShaderSourceSplitCase()
1696 const int numSlices = 1 << caseNdx; in init() local
1706 + de::toString(numSlices) in init()
[all …]
/external/mesa3d/src/mesa/main/
Dtexstore.c981 GLuint dims, slice, numSlices = 1, sliceOffset = 0; in store_texsubimage() local
1027 numSlices = height; in store_texsubimage()
1035 numSlices = depth; in store_texsubimage()
1044 numSlices = depth; in store_texsubimage()
1050 numSlices = depth; in store_texsubimage()
1060 assert(numSlices == 1 || srcImageStride != 0); in store_texsubimage()
1062 for (slice = 0; slice < numSlices; slice++) { in store_texsubimage()
/external/swiftshader/src/Vulkan/
DVkImage.cpp461 int32_t numSlices = (region.srcOffsets[1].z - region.srcOffsets[0].z); in blit() local
462 ASSERT(numSlices == (region.dstOffsets[1].z - region.dstOffsets[0].z)); in blit()
474 for(int i = 0; i < numSlices; i++) in blit()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp5400 const deUint32 numSlices = (deUint32)source.getLevel(0).getHeight(); in getRef1DView() local
5408 …tcu::getSubregion(wholeLevel, 0, baseArraySlice, wholeLevel.getWidth(), numSlices - baseArraySlice… in getRef1DView()
5419 const deUint32 numSlices = (deUint32)source.getLevel(0).getDepth(); in getRef2DView() local
5427 …l, 0, 0, baseArraySlice, wholeLevel.getWidth(), wholeLevel.getHeight(), numSlices - baseArraySlice… in getRef2DView()
5453 const deUint32 numSlices = (deUint32)source.getLevel(0).getDepth() / 6; in getRefCubeView() local
5461 … 0, baseArraySlice * 6, wholeLevel.getWidth(), wholeLevel.getHeight(), (numSlices - baseArraySlice… in getRefCubeView()