Searched refs:scratch_needed (Results 1 – 1 of 1) sorted by relevance
334 uint64_t scratch_bo_size, scratch_needed; in si_setup_compute_scratch_buffer() local336 scratch_needed = config->scratch_bytes_per_wave * sctx->scratch_waves; in si_setup_compute_scratch_buffer()340 if (scratch_bo_size < scratch_needed) { in si_setup_compute_scratch_buffer()347 scratch_needed, 256); in si_setup_compute_scratch_buffer()353 if (sctx->compute_scratch_buffer != shader->scratch_bo && scratch_needed) { in si_setup_compute_scratch_buffer()