• Home
  • Raw
  • Download

Lines Matching refs:fmask

338 	if (image->fmask.size) {  in si_make_texture_descriptor()
343 va = gpu_address + image->offset + image->fmask.offset; in si_make_texture_descriptor()
370 S_008F1C_TILING_INDEX(image->fmask.tile_mode_index) | in si_make_texture_descriptor()
373 S_008F20_PITCH(image->fmask.pitch_in_pixels - 1); in si_make_texture_descriptor()
462 struct radeon_surf fmask = image->surface; in radv_image_get_fmask_info() local
466 fmask.bo_alignment = 0; in radv_image_get_fmask_info()
467 fmask.bo_size = 0; in radv_image_get_fmask_info()
468 fmask.nsamples = 1; in radv_image_get_fmask_info()
469 fmask.flags |= RADEON_SURF_FMASK; in radv_image_get_fmask_info()
474 fmask.flags = RADEON_SURF_CLR(fmask.flags, MODE); in radv_image_get_fmask_info()
475 fmask.flags |= RADEON_SURF_SET(RADEON_SURF_MODE_2D, MODE); in radv_image_get_fmask_info()
477 fmask.flags |= RADEON_SURF_HAS_TILE_MODE_INDEX; in radv_image_get_fmask_info()
482 fmask.bpe = 1; in radv_image_get_fmask_info()
485 fmask.bpe = 4; in radv_image_get_fmask_info()
491 device->ws->surface_init(device->ws, &fmask); in radv_image_get_fmask_info()
492 assert(fmask.level[0].mode == RADEON_SURF_MODE_2D); in radv_image_get_fmask_info()
494 out->slice_tile_max = (fmask.level[0].nblk_x * fmask.level[0].nblk_y) / 64; in radv_image_get_fmask_info()
498 out->tile_mode_index = fmask.tiling_index[0]; in radv_image_get_fmask_info()
499 out->pitch_in_pixels = fmask.level[0].nblk_x; in radv_image_get_fmask_info()
500 out->bank_height = fmask.bankh; in radv_image_get_fmask_info()
501 out->alignment = MAX2(256, fmask.bo_alignment); in radv_image_get_fmask_info()
502 out->size = fmask.bo_size; in radv_image_get_fmask_info()
509 radv_image_get_fmask_info(device, image, image->samples, &image->fmask); in radv_image_alloc_fmask()
511 image->fmask.offset = align64(image->size, image->fmask.alignment); in radv_image_alloc_fmask()
512 image->size = image->fmask.offset + image->fmask.size; in radv_image_alloc_fmask()
513 image->alignment = MAX2(image->alignment, image->fmask.alignment); in radv_image_alloc_fmask()