Searched refs:sliceSizeInBlock (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.cpp | 889 UINT_32 sliceSizeInBlock = (output.height / output.metaBlkHeight) * pitchInBlock; in HwlComputeCmaskAddrFromCoord() local 890 UINT_32 blockIndex = zb * sliceSizeInBlock + yb * pitchInBlock + xb; in HwlComputeCmaskAddrFromCoord() 966 UINT_32 sliceSizeInBlock = (output.height / output.metaBlkHeight) * pitchInBlock; in HwlComputeHtileAddrFromCoord() local 967 UINT_32 blockIndex = zb * sliceSizeInBlock + yb * pitchInBlock + xb; in HwlComputeHtileAddrFromCoord() 1044 UINT_32 sliceSizeInBlock = (output.height / output.metaBlkHeight) * pitchInBlock; in HwlComputeHtileCoordFromAddr() local 1047 pMetaEq->solveAddr(nibbleAddress, sliceSizeInBlock, coords); in HwlComputeHtileCoordFromAddr() 1049 pOut->slice = coords[DIM_M] / sliceSizeInBlock; in HwlComputeHtileCoordFromAddr() 1050 …pOut->y = ((coords[DIM_M] % sliceSizeInBlock) / pitchInBlock) * output.metaBlkHeight + coords[… in HwlComputeHtileCoordFromAddr() 1130 UINT_32 sliceSizeInBlock = (pIn->height / pIn->metaBlkHeight) * pitchInBlock; in HwlComputeDccAddrFromCoord() local 1131 UINT_32 blockIndex = zb * sliceSizeInBlock + yb * pitchInBlock + xb; in HwlComputeDccAddrFromCoord() [all …]
|
/third_party/mesa3d/src/amd/common/ |
D | ac_surface_meta_address_test.c | 79 unsigned sliceSizeInBlock = (meta_height >> meta_block_height_log2) * pitchInBlock; in gfx9_meta_addr_from_coord() local 85 unsigned blockIndex = zb * sliceSizeInBlock + yb * pitchInBlock + xb; in gfx9_meta_addr_from_coord()
|
D | ac_surface.c | 3198 nir_ssa_def *sliceSizeInBlock = nir_imul(b, nir_ushr_imm(b, meta_height, meta_block_height_log2), in gfx9_nir_meta_addr_from_coord() local 3205 nir_ssa_def *blockIndex = nir_iadd(b, nir_iadd(b, nir_imul(b, zb, sliceSizeInBlock), in gfx9_nir_meta_addr_from_coord()
|