Searched refs:lds_blocks (Results 1 – 1 of 1) sorted by relevance
460 unsigned lds_blocks; in si_switch_compute_shader() local465 lds_blocks = config->lds_size; in si_switch_compute_shader()472 lds_blocks += align(program->sel.info.base.cs.shared_size, 256) >> 8; in si_switch_compute_shader()474 lds_blocks += align(program->sel.info.base.cs.shared_size, 512) >> 9; in si_switch_compute_shader()478 assert(lds_blocks <= 0xFF); in si_switch_compute_shader()481 config->rsrc2 |= S_00B84C_LDS_SIZE(lds_blocks); in si_switch_compute_shader()