Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/addrlib/inc/
Daddrinterface.h558 UINT_32 numSlices; ///< Number of surface slices or depth member
684 UINT_32 numSlices; ///< Surface depth member
772 UINT_32 numSlices; ///< Surface depth member
881 UINT_32 numSlices; ///< Number of slices member
954 UINT_32 numSlices; ///< Number of slices member
1018 UINT_32 numSlices; ///< Number of slices member
1101 UINT_32 numSlices; ///< Number of slices, of color buffer member
1170 UINT_32 numSlices; ///< Number of slices member
1231 UINT_32 numSlices; ///< Number of slices member
1293 UINT_32 numSlices; ///< Number of slice/depth member
[all …]
/third_party/mesa3d/src/amd/addrlib/src/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()
1293 if (pIn->numSlices > 1) in ComputeHtileInfo()
1295 const UINT_32 surfBytes = (sliceSize * pIn->numSlices); in ComputeHtileInfo()
1324 pIn->numSlices, in ComputeHtileInfo()
1394 pIn->numSlices, in ComputeCmaskInfo()
1525 pIn->numSlices, in ComputeHtileAddrFromCoord()
1593 pIn->numSlices, in ComputeHtileCoordFromAddr()
1665 pIn->numSlices, in ComputeCmaskAddrFromCoord()
[all …]
Daddrlib2.cpp183 localIn.numSlices = Max(pIn->numSlices, 1u); in ComputeSurfaceInfo()
359 localIn.numSlices = Max(pIn->numSlices, 1u); in ComputeSurfaceAddrFromCoord()
367 (localIn.slice >= localIn.numSlices) || in ComputeSurfaceAddrFromCoord()
370 (Valid3DMipSliceIdConstraint(localIn.numSlices, localIn.mipId, localIn.slice) == FALSE))) in ComputeSurfaceAddrFromCoord()
681 localIn.numSlices = Max(pIn->numSlices, 1u); in ComputeFmaskInfo()
714 pOut->numSlices = localOut.numSlices; in ComputeFmaskInfo()
1096 else if ((pIn->numSlices > 1) && ((*pHeight) != customizedHeight)) in ApplyCustomizedPitchHeight()
1186 localIn.numSlices = Max(pIn->numSlices, 1u); in ComputeSurfaceAddrFromCoordLinear()
1275 localIn.numSlices = Max(pIn->numSlices, 1u); in ComputeSurfaceCoordFromAddrLinear()
1349 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.h792 UINT_32 numSlices, in ComputePadSize() argument
797 pPadDim->d = PowTwoAlign(numSlices, pBlkDim->d); in ComputePadSize()
809 UINT_32 numSlices, in Valid3DMipSliceIdConstraint() argument
813 return (Max((numSlices >> mipId), 1u) > slice); in Valid3DMipSliceIdConstraint()
869 actualMipLevels = Max(actualMipLevels, Log2NonPow2(pIn->numSlices) + 1); in VerifyMipLevelInfo()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp963 const deInt32 numSlices = maxLayersOrDepth(imageSize); in testWithSizeReduction() local
984 … (vk, device, caseDef.colorFormat, caseDef.depthStencilFormat, static_cast<deUint32>(numSlices), in testWithSizeReduction()
1016 IVec3(imageSize.x(), imageSize.y(), 1), 1u, numSlices, imageUsage); in testWithSizeReduction()
1022 const vector<Vertex4RGBA> vertices = genFullQuadVertices(numSlices); in testWithSizeReduction()
1076 for (int subpassNdx = 0; subpassNdx < numSlices; ++subpassNdx) in testWithSizeReduction()
1092 for (int subpassNdx = 0; subpassNdx < numSlices; ++subpassNdx) in testWithSizeReduction()
1108 vector<VkClearValue> clearValues (numSlices, getClearValue(caseDef.colorFormat)); in testWithSizeReduction()
1111 …clearValues.insert(clearValues.end(), numSlices, makeClearValueDepthStencil(REFERENCE_DEPTH_VALUE,… in testWithSizeReduction()
1120 for (deUint32 subpassNdx = 0; subpassNdx < static_cast<deUint32>(numSlices); ++subpassNdx) in testWithSizeReduction()
1288 const int numSlices, in drawToMipLevel() argument
[all …]
/third_party/mesa3d/src/amd/addrlib/src/r800/
Degbaddrlib.cpp96 UINT_32 numSlices = pIn->numSlices; in DispatchComputeSurfaceInfo() local
163 if (numSlices == 1) in DispatchComputeSurfaceInfo()
227 UINT_32 expNumSlices = pIn->numSlices; in ComputeSurfaceInfoLinear()
364 UINT_32 expNumSlices = pIn->numSlices; in ComputeSurfaceInfoMicroTiled()
480 UINT_32 expNumSlices = pIn->numSlices; in ComputeSurfaceInfoMacroTiled()
588 Max(1u, pIn->numSlices >> i) : pIn->numSlices; in ComputeSurfaceInfoMacroTiled()
1085 UINT_32 numSlices, ///< [in] current number of slices in ComputeSurfaceMipLevelTileMode() argument
1109 if (numSlices < microTileThickness) in ComputeSurfaceMipLevelTileMode()
1111 expTileMode = HwlDegradeThickTileMode(expTileMode, numSlices, &bytesPerTile); in ComputeSurfaceMipLevelTileMode()
1237 UINT_32 numSlices, ///< [in] current number of slices in HwlDegradeThickTileMode() argument
[all …]
Dsiaddrlib.h123 UINT_32 pitch, UINT_32 height, UINT_32 x, UINT_32 y, UINT_32 slice, UINT_32 numSlices,
128 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices,
155 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* pSliceBytes, UINT_32 baseAlign) const;
205 AddrTileMode baseTileMode, UINT_32 numSlices, UINT_32* pBytesPerTile) const;
Dsiaddrlib.cpp1271 UINT_32 numSlices, ///< [in] number of slices in HwlComputeHtileBytes() argument
1276 return ComputeHtileBytes(pitch, height, bpp, isLinear, numSlices, pSliceBytes, baseAlign); in HwlComputeHtileBytes()
1295 UINT_32 numSlices, ///< [in] number of slices in HwlComputeXmaskAddrFromCoord() argument
1325 numSlices, in HwlComputeXmaskAddrFromCoord()
1344 numSlices, in HwlComputeXmaskAddrFromCoord()
1453 UINT_32 numSlices, ///< [in] number of slices in HwlComputeXmaskCoordFromAddr() argument
1485 numSlices, in HwlComputeXmaskCoordFromAddr()
1503 numSlices, in HwlComputeXmaskCoordFromAddr()
2691 if ((pIn->numSlices > 1) && in HwlComputeSurfaceInfo()
2819 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.cpp911 UINT_32 numSlices, ///< [in] current number of slices in HwlDegradeThickTileMode() argument
944 …if ((pInOut->numSlices > 1) && ((pInOut->maxBaseAlign == 0) || (pInOut->maxBaseAlign >= Block64K))) in HwlOptimizeTileMode()
1141 if (pInOut->numSlices >= 8) in HwlSelectTileMode()
1146 else if (pInOut->numSlices >= 4) in HwlSelectTileMode()
/third_party/vk-gl-cts/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 …]
/third_party/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp222 pOut->htileBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeHtileInfo()
246 pOut->htileBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeHtileInfo()
371 pOut->cmaskBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeCmaskInfo()
452 pOut->depth = PowTwoAlign(Max(pIn->numSlices, 1u), metaBlk.d); in HwlComputeDccInfo()
595 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeCmaskAddrFromCoord()
668 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeHtileAddrFromCoord()
2333 infoIn.numSlices = pIn->numSlices; in HwlComputeNonBlockCompressedView()
2797 const UINT_32 numSlices = Max(pIn->numSlices, 1u); in HwlGetPreferredSurfaceSetting() local
2817 padSize[i] = ComputePadSize(&blkDim[i], width, height, numSlices, &padDim[i]); in HwlGetPreferredSurfaceSetting()
2874 const UINT_32 numSlices = Max(pIn->numSlices, 1u); in HwlGetPreferredSurfaceSetting() local
[all …]
/third_party/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp220 pIn->unalignedWidth, pIn->unalignedHeight, pIn->numSlices, in HwlComputeHtileInfo()
333 UINT_32 numMetaBlkZ = Max(pIn->numSlices, 1u); in HwlComputeCmaskInfo()
620 UINT_32 numSlices = Max(pIn->numSlices, 1u); in HwlComputeDccInfo() local
676 pIn->unalignedWidth, pIn->unalignedHeight, numSlices, in HwlComputeDccInfo()
863 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeCmaskAddrFromCoord()
941 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeHtileAddrFromCoord()
1016 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeHtileCoordFromAddr()
3318 … (pIn->numSlices >= pIn->width) && (pIn->numSlices >= pIn->height); in ValidateSwModeParams()
3495 const UINT_32 numSlices = Max(pIn->numSlices, 1u); in HwlGetPreferredSurfaceSetting() local
3508 localIn.numSlices = numSlices; in HwlGetPreferredSurfaceSetting()
[all …]
/third_party/vk-gl-cts/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 …]
/third_party/mesa3d/src/amd/common/
Dac_surface.c609 AddrSurfInfoIn->numSlices = u_minify(config->info.depth, level); in gfx6_compute_level()
611 AddrSurfInfoIn->numSlices = 6; in gfx6_compute_level()
613 AddrSurfInfoIn->numSlices = config->info.array_size; in gfx6_compute_level()
761 AddrHtileIn->numSlices = AddrSurfInfoOut->depth; in gfx6_compute_level()
1254 fin.numSlices = AddrSurfInfoIn.numSlices; in gfx6_compute_surface()
1375 sin.numSlices = in->numSlices; in gfx9_get_preferred_swizzle_mode()
1408 if (info->chip_class >= GFX10 && in->resourceType == ADDR_RSRC_TEX_3D && in->numSlices > 1) { in gfx9_get_preferred_swizzle_mode()
1703 surf->surf_size = surf->u.gfx9.surf_slice_size * in->numSlices; in gfx9_compute_miptree()
1740 hin.numSlices = in->numSlices; in gfx9_compute_miptree()
1826 din.numSlices = in->numSlices; in gfx9_compute_miptree()
[all …]
Dac_surface_meta_address_test.c223 din.numSlices = depth; in one_dcc_address_test()
427 hin.numSlices = in.numSlices = depth; in one_htile_address_test()
560 cin.numSlices = in.numSlices = depth; in one_cmask_address_test()
Dac_surface_modifier_test.c83 din.numSlices = 1; in get_addr_from_coord_base()
98 dcc_input.numSlices = 1; in get_addr_from_coord_base()
138 input.numSlices = 1; in generate_hash()
/third_party/mesa3d/src/mesa/main/
Dtexstore.c983 GLuint dims, slice, numSlices = 1, sliceOffset = 0; in store_texsubimage() local
1029 numSlices = height; in store_texsubimage()
1037 numSlices = depth; in store_texsubimage()
1046 numSlices = depth; in store_texsubimage()
1052 numSlices = depth; in store_texsubimage()
1063 assert(numSlices == 1 || srcImageStride != 0); in store_texsubimage()
1065 for (slice = 0; slice < numSlices; slice++) { in store_texsubimage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemUtils.cpp932 const int numSlices = dst.getDepth(); in fillWithUniqueColors() local
934 for (int z = 0; z < numSlices; z++) in fillWithUniqueColors()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
DnvEncodeAPI.h1893 …uint32_t numSlices; /**< [out]: Number of slices in the encoded p… member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp5398 const deUint32 numSlices = (deUint32)source.getLevel(0).getHeight(); in getRef1DView() local
5406 …tcu::getSubregion(wholeLevel, 0, baseArraySlice, wholeLevel.getWidth(), numSlices - baseArraySlice… in getRef1DView()
5417 const deUint32 numSlices = (deUint32)source.getLevel(0).getDepth(); in getRef2DView() local
5425 …l, 0, 0, baseArraySlice, wholeLevel.getWidth(), wholeLevel.getHeight(), numSlices - baseArraySlice… in getRef2DView()
5451 const deUint32 numSlices = (deUint32)source.getLevel(0).getDepth() / 6; in getRefCubeView() local
5459 … 0, baseArraySlice * 6, wholeLevel.getWidth(), wholeLevel.getHeight(), (numSlices - baseArraySlice… in getRefCubeView()