Searched refs:lds_blocks (Results 1 – 1 of 1) sorted by relevance
518 unsigned lds_blocks; in si_switch_compute_shader() local523 lds_blocks = config->lds_size; in si_switch_compute_shader()530 lds_blocks += align(program->sel.info.base.shared_size, 256) >> 8; in si_switch_compute_shader()532 lds_blocks += align(program->sel.info.base.shared_size, 512) >> 9; in si_switch_compute_shader()536 assert(lds_blocks <= 0xFF); in si_switch_compute_shader()539 config->rsrc2 |= S_00B84C_LDS_SIZE(lds_blocks); in si_switch_compute_shader()