Searched refs:scratch_bo (Results 1 – 11 of 11) sorted by relevance
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_query.c | 133 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/ |
D | brw_program.c | 337 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()
|
D | brw_context.c | 1100 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()
|
D | brw_context.h | 625 struct brw_bo *scratch_bo; member 1428 struct brw_bo **scratch_bo, int size);
|
D | genX_state_upload.c | 1912 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/ |
D | radv_device.c | 982 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 …]
|
D | radv_private.h | 569 struct radeon_winsys_bo *scratch_bo; member
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_compute.c | 353 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()
|
D | si_shader.h | 594 struct r600_resource *scratch_bo; member
|
D | si_state_shaders.c | 2836 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()
|
D | si_shader.c | 8079 if (shader->scratch_bo) in si_shader_destroy() 8080 r600_resource_reference(&shader->scratch_bo, NULL); in si_shader_destroy()
|