Home
last modified time | relevance | path

Searched refs:scratch_bo (Results 1 - 9 of 9) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_query.c134 struct fd_bo *scratch_bo = fd4_context(batch->ctx)->vsc_size_mem; variable
172 OUT_RELOC(ring, scratch_bo, sample_off, 0, 0);
186 OUT_RELOC(ring, scratch_bo, addr_off, 0, 0);
194 OUT_RELOC(ring, scratch_bo, addr_off, 0, 0);
199 OUT_RELOC(ring, scratch_bo, addr_off, 0, 0);
206 OUT_RELOC(ring, scratch_bo, sample_off, 0, 0);
211 OUT_RELOC(ring, scratch_bo, sample_off + 0x4, 0, 0);
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_compute.c488 if (sctx->compute_scratch_buffer != shader->scratch_bo && scratch_needed) { in si_setup_compute_scratch_buffer()
495 si_resource_reference(&shader->scratch_bo, sctx->compute_scratch_buffer); in si_setup_compute_scratch_buffer()
550 if (shader->scratch_bo) { in si_switch_compute_shader()
551 radeon_add_to_buffer_list(sctx, &sctx->gfx_cs, shader->scratch_bo, in si_switch_compute_shader()
573 if (sctx->gfx_level >= GFX11 && shader->scratch_bo) { in si_switch_compute_shader()
H A Dsi_shader.h852 struct si_resource *scratch_bo; member
H A Dsi_shader.c2504 assert(!sel->main_shader_part->gs_copy_shader->scratch_bo); in si_create_shader_variant()
2632 if (shader->scratch_bo) in si_shader_destroy()
2633 si_resource_reference(&shader->scratch_bo, NULL); in si_shader_destroy()
H A Dsi_state_shaders.cpp3950 * - si_shader::scratch_bo
3958 if (shader->scratch_bo == sctx->scratch_buffer) {
3974 si_resource_reference(&shader->scratch_bo, sctx->scratch_buffer);
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_device.c2880 if (queue->scratch_bo) in radv_queue_state_finish()
2881 ws->buffer_destroy(ws, queue->scratch_bo); in radv_queue_state_finish()
4201 struct radeon_winsys_bo *scratch_bo) in radv_emit_graphics_scratch()
4205 if (!scratch_bo) in radv_emit_graphics_scratch()
4208 radv_cs_add_buffer(device->ws, cs, scratch_bo); in radv_emit_graphics_scratch()
4211 uint64_t va = radv_buffer_get_va(scratch_bo); in radv_emit_graphics_scratch()
4358 struct radeon_winsys_bo *scratch_bo = queue->scratch_bo; in radv_update_preamble_cs() local
4379 RADV_BO_PRIORITY_SCRATCH, 0, &scratch_bo); in radv_update_preamble_cs()
4475 scratch_bo ! in radv_update_preamble_cs()
4199 radv_emit_graphics_scratch(struct radv_device *device, struct radeon_cmdbuf *cs, uint32_t size_per_wave, uint32_t waves, struct radeon_winsys_bo *scratch_bo) radv_emit_graphics_scratch() argument
[all...]
H A Dradv_private.h747 struct radeon_winsys_bo *scratch_bo;
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_program.c2417 struct iris_bo *scratch_bo = in iris_get_scratch_surf() local
2424 .address = scratch_bo->address, in iris_get_scratch_surf()
2425 .size_B = scratch_bo->size, in iris_get_scratch_surf()
2428 .mocs = iris_mocs(scratch_bo, &screen->isl_dev, 0), in iris_get_scratch_surf()
H A Diris_state.c5247 struct iris_bo *scratch_bo = in pin_scratch_space() local
5249 iris_use_pinned_bo(batch, scratch_bo, true, IRIS_DOMAIN_NONE); in pin_scratch_space()
5261 scratch_addr = scratch_bo->address; in pin_scratch_space()

Completed in 40 milliseconds