Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c386 unsigned lds_blocks; in si_switch_compute_shader() local
395 lds_blocks = config->lds_size; in si_switch_compute_shader()
402 lds_blocks += align(program->local_size, 256) >> 8; in si_switch_compute_shader()
404 lds_blocks += align(program->local_size, 512) >> 9; in si_switch_compute_shader()
408 assert(lds_blocks <= 0xFF); in si_switch_compute_shader()
411 config->rsrc2 |= S_00B84C_LDS_SIZE(lds_blocks); in si_switch_compute_shader()