• Home
  • Raw
  • Download

Lines Matching refs:fmask

2441 		if (rtex->fmask.size) {  in si_initialize_color_surface()
2443 unsigned fmask_bankh = util_logbase2(rtex->fmask.bank_height); in si_initialize_color_surface()
2476 if (!rtex->fmask.size && sctx->b.chip_class == SI) { in si_initialize_color_surface()
2691 if (rtex->fmask.size) in si_update_fb_dirtiness_after_rendering()
2863 if (rtex->fmask.size) { in si_set_framebuffer_state()
3008 if (tex->fmask.size) { in si_emit_framebuffer_state()
3009 cb_color_fmask = (tex->resource.gpu_address + tex->fmask.offset) >> 8; in si_emit_framebuffer_state()
3010 cb_color_fmask |= tex->fmask.tile_swizzle; in si_emit_framebuffer_state()
3039 if (!tex->fmask.size) in si_emit_framebuffer_state()
3042 S_028C74_FMASK_SW_MODE(tex->surface.u.gfx9.fmask.swizzle_mode) | in si_emit_framebuffer_state()
3077 if (!tex->fmask.size) in si_emit_framebuffer_state()
3091 if (tex->fmask.size) { in si_emit_framebuffer_state()
3093 cb_color_pitch |= S_028C64_FMASK_TILE_MAX(tex->fmask.pitch_in_pixels / 8 - 1); in si_emit_framebuffer_state()
3094 cb_color_attrib |= S_028C74_FMASK_TILE_MODE_INDEX(tex->fmask.tile_mode_index); in si_emit_framebuffer_state()
3095 cb_color_fmask_slice = S_028C88_TILE_MAX(tex->fmask.slice_tile_max); in si_emit_framebuffer_state()
3747 if (tex->fmask.size) { in si_make_texture_descriptor()
3750 va = tex->resource.gpu_address + tex->fmask.offset; in si_make_texture_descriptor()
3784 fmask_state[0] = (va >> 8) | tex->fmask.tile_swizzle; in si_make_texture_descriptor()
3801 fmask_state[3] |= S_008F1C_SW_MODE(tex->surface.u.gfx9.fmask.swizzle_mode); in si_make_texture_descriptor()
3803 S_008F20_PITCH_GFX9(tex->surface.u.gfx9.fmask.epitch); in si_make_texture_descriptor()
3807 fmask_state[3] |= S_008F1C_TILING_INDEX(tex->fmask.tile_mode_index); in si_make_texture_descriptor()
3809 S_008F20_PITCH_GFX6(tex->fmask.pitch_in_pixels - 1); in si_make_texture_descriptor()