Home
last modified time | relevance | path

Searched refs:blkSizeLog2 (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/amd/common/
Dac_surface_meta_address_test.c124 unsigned blkSizeLog2, in gfx10_meta_addr_from_coord() argument
139 for (unsigned i = 0; i < blkSizeLog2 + 1; i++) { in gfx10_meta_addr_from_coord()
155 unsigned blkMask = (1 << blkSizeLog2) - 1; in gfx10_meta_addr_from_coord()
168 (blkIndex * (1 << blkSizeLog2)) + in gfx10_meta_addr_from_coord()
186 unsigned blkSizeLog2 = meta_block_width_log2 + meta_block_height_log2 + bpp_log2 - 8; in gfx10_dcc_addr_from_coord() local
190 blkSizeLog2, in gfx10_dcc_addr_from_coord()
411 unsigned blkSizeLog2 = meta_block_width_log2 + meta_block_height_log2 - 4; in gfx10_htile_addr_from_coord() local
415 blkSizeLog2, in gfx10_htile_addr_from_coord()
567 unsigned blkSizeLog2 = meta_block_width_log2 + meta_block_height_log2 - 7; in gfx10_cmask_addr_from_coord() local
571 blkSizeLog2, in gfx10_cmask_addr_from_coord()
Dac_surface.c3138 unsigned blkSizeLog2 = meta_block_width_log2 + meta_block_height_log2 + blkSizeBias; in gfx10_nir_meta_addr_from_coord() local
3143 for (unsigned i = blkStart; i < blkSizeLog2 + 1; i++) { in gfx10_nir_meta_addr_from_coord()
3160 unsigned blkMask = (1 << blkSizeLog2) - 1; in gfx10_nir_meta_addr_from_coord()
3175 … nir_imul(b, blkIndex, nir_ishl(b, one, nir_imm_int(b, blkSizeLog2)))), in gfx10_nir_meta_addr_from_coord()
/third_party/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp613 const UINT_32 blkSizeLog2 = Log2(output.metaBlkWidth) + Log2(output.metaBlkHeight) - 7; in HwlComputeCmaskAddrFromCoord() local
614 const UINT_32 blkMask = (1 << blkSizeLog2) - 1; in HwlComputeCmaskAddrFromCoord()
616blkSizeLog2 + 1, // +1 for nibble offset in HwlComputeCmaskAddrFromCoord()
628 (blkIndex * (1 << blkSizeLog2)) + in HwlComputeCmaskAddrFromCoord()
681 … const UINT_32 blkSizeLog2 = Log2(output.metaBlkWidth) + Log2(output.metaBlkHeight) - 4; in HwlComputeHtileAddrFromCoord() local
682 const UINT_32 blkMask = (1 << blkSizeLog2) - 1; in HwlComputeHtileAddrFromCoord()
684blkSizeLog2 + 1, // +1 for nibble offset in HwlComputeHtileAddrFromCoord()
696 (blkIndex * (1 << blkSizeLog2)) + in HwlComputeHtileAddrFromCoord()
819 const UINT_32 blkSizeLog2 = Log2(pIn->metaBlkWidth) + Log2(pIn->metaBlkHeight) + elemLog2 - 8; in HwlComputeDccAddrFromCoord() local
820 const UINT_32 blkMask = (1 << blkSizeLog2) - 1; in HwlComputeDccAddrFromCoord()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/gfx11/
Dgfx11addrlib.cpp466 … const UINT_32 blkSizeLog2 = Log2(output.metaBlkWidth) + Log2(output.metaBlkHeight) - 4; in HwlComputeHtileAddrFromCoord() local
467 const UINT_32 blkMask = (1 << blkSizeLog2) - 1; in HwlComputeHtileAddrFromCoord()
469blkSizeLog2 + 1, // +1 for nibble offset in HwlComputeHtileAddrFromCoord()
481 (blkIndex * (1 << blkSizeLog2)) + in HwlComputeHtileAddrFromCoord()
588 const UINT_32 blkSizeLog2 = Log2(pIn->metaBlkWidth) + Log2(pIn->metaBlkHeight) + elemLog2 - 8; in HwlComputeDccAddrFromCoord() local
589 const UINT_32 blkMask = (1 << blkSizeLog2) - 1; in HwlComputeDccAddrFromCoord()
591blkSizeLog2 + 1, // +1 for nibble offset in HwlComputeDccAddrFromCoord()
603 (blkIndex * (1 << blkSizeLog2)) + in HwlComputeDccAddrFromCoord()
2908 const UINT_32 blkSizeLog2 = GetBlockSizeLog2(pIn->swizzleMode); in ComputeStereoInfo() local
2920 for (UINT_32 i = m_pipeInterleaveLog2; i < blkSizeLog2; i++) in ComputeStereoInfo()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp4024 const UINT_32 blkSizeLog2 = GetBlockSizeLog2(pIn->swizzleMode); in ComputeStereoInfo() local
4025 const UINT_32 numPipeBits = GetPipeXorBits(blkSizeLog2); in ComputeStereoInfo()
4026 const UINT_32 numBankBits = GetBankXorBits(blkSizeLog2); in ComputeStereoInfo()
4035 (blkSizeLog2 - Log2Size256) / 2 + maxYCoordBlock256; in ComputeStereoInfo()
4038 GetMaxValidChannelIndex(&pEqToCheck->addr[0], blkSizeLog2, 1)); in ComputeStereoInfo()