Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_query.c133 struct fd_bo *scratch_bo = fd4_context(batch->ctx)->vsc_size_mem; in time_elapsed_get_sample() local
171 OUT_RELOCW(ring, scratch_bo, sample_off, 0, 0); in time_elapsed_get_sample()
185 OUT_RELOCW(ring, scratch_bo, addr_off, 0, 0); in time_elapsed_get_sample()
193 OUT_RELOCW(ring, scratch_bo, addr_off, 0, 0); in time_elapsed_get_sample()
198 OUT_RELOC(ring, scratch_bo, addr_off, 0, 0); in time_elapsed_get_sample()
205 OUT_RELOC(ring, scratch_bo, sample_off, 0, 0); in time_elapsed_get_sample()
210 OUT_RELOC(ring, scratch_bo, sample_off + 0x4, 0, 0); in time_elapsed_get_sample()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.c337 struct brw_bo **scratch_bo, int size) in brw_get_scratch_bo() argument
339 struct brw_bo *old_bo = *scratch_bo; in brw_get_scratch_bo()
347 *scratch_bo = brw_bo_alloc(brw->bufmgr, "scratch bo", size, 4096); in brw_get_scratch_bo()
365 if (stage_state->scratch_bo) in brw_alloc_stage_scratch()
366 brw_bo_unreference(stage_state->scratch_bo); in brw_alloc_stage_scratch()
440 stage_state->scratch_bo = in brw_alloc_stage_scratch()
Dbrw_context.c1100 brw_bo_unreference(brw->vs.base.scratch_bo); in intelDestroyContext()
1101 brw_bo_unreference(brw->tcs.base.scratch_bo); in intelDestroyContext()
1102 brw_bo_unreference(brw->tes.base.scratch_bo); in intelDestroyContext()
1103 brw_bo_unreference(brw->gs.base.scratch_bo); in intelDestroyContext()
1104 brw_bo_unreference(brw->wm.base.scratch_bo); in intelDestroyContext()
Dbrw_context.h625 struct brw_bo *scratch_bo; member
1428 struct brw_bo **scratch_bo, int size);
DgenX_state_upload.c1912 wm.ScratchSpaceBasePointer = rw_bo(stage_state->scratch_bo, 0);
2040 pkt.ScratchSpaceBasePointer = rw_bo(stage_state->scratch_bo, 0); \
3905 rw_bo(stage_state->scratch_bo,
4224 vfe.ScratchSpaceBasePointer = rw_bo(stage_state->scratch_bo, 0);
/external/mesa3d/src/amd/vulkan/
Dradv_device.c982 if (queue->scratch_bo) in radv_queue_finish()
983 queue->device->ws->buffer_destroy(queue->scratch_bo); in radv_queue_finish()
1506 struct radeon_winsys_bo *scratch_bo = NULL; in radv_get_preamble_cs() local
1548 scratch_bo = queue->device->ws->buffer_create(queue->device->ws, in radv_get_preamble_cs()
1553 if (!scratch_bo) in radv_get_preamble_cs()
1556 scratch_bo = queue->scratch_bo; in radv_get_preamble_cs()
1616 if (scratch_bo != queue->scratch_bo || in radv_get_preamble_cs()
1628 else if (scratch_bo) in radv_get_preamble_cs()
1652 if (scratch_bo) in radv_get_preamble_cs()
1653 radv_cs_add_buffer(queue->device->ws, cs, scratch_bo, 8); in radv_get_preamble_cs()
[all …]
Dradv_private.h569 struct radeon_winsys_bo *scratch_bo; member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c353 if (sctx->compute_scratch_buffer != shader->scratch_bo && scratch_needed) { in si_setup_compute_scratch_buffer()
361 r600_resource_reference(&shader->scratch_bo, in si_setup_compute_scratch_buffer()
417 if (shader->scratch_bo) { in si_switch_compute_shader()
425 shader->scratch_bo, RADEON_USAGE_READWRITE, in si_switch_compute_shader()
Dsi_shader.h594 struct r600_resource *scratch_bo; member
Dsi_state_shaders.c2836 if (shader->scratch_bo == sctx->scratch_buffer) { in si_update_scratch_buffer()
2858 r600_resource_reference(&shader->scratch_bo, sctx->scratch_buffer); in si_update_scratch_buffer()
Dsi_shader.c8079 if (shader->scratch_bo) in si_shader_destroy()
8080 r600_resource_reference(&shader->scratch_bo, NULL); in si_shader_destroy()