Searched refs:pitchInBlock (Results 1 – 3 of 3) sorted by relevance
888 UINT_32 pitchInBlock = output.pitch / output.metaBlkWidth; in HwlComputeCmaskAddrFromCoord() local889 UINT_32 sliceSizeInBlock = (output.height / output.metaBlkHeight) * pitchInBlock; in HwlComputeCmaskAddrFromCoord()890 UINT_32 blockIndex = zb * sliceSizeInBlock + yb * pitchInBlock + xb; in HwlComputeCmaskAddrFromCoord()965 UINT_32 pitchInBlock = output.pitch / output.metaBlkWidth; in HwlComputeHtileAddrFromCoord() local966 UINT_32 sliceSizeInBlock = (output.height / output.metaBlkHeight) * pitchInBlock; in HwlComputeHtileAddrFromCoord()967 UINT_32 blockIndex = zb * sliceSizeInBlock + yb * pitchInBlock + xb; in HwlComputeHtileAddrFromCoord()1043 UINT_32 pitchInBlock = output.pitch / output.metaBlkWidth; in HwlComputeHtileCoordFromAddr() local1044 UINT_32 sliceSizeInBlock = (output.height / output.metaBlkHeight) * pitchInBlock; in HwlComputeHtileCoordFromAddr()1050 …pOut->y = ((coords[DIM_M] % sliceSizeInBlock) / pitchInBlock) * output.metaBlkHeight + coords[… in HwlComputeHtileCoordFromAddr()1051 pOut->x = (coords[DIM_M] % pitchInBlock) * output.metaBlkWidth + coords[DIM_X]; in HwlComputeHtileCoordFromAddr()[all …]
78 unsigned pitchInBlock = meta_pitch >> meta_block_width_log2; in gfx9_meta_addr_from_coord() local79 unsigned sliceSizeInBlock = (meta_height >> meta_block_height_log2) * pitchInBlock; in gfx9_meta_addr_from_coord()85 unsigned blockIndex = zb * sliceSizeInBlock + yb * pitchInBlock + xb; in gfx9_meta_addr_from_coord()
3197 nir_ssa_def *pitchInBlock = nir_ushr_imm(b, meta_pitch, meta_block_width_log2); in gfx9_nir_meta_addr_from_coord() local3199 pitchInBlock); in gfx9_nir_meta_addr_from_coord()3206 nir_imul(b, yb, pitchInBlock)), xb); in gfx9_nir_meta_addr_from_coord()