/third_party/mesa3d/src/amd/addrlib/inc/ |
D | addrinterface.h | 557 UINT_32 numSlices; ///< Number of surface slices or depth member 683 UINT_32 numSlices; ///< Surface depth member 771 UINT_32 numSlices; ///< Surface depth member 880 UINT_32 numSlices; ///< Number of slices member 953 UINT_32 numSlices; ///< Number of slices member 1017 UINT_32 numSlices; ///< Number of slices member 1100 UINT_32 numSlices; ///< Number of slices, of color buffer member 1169 UINT_32 numSlices; ///< Number of slices member 1230 UINT_32 numSlices; ///< Number of slices member 1292 UINT_32 numSlices; ///< Number of slice/depth member [all …]
|
/third_party/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib1.cpp | 409 if (pIn->numSlices > 1) in ComputeSurfaceInfo() 412 if (pIn->slice == (pIn->numSlices - 1)) in ComputeSurfaceInfo() 414 pOut->sliceSize += pOut->sliceSize * (pOut->depth - pIn->numSlices); in ComputeSurfaceInfo() 1292 if (pIn->numSlices > 1) in ComputeHtileInfo() 1294 const UINT_32 surfBytes = (sliceSize * pIn->numSlices); in ComputeHtileInfo() 1323 pIn->numSlices, in ComputeHtileInfo() 1393 pIn->numSlices, in ComputeCmaskInfo() 1524 pIn->numSlices, in ComputeHtileAddrFromCoord() 1592 pIn->numSlices, in ComputeHtileCoordFromAddr() 1664 pIn->numSlices, in ComputeCmaskAddrFromCoord() [all …]
|
D | addrlib2.cpp | 183 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 …]
|
D | addrlib1.h | 246 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;
|
D | addrlib2.h | 796 UINT_32 numSlices, in ComputePadSize() argument 801 pPadDim->d = PowTwoAlign(numSlices, pBlkDim->d); in ComputePadSize() 813 UINT_32 numSlices, in Valid3DMipSliceIdConstraint() argument 817 return (Max((numSlices >> mipId), 1u) > slice); in Valid3DMipSliceIdConstraint() 873 actualMipLevels = Max(actualMipLevels, Log2NonPow2(pIn->numSlices) + 1); in VerifyMipLevelInfo()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineRenderToImageTests.cpp | 867 const deInt32 numSlices = maxLayersOrDepth(imageSize); in testWithSizeReduction() local 888 … (vk, device, caseDef.colorFormat, caseDef.depthStencilFormat, static_cast<deUint32>(numSlices), in testWithSizeReduction() 920 IVec3(imageSize.x(), imageSize.y(), 1), 1u, numSlices, imageUsage); in testWithSizeReduction() 926 const vector<Vertex4RGBA> vertices = genFullQuadVertices(numSlices); in testWithSizeReduction() 980 pipelines.reserve(numSlices); in testWithSizeReduction() 981 for (int subpassNdx = 0; subpassNdx < numSlices; ++subpassNdx) in testWithSizeReduction() 1002 for (int subpassNdx = 0; subpassNdx < numSlices; ++subpassNdx) in testWithSizeReduction() 1018 vector<VkClearValue> clearValues (numSlices, getClearValue(caseDef.colorFormat)); in testWithSizeReduction() 1021 …clearValues.insert(clearValues.end(), numSlices, makeClearValueDepthStencil(REFERENCE_DEPTH_VALUE,… in testWithSizeReduction() 1030 for (deUint32 subpassNdx = 0; subpassNdx < static_cast<deUint32>(numSlices); ++subpassNdx) in testWithSizeReduction() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineRenderToImageTests.cpp | 867 const deInt32 numSlices = maxLayersOrDepth(imageSize); in testWithSizeReduction() local 888 … (vk, device, caseDef.colorFormat, caseDef.depthStencilFormat, static_cast<deUint32>(numSlices), in testWithSizeReduction() 920 IVec3(imageSize.x(), imageSize.y(), 1), 1u, numSlices, imageUsage); in testWithSizeReduction() 926 const vector<Vertex4RGBA> vertices = genFullQuadVertices(numSlices); in testWithSizeReduction() 980 pipelines.reserve(numSlices); in testWithSizeReduction() 981 for (int subpassNdx = 0; subpassNdx < numSlices; ++subpassNdx) in testWithSizeReduction() 1002 for (int subpassNdx = 0; subpassNdx < numSlices; ++subpassNdx) in testWithSizeReduction() 1018 vector<VkClearValue> clearValues (numSlices, getClearValue(caseDef.colorFormat)); in testWithSizeReduction() 1021 …clearValues.insert(clearValues.end(), numSlices, makeClearValueDepthStencil(REFERENCE_DEPTH_VALUE,… in testWithSizeReduction() 1030 for (deUint32 subpassNdx = 0; subpassNdx < static_cast<deUint32>(numSlices); ++subpassNdx) in testWithSizeReduction() [all …]
|
/third_party/mesa3d/src/amd/addrlib/src/r800/ |
D | egbaddrlib.cpp | 95 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() 1084 UINT_32 numSlices, ///< [in] current number of slices in ComputeSurfaceMipLevelTileMode() argument 1108 if (numSlices < microTileThickness) in ComputeSurfaceMipLevelTileMode() 1110 expTileMode = HwlDegradeThickTileMode(expTileMode, numSlices, &bytesPerTile); in ComputeSurfaceMipLevelTileMode() 1236 UINT_32 numSlices, ///< [in] current number of slices in HwlDegradeThickTileMode() argument [all …]
|
D | siaddrlib.h | 122 UINT_32 pitch, UINT_32 height, UINT_32 x, UINT_32 y, UINT_32 slice, UINT_32 numSlices, 127 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices, 154 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* pSliceBytes, UINT_32 baseAlign) const; 204 AddrTileMode baseTileMode, UINT_32 numSlices, UINT_32* pBytesPerTile) const;
|
D | siaddrlib.cpp | 1270 UINT_32 numSlices, ///< [in] number of slices in HwlComputeHtileBytes() argument 1275 return ComputeHtileBytes(pitch, height, bpp, isLinear, numSlices, pSliceBytes, baseAlign); in HwlComputeHtileBytes() 1294 UINT_32 numSlices, ///< [in] number of slices in HwlComputeXmaskAddrFromCoord() argument 1324 numSlices, in HwlComputeXmaskAddrFromCoord() 1343 numSlices, in HwlComputeXmaskAddrFromCoord() 1452 UINT_32 numSlices, ///< [in] number of slices in HwlComputeXmaskCoordFromAddr() argument 1484 numSlices, in HwlComputeXmaskCoordFromAddr() 1502 numSlices, in HwlComputeXmaskCoordFromAddr() 2690 if ((pIn->numSlices > 1) && in HwlComputeSurfaceInfo() 2818 nextSlices = Max(1u, pIn->numSlices >> 1); in HwlCheckLastMacroTiledLvl() [all …]
|
D | egbaddrlib.h | 207 AddrTileMode baseTileMode, UINT_32 numSlices, UINT_32* pBytesPerTile) const; 242 UINT_32 pitch, UINT_32 height, UINT_32 numSlices, UINT_32 numSamples, 292 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* sliceBytes, UINT_32 baseAlign) const;
|
D | ciaddrlib.cpp | 910 UINT_32 numSlices, ///< [in] current number of slices in HwlDegradeThickTileMode() argument 943 …if ((pInOut->numSlices > 1) && ((pInOut->maxBaseAlign == 0) || (pInOut->maxBaseAlign >= Block64K))) in HwlOptimizeTileMode() 1140 if (pInOut->numSlices >= 8) in HwlSelectTileMode() 1145 else if (pInOut->numSlices >= 4) in HwlSelectTileMode()
|
D | ciaddrlib.h | 116 AddrTileMode baseTileMode, UINT_32 numSlices, UINT_32* pBytesPerTile) const;
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fShaderApiTests.cpp | 103 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/ |
D | gfx10addrlib.cpp | 221 pOut->htileBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeHtileInfo() 245 pOut->htileBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeHtileInfo() 370 pOut->cmaskBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeCmaskInfo() 451 pOut->depth = PowTwoAlign(Max(pIn->numSlices, 1u), metaBlk.d); in HwlComputeDccInfo() 594 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeCmaskAddrFromCoord() 666 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeHtileAddrFromCoord() 2354 infoIn.numSlices = pIn->numSlices; in HwlComputeNonBlockCompressedView() 2814 const UINT_32 numSlices = Max(pIn->numSlices, 1u); in HwlGetPreferredSurfaceSetting() local 2834 padSize[i] = ComputePadSize(&blkDim[i], width, height, numSlices, &padDim[i]); in HwlGetPreferredSurfaceSetting() 2891 const UINT_32 numSlices = Max(pIn->numSlices, 1u); in HwlGetPreferredSurfaceSetting() local [all …]
|
/third_party/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.cpp | 219 pIn->unalignedWidth, pIn->unalignedHeight, pIn->numSlices, in HwlComputeHtileInfo() 332 UINT_32 numMetaBlkZ = Max(pIn->numSlices, 1u); in HwlComputeCmaskInfo() 619 UINT_32 numSlices = Max(pIn->numSlices, 1u); in HwlComputeDccInfo() local 675 pIn->unalignedWidth, pIn->unalignedHeight, numSlices, in HwlComputeDccInfo() 862 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeCmaskAddrFromCoord() 940 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeHtileAddrFromCoord() 1015 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeHtileCoordFromAddr() 3317 … (pIn->numSlices >= pIn->width) && (pIn->numSlices >= pIn->height); in ValidateSwModeParams() 3494 const UINT_32 numSlices = Max(pIn->numSlices, 1u); in HwlGetPreferredSurfaceSetting() local 3507 localIn.numSlices = numSlices; in HwlGetPreferredSurfaceSetting() [all …]
|
/third_party/mesa3d/src/amd/addrlib/src/gfx11/ |
D | gfx11addrlib.cpp | 222 pOut->htileBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeHtileInfo() 246 pOut->htileBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeHtileInfo() 320 pOut->depth = PowTwoAlign(Max(pIn->numSlices, 1u), metaBlk.d); in HwlComputeDccInfo() 452 input.numSlices = Max(pIn->numSlices, 1u); in HwlComputeHtileAddrFromCoord() 1958 infoIn.numSlices = pIn->numSlices; in HwlComputeNonBlockCompressedView() 2417 const UINT_32 numSlices = Max(pIn->numSlices, 1u); in HwlGetPreferredSurfaceSetting() local 2430 localIn.numSlices = numSlices; in HwlGetPreferredSurfaceSetting() 3060 pOut->numSlices = pIn->numSlices; in ComputeSurfaceInfoMicroTiled() 3092 pOut->surfSize = mipSliceSize * pOut->numSlices; in ComputeSurfaceInfoMicroTiled() 3097 pOut->surfSize = pOut->sliceSize * pOut->numSlices; in ComputeSurfaceInfoMicroTiled() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderApiTests.cpp | 120 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/ |
D | ac_surface.c | 669 AddrSurfInfoIn->numSlices = u_minify(config->info.depth, level); in gfx6_compute_level() 671 AddrSurfInfoIn->numSlices = 6; in gfx6_compute_level() 673 AddrSurfInfoIn->numSlices = config->info.array_size; in gfx6_compute_level() 822 AddrHtileIn->numSlices = AddrSurfInfoOut->depth; in gfx6_compute_level() 1316 fin.numSlices = AddrSurfInfoIn.numSlices; in gfx6_compute_surface() 1448 sin.numSlices = in->numSlices; in gfx9_get_preferred_swizzle_mode() 1485 if (info->gfx_level >= GFX10 && in->resourceType == ADDR_RSRC_TEX_3D && in->numSlices > 1) { in gfx9_get_preferred_swizzle_mode() 1781 surf->surf_size = surf->u.gfx9.surf_slice_size * in->numSlices; in gfx9_compute_miptree() 1820 hin.numSlices = in->numSlices; in gfx9_compute_miptree() 1911 din.numSlices = in->numSlices; in gfx9_compute_miptree() [all …]
|
D | ac_surface_meta_address_test.c | 223 din.numSlices = depth; in one_dcc_address_test() 445 hin.numSlices = in.numSlices = depth; in one_htile_address_test() 595 cin.numSlices = in.numSlices = depth; in one_cmask_address_test()
|
D | ac_surface_modifier_test.c | 83 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/ |
D | texstore.c | 986 GLuint dims, slice, numSlices = 1, sliceOffset = 0; in store_texsubimage() local 1032 numSlices = height; in store_texsubimage() 1040 numSlices = depth; in store_texsubimage() 1049 numSlices = depth; in store_texsubimage() 1055 numSlices = depth; in store_texsubimage() 1066 assert(numSlices == 1 || srcImageStride != 0); in store_texsubimage() 1068 for (slice = 0; slice < numSlices; slice++) { in store_texsubimage()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
D | vktProtectedMemUtils.cpp | 974 const int numSlices = dst.getDepth(); in fillWithUniqueColors() local 976 for (int z = 0; z < numSlices; z++) in fillWithUniqueColors()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemUtils.cpp | 974 const int numSlices = dst.getDepth(); in fillWithUniqueColors() local 976 for (int z = 0; z < numSlices; z++) in fillWithUniqueColors()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/ |
D | vktBindingShaderAccessTests.cpp | 5531 const deUint32 numSlices = (deUint32)source.getLevel(0).getHeight(); in getRef1DView() local 5539 …tcu::getSubregion(wholeLevel, 0, baseArraySlice, wholeLevel.getWidth(), numSlices - baseArraySlice… in getRef1DView() 5550 const deUint32 numSlices = (deUint32)source.getLevel(0).getDepth(); in getRef2DView() local 5558 …l, 0, 0, baseArraySlice, wholeLevel.getWidth(), wholeLevel.getHeight(), numSlices - baseArraySlice… in getRef2DView() 5584 const deUint32 numSlices = (deUint32)source.getLevel(0).getDepth() / 6; in getRefCubeView() local 5592 … 0, baseArraySlice * 6, wholeLevel.getWidth(), wholeLevel.getHeight(), (numSlices - baseArraySlice… in getRefCubeView()
|