Home
last modified time | relevance | path

Searched refs:meta_block_width_log2 (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/amd/common/
Dac_surface_meta_address_test.c72 unsigned meta_block_width_log2 = util_logbase2(meta_block_width); in gfx9_meta_addr_from_coord() local
78 unsigned pitchInBlock = meta_pitch >> meta_block_width_log2; in gfx9_meta_addr_from_coord()
81 unsigned xb = x >> meta_block_width_log2; in gfx9_meta_addr_from_coord()
133 unsigned meta_block_width_log2 = util_logbase2(meta_block_width); in gfx10_meta_addr_from_coord() local
158 unsigned xb = x >> meta_block_width_log2; in gfx10_meta_addr_from_coord()
160 unsigned pb = meta_pitch >> meta_block_width_log2; in gfx10_meta_addr_from_coord()
184 unsigned meta_block_width_log2 = util_logbase2(meta_block_width); in gfx10_dcc_addr_from_coord() local
186 unsigned blkSizeLog2 = meta_block_width_log2 + meta_block_height_log2 + bpp_log2 - 8; in gfx10_dcc_addr_from_coord()
409 unsigned meta_block_width_log2 = util_logbase2(meta_block_width); in gfx10_htile_addr_from_coord() local
411 unsigned blkSizeLog2 = meta_block_width_log2 + meta_block_height_log2 - 4; in gfx10_htile_addr_from_coord()
[all …]
Dac_surface.c3136 unsigned meta_block_width_log2 = util_logbase2(equation->meta_block_width); in gfx10_nir_meta_addr_from_coord() local
3138 unsigned blkSizeLog2 = meta_block_width_log2 + meta_block_height_log2 + blkSizeBias; in gfx10_nir_meta_addr_from_coord()
3163 nir_ssa_def *xb = nir_ushr_imm(b, x, meta_block_width_log2); in gfx10_nir_meta_addr_from_coord()
3165 nir_ssa_def *pb = nir_ushr_imm(b, meta_pitch, meta_block_width_log2); in gfx10_nir_meta_addr_from_coord()
3191 unsigned meta_block_width_log2 = util_logbase2(equation->meta_block_width); in gfx9_nir_meta_addr_from_coord() local
3197 nir_ssa_def *pitchInBlock = nir_ushr_imm(b, meta_pitch, meta_block_width_log2); in gfx9_nir_meta_addr_from_coord()
3201 nir_ssa_def *xb = nir_ushr_imm(b, x, meta_block_width_log2); in gfx9_nir_meta_addr_from_coord()