Searched refs:scratch_needed (Results 1 – 1 of 1) sorted by relevance
412 uint64_t scratch_bo_size, scratch_needed; in si_setup_compute_scratch_buffer() local414 scratch_needed = config->scratch_bytes_per_wave * sctx->scratch_waves; in si_setup_compute_scratch_buffer()418 if (scratch_bo_size < scratch_needed) { in si_setup_compute_scratch_buffer()425 scratch_needed, sctx->screen->info.pte_fragment_size); in si_setup_compute_scratch_buffer()431 if (sctx->compute_scratch_buffer != shader->scratch_bo && scratch_needed) { in si_setup_compute_scratch_buffer()