• Home
  • Raw
  • Download

Lines Matching refs:textures

1642 		track->textures[i].robj = reloc->robj;  in r100_packet0_check()
1658 track->textures[0].cube_info[i].offset = idx_value; in r100_packet0_check()
1660 track->textures[0].cube_info[i].robj = reloc->robj; in r100_packet0_check()
1676 track->textures[1].cube_info[i].offset = idx_value; in r100_packet0_check()
1678 track->textures[1].cube_info[i].robj = reloc->robj; in r100_packet0_check()
1694 track->textures[2].cube_info[i].offset = idx_value; in r100_packet0_check()
1696 track->textures[2].cube_info[i].robj = reloc->robj; in r100_packet0_check()
1789 track->textures[i].enabled = !!(temp & (1 << i)); in r100_packet0_check()
1803 track->textures[i].width = (idx_value & RADEON_TEX_USIZE_MASK) + 1; in r100_packet0_check()
1804 track->textures[i].height = ((idx_value & RADEON_TEX_VSIZE_MASK) >> RADEON_TEX_VSIZE_SHIFT) + 1; in r100_packet0_check()
1811 track->textures[i].pitch = idx_value + 32; in r100_packet0_check()
1818 track->textures[i].num_levels = ((idx_value & RADEON_MAX_MIP_LEVEL_MASK) in r100_packet0_check()
1822 track->textures[i].roundup_w = false; in r100_packet0_check()
1825 track->textures[i].roundup_h = false; in r100_packet0_check()
1833 track->textures[i].use_pitch = true; in r100_packet0_check()
1835 track->textures[i].use_pitch = false; in r100_packet0_check()
1836 …track->textures[i].width = 1 << ((idx_value & RADEON_TXFORMAT_WIDTH_MASK) >> RADEON_TXFORMAT_WIDTH… in r100_packet0_check()
1837 …track->textures[i].height = 1 << ((idx_value & RADEON_TXFORMAT_HEIGHT_MASK) >> RADEON_TXFORMAT_HEI… in r100_packet0_check()
1840 track->textures[i].tex_coord_type = 2; in r100_packet0_check()
1845 track->textures[i].cpp = 1; in r100_packet0_check()
1846 track->textures[i].compress_format = R100_TRACK_COMP_NONE; in r100_packet0_check()
1857 track->textures[i].cpp = 2; in r100_packet0_check()
1858 track->textures[i].compress_format = R100_TRACK_COMP_NONE; in r100_packet0_check()
1864 track->textures[i].cpp = 4; in r100_packet0_check()
1865 track->textures[i].compress_format = R100_TRACK_COMP_NONE; in r100_packet0_check()
1868 track->textures[i].cpp = 1; in r100_packet0_check()
1869 track->textures[i].compress_format = R100_TRACK_COMP_DXT1; in r100_packet0_check()
1873 track->textures[i].cpp = 1; in r100_packet0_check()
1874 track->textures[i].compress_format = R100_TRACK_COMP_DXT35; in r100_packet0_check()
1877 track->textures[i].cube_info[4].width = 1 << ((idx_value >> 16) & 0xf); in r100_packet0_check()
1878 track->textures[i].cube_info[4].height = 1 << ((idx_value >> 20) & 0xf); in r100_packet0_check()
1887 track->textures[i].cube_info[face].width = 1 << ((tmp >> (face * 8)) & 0xf); in r100_packet0_check()
1888 track->textures[i].cube_info[face].height = 1 << ((tmp >> ((face * 8) + 4)) & 0xf); in r100_packet0_check()
2137 unsigned compress_format = track->textures[idx].compress_format; in r100_cs_track_cube()
2140 cube_robj = track->textures[idx].cube_info[face].robj; in r100_cs_track_cube()
2141 w = track->textures[idx].cube_info[face].width; in r100_cs_track_cube()
2142 h = track->textures[idx].cube_info[face].height; in r100_cs_track_cube()
2148 size *= track->textures[idx].cpp; in r100_cs_track_cube()
2150 size += track->textures[idx].cube_info[face].offset; in r100_cs_track_cube()
2155 r100_cs_track_texture_print(&track->textures[idx]); in r100_cs_track_cube()
2171 if (!track->textures[u].enabled) in r100_cs_track_texture_check()
2173 if (track->textures[u].lookup_disable) in r100_cs_track_texture_check()
2175 robj = track->textures[u].robj; in r100_cs_track_texture_check()
2181 for (i = 0; i <= track->textures[u].num_levels; i++) { in r100_cs_track_texture_check()
2182 if (track->textures[u].use_pitch) { in r100_cs_track_texture_check()
2184 w = (track->textures[u].pitch / track->textures[u].cpp) / (1 << i); in r100_cs_track_texture_check()
2186 w = track->textures[u].pitch / (1 << i); in r100_cs_track_texture_check()
2188 w = track->textures[u].width; in r100_cs_track_texture_check()
2190 w |= track->textures[u].width_11; in r100_cs_track_texture_check()
2192 if (track->textures[u].roundup_w) in r100_cs_track_texture_check()
2195 h = track->textures[u].height; in r100_cs_track_texture_check()
2197 h |= track->textures[u].height_11; in r100_cs_track_texture_check()
2199 if (track->textures[u].roundup_h) in r100_cs_track_texture_check()
2201 if (track->textures[u].tex_coord_type == 1) { in r100_cs_track_texture_check()
2202 d = (1 << track->textures[u].txdepth) / (1 << i); in r100_cs_track_texture_check()
2208 if (track->textures[u].compress_format) { in r100_cs_track_texture_check()
2210 size += r100_track_compress_size(track->textures[u].compress_format, w, h) * d; in r100_cs_track_texture_check()
2215 size *= track->textures[u].cpp; in r100_cs_track_texture_check()
2217 switch (track->textures[u].tex_coord_type) { in r100_cs_track_texture_check()
2231 "%u\n", track->textures[u].tex_coord_type, u); in r100_cs_track_texture_check()
2237 r100_cs_track_texture_print(&track->textures[u]); in r100_cs_track_texture_check()
2427 track->textures[i].compress_format = R100_TRACK_COMP_NONE; in r100_cs_track_clear()
2428 track->textures[i].pitch = 16536; in r100_cs_track_clear()
2429 track->textures[i].width = 16536; in r100_cs_track_clear()
2430 track->textures[i].height = 16536; in r100_cs_track_clear()
2431 track->textures[i].width_11 = 1 << 11; in r100_cs_track_clear()
2432 track->textures[i].height_11 = 1 << 11; in r100_cs_track_clear()
2433 track->textures[i].num_levels = 12; in r100_cs_track_clear()
2435 track->textures[i].tex_coord_type = 0; in r100_cs_track_clear()
2436 track->textures[i].txdepth = 0; in r100_cs_track_clear()
2438 track->textures[i].txdepth = 16; in r100_cs_track_clear()
2439 track->textures[i].tex_coord_type = 1; in r100_cs_track_clear()
2441 track->textures[i].cpp = 64; in r100_cs_track_clear()
2442 track->textures[i].robj = NULL; in r100_cs_track_clear()
2444 track->textures[i].enabled = false; in r100_cs_track_clear()
2445 track->textures[i].lookup_disable = false; in r100_cs_track_clear()
2446 track->textures[i].roundup_w = true; in r100_cs_track_clear()
2447 track->textures[i].roundup_h = true; in r100_cs_track_clear()
2450 track->textures[i].cube_info[face].robj = NULL; in r100_cs_track_clear()
2451 track->textures[i].cube_info[face].width = 16536; in r100_cs_track_clear()
2452 track->textures[i].cube_info[face].height = 16536; in r100_cs_track_clear()
2453 track->textures[i].cube_info[face].offset = 0; in r100_cs_track_clear()