Home | History | Annotate | Download | only in i965

Lines Matching refs:tile

515          const fs_reg tile = offset(image, bld, BRW_IMAGE_PARAM_TILING_OFFSET);
528 * start mid-tile, so simply shifting the surface base address
551 * by passing in the miplevel as tile.z for 3-D textures and 0 in
552 * tile.z for 2-D array textures.
562 bld.BFE(offset(tmp, bld, 0), offset(tile, bld, 2), brw_imm_d(0),
566 offset(tile, bld, 2));
583 * other. This means that the tile width for Y-tiling is actually
584 * the width of one sub-column of the Y-major tile where each 4K
585 * tile has 8 512B sub-columns.
588 * The major X value is the tile sub-column in which the pixel
589 * lives; for X tiling, this is the same as the tile column, for Y
590 * tiling, each tile has 8 sub-columns. The minor X and Y indices
595 bld.BFE(offset(minor, bld, c), offset(tile, bld, c),
600 offset(addr, bld, c), offset(tile, bld, c));
603 /* Calculate the texel index from the start of the tile row and
606 * tmp.x = (major.x << tile.y << tile.x) +
607 * (minor.y << tile.x) + minor.x
608 * tmp.y = major.y << tile.y
610 bld.SHL(tmp, major, offset(tile, bld, 1));
612 bld.SHL(tmp, tmp, offset(tile, bld, 0));
615 offset(major, bld, 1), offset(tile, bld, 1));
617 /* Add it to the start of the tile row. */