Home
last modified time | relevance | path

Searched refs:scratch_va (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c464 uint64_t scratch_va = sctx->compute_scratch_buffer->gpu_address; in si_setup_compute_scratch_buffer() local
466 if (!si_shader_binary_upload(sctx->screen, shader, scratch_va)) in si_setup_compute_scratch_buffer()
572 uint64_t scratch_va = sctx->compute_scratch_buffer->gpu_address; in setup_scratch_rsrc_user_sgprs() local
577 uint32_t scratch_dword0 = scratch_va & 0xffffffff; in setup_scratch_rsrc_user_sgprs()
579 S_008F04_BASE_ADDRESS_HI(scratch_va >> 32) | S_008F04_SWIZZLE_ENABLE(1); in setup_scratch_rsrc_user_sgprs()
Dsi_shader.c836 uint64_t *scratch_va = data; in si_get_external_symbol() local
839 *value = (uint32_t)*scratch_va; in si_get_external_symbol()
844 *value = S_008F04_BASE_ADDRESS_HI(*scratch_va >> 32) | S_008F04_SWIZZLE_ENABLE(1); in si_get_external_symbol()
852 uint64_t scratch_va) in si_shader_binary_upload() argument
871 u.cb_data = &scratch_va; in si_shader_binary_upload()
Dsi_shader.h900 uint64_t scratch_va);
Dsi_state_shaders.c3729 uint64_t scratch_va = sctx->scratch_buffer->gpu_address; in si_update_scratch_buffer() local
3755 if (!si_shader_binary_upload(sctx->screen, shader, scratch_va)) { in si_update_scratch_buffer()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c3656 uint64_t scratch_va; in radv_emit_compute_scratch() local
3661 scratch_va = radv_buffer_get_va(compute_scratch_bo); in radv_emit_compute_scratch()
3666 radeon_emit(cs, scratch_va); in radv_emit_compute_scratch()
3667 radeon_emit(cs, S_008F04_BASE_ADDRESS_HI(scratch_va >> 32) | S_008F04_SWIZZLE_ENABLE(1)); in radv_emit_compute_scratch()
3925 uint64_t scratch_va = radv_buffer_get_va(scratch_bo); in radv_get_preamble_cs() local
3926 uint32_t rsrc1 = S_008F04_BASE_ADDRESS_HI(scratch_va >> 32) | S_008F04_SWIZZLE_ENABLE(1); in radv_get_preamble_cs()
3927 map[0] = scratch_va; in radv_get_preamble_cs()