Searched refs:compute_scratch_buffer (Results 1 – 3 of 3) sorted by relevance
471 if (sctx->compute_scratch_buffer) in si_setup_compute_scratch_buffer()472 scratch_bo_size = sctx->compute_scratch_buffer->b.b.width0; in si_setup_compute_scratch_buffer()475 si_resource_reference(&sctx->compute_scratch_buffer, NULL); in si_setup_compute_scratch_buffer()477 sctx->compute_scratch_buffer = in si_setup_compute_scratch_buffer()484 if (!sctx->compute_scratch_buffer) in si_setup_compute_scratch_buffer()488 if (sctx->compute_scratch_buffer != shader->scratch_bo && scratch_needed) { in si_setup_compute_scratch_buffer()490 uint64_t scratch_va = sctx->compute_scratch_buffer->gpu_address; in si_setup_compute_scratch_buffer()495 si_resource_reference(&shader->scratch_bo, sctx->compute_scratch_buffer); in si_setup_compute_scratch_buffer()575 radeon_emit(sctx->compute_scratch_buffer->gpu_address >> 8); in si_switch_compute_shader()576 radeon_emit(sctx->compute_scratch_buffer->gpu_address >> 40); in si_switch_compute_shader()[all …]
1176 struct si_resource *compute_scratch_buffer; member
219 si_resource_reference(&sctx->compute_scratch_buffer, NULL); in si_destroy_context()