• Home
  • Raw
  • Download

Lines Matching refs:blockOffset

4648             UINT_32 blockOffset = 0;  in HwlComputeSurfaceAddrFromCoordTiled()  local
4662 blockOffset = lowBitsValue | highBitsValue; in HwlComputeSurfaceAddrFromCoordTiled()
4663 ADDR_ASSERT(blockOffset == lowBitsValue + highBitsValue); in HwlComputeSurfaceAddrFromCoordTiled()
4667 blockOffset = MortonGen2d(pIn->y, pIn->x, 13); in HwlComputeSurfaceAddrFromCoordTiled()
4673 blockOffset *= pIn->numSamples; in HwlComputeSurfaceAddrFromCoordTiled()
4674 blockOffset |= pIn->sample; in HwlComputeSurfaceAddrFromCoordTiled()
4678 blockOffset <<= log2ElementBytes; in HwlComputeSurfaceAddrFromCoordTiled()
4684 blockOffset = microBlockOffset; in HwlComputeSurfaceAddrFromCoordTiled()
4690 blockOffset |= in HwlComputeSurfaceAddrFromCoordTiled()
4699 blockOffset = blockOffset ^ (pIn->sample << sampleStart); in HwlComputeSurfaceAddrFromCoordTiled()
4705 blockOffset %= (1 << sampleStart); in HwlComputeSurfaceAddrFromCoordTiled()
4706 blockOffset |= (pIn->sample << sampleStart); in HwlComputeSurfaceAddrFromCoordTiled()
4707 ADDR_ASSERT((blockOffset >> log2blkSize) == 0); in HwlComputeSurfaceAddrFromCoordTiled()
4716 blockOffset &= ((1 << log2blkSize) - 1); in HwlComputeSurfaceAddrFromCoordTiled()
4720 interleaveOffset = blockOffset & ((1 << m_pipeInterleaveLog2) - 1); in HwlComputeSurfaceAddrFromCoordTiled()
4721 blockOffset >>= m_pipeInterleaveLog2; in HwlComputeSurfaceAddrFromCoordTiled()
4726 pipeXor = FoldXor2d(blockOffset, pipeBits); in HwlComputeSurfaceAddrFromCoordTiled()
4727 blockOffset >>= pipeBits; in HwlComputeSurfaceAddrFromCoordTiled()
4732 bankXor = FoldXor2d(blockOffset, bankBits); in HwlComputeSurfaceAddrFromCoordTiled()
4733 blockOffset >>= bankBits; in HwlComputeSurfaceAddrFromCoordTiled()
4736 blockOffset <<= bankBits; in HwlComputeSurfaceAddrFromCoordTiled()
4737 blockOffset |= bankXor; in HwlComputeSurfaceAddrFromCoordTiled()
4738 blockOffset <<= pipeBits; in HwlComputeSurfaceAddrFromCoordTiled()
4739 blockOffset |= pipeXor; in HwlComputeSurfaceAddrFromCoordTiled()
4740 blockOffset <<= m_pipeInterleaveLog2; in HwlComputeSurfaceAddrFromCoordTiled()
4741 blockOffset |= interleaveOffset; in HwlComputeSurfaceAddrFromCoordTiled()
4744 ADDR_ASSERT((blockOffset | mipTailBytesOffset) == (blockOffset + mipTailBytesOffset)); in HwlComputeSurfaceAddrFromCoordTiled()
4745 ADDR_ASSERT((mipTailBytesOffset == 0u) || (blockOffset < (1u << log2blkSize))); in HwlComputeSurfaceAddrFromCoordTiled()
4747 blockOffset |= mipTailBytesOffset; in HwlComputeSurfaceAddrFromCoordTiled()
4752 blockOffset ^= (ReverseBitVector(pIn->slice, pipeBits) << m_pipeInterleaveLog2); in HwlComputeSurfaceAddrFromCoordTiled()
4753 blockOffset ^= (ReverseBitVector(pIn->slice >> pipeBits, bankBits) << in HwlComputeSurfaceAddrFromCoordTiled()
4758 bankBits, pipeBits, &blockOffset); in HwlComputeSurfaceAddrFromCoordTiled()
4760 blockOffset %= (1 << log2blkSize); in HwlComputeSurfaceAddrFromCoordTiled()
4773 pOut->addr = blockOffset | macroBlockOffset; in HwlComputeSurfaceAddrFromCoordTiled()
4781 UINT_32 blockOffset = MortonGen3d((pIn->x / microBlockDim.w), in HwlComputeSurfaceAddrFromCoordTiled() local
4786 blockOffset <<= 10; in HwlComputeSurfaceAddrFromCoordTiled()
4787 blockOffset |= ComputeSurface3DMicroBlockOffset(pIn); in HwlComputeSurfaceAddrFromCoordTiled()
4794 blockOffset &= ((1 << log2blkSize) - 1); in HwlComputeSurfaceAddrFromCoordTiled()
4798 interleaveOffset = blockOffset & ((1 << m_pipeInterleaveLog2) - 1); in HwlComputeSurfaceAddrFromCoordTiled()
4799 blockOffset >>= m_pipeInterleaveLog2; in HwlComputeSurfaceAddrFromCoordTiled()
4804 pipeXor = FoldXor3d(blockOffset, pipeBits); in HwlComputeSurfaceAddrFromCoordTiled()
4805 blockOffset >>= pipeBits; in HwlComputeSurfaceAddrFromCoordTiled()
4810 bankXor = FoldXor3d(blockOffset, bankBits); in HwlComputeSurfaceAddrFromCoordTiled()
4811 blockOffset >>= bankBits; in HwlComputeSurfaceAddrFromCoordTiled()
4814 blockOffset <<= bankBits; in HwlComputeSurfaceAddrFromCoordTiled()
4815 blockOffset |= bankXor; in HwlComputeSurfaceAddrFromCoordTiled()
4816 blockOffset <<= pipeBits; in HwlComputeSurfaceAddrFromCoordTiled()
4817 blockOffset |= pipeXor; in HwlComputeSurfaceAddrFromCoordTiled()
4818 blockOffset <<= m_pipeInterleaveLog2; in HwlComputeSurfaceAddrFromCoordTiled()
4819 blockOffset |= interleaveOffset; in HwlComputeSurfaceAddrFromCoordTiled()
4822 ADDR_ASSERT((blockOffset | mipTailBytesOffset) == (blockOffset + mipTailBytesOffset)); in HwlComputeSurfaceAddrFromCoordTiled()
4823 ADDR_ASSERT((mipTailBytesOffset == 0u) || (blockOffset < (1u << log2blkSize))); in HwlComputeSurfaceAddrFromCoordTiled()
4824 blockOffset |= mipTailBytesOffset; in HwlComputeSurfaceAddrFromCoordTiled()
4827 bankBits, pipeBits, &blockOffset); in HwlComputeSurfaceAddrFromCoordTiled()
4829 blockOffset %= (1 << log2blkSize); in HwlComputeSurfaceAddrFromCoordTiled()
4840 pOut->addr = blockOffset | (blockIndex << log2blkSize); in HwlComputeSurfaceAddrFromCoordTiled()