Home
last modified time | relevance | path

Searched refs:ac_build_imad (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c163 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_image_desc()
194 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), ctx->ac.i32_1); in si_load_sampler_desc()
199 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_sampler_desc()
203 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), in si_load_sampler_desc()
Dsi_shader_llvm_tess.c126 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_offset); in get_tcs_out_current_patch_offset()
135 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_patch_data_offset); in get_tcs_out_current_patch_data_offset()
179 base_addr = ac_build_imad(&ctx->ac, vertex_index, vertex_dw_stride, base_addr); in get_dw_address_from_generic_indices()
183 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
227 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, vertices_per_patch, vertex_index); in get_tcs_tes_buffer_address()
234 base_addr = ac_build_imad(&ctx->ac, param_index, param_stride, base_addr); in get_tcs_tes_buffer_address()
658 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride, lds_base); in si_copy_tcs_inputs()
Dsi_shader_llvm_vs.c344 so_write_offset[i] = ac_build_imad( in si_llvm_emit_streamout()
846 ac_build_imad(&ctx->ac, wave_id, LLVMConstInt(ctx->ac.i32, ctx->ac.wave_size, false), in si_llvm_build_vs_prolog()
862 input_vgprs[0] = ac_build_imad(&ctx->ac, thread_id_in_tg, /* gs_vtx01_offset */ in si_llvm_build_vs_prolog()
865 input_vgprs[1] = ac_build_imad(&ctx->ac, thread_id_in_tg, /* gs_vtx23_offset */ in si_llvm_build_vs_prolog()
868 input_vgprs[4] = ac_build_imad(&ctx->ac, thread_id_in_tg, /* gs_vtx45_offset */ in si_llvm_build_vs_prolog()
Dsi_compute_prim_discard.c400 LLVMValueRef global_thread_id = ac_build_imad(&ctx->ac, ac_get_arg(&ctx->ac, param_block_id), in si_build_prim_discard_compute_shader()
430 index[i] = ac_build_imad(&ctx->ac, prim_id, LLVMConstInt(ctx->ac.i32, 3, 0), in si_build_prim_discard_compute_shader()
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.h430 LLVMValueRef ac_build_imad(struct ac_llvm_context *ctx, LLVMValueRef s0, LLVMValueRef s1,
Dac_llvm_build.c2401 LLVMValueRef ac_build_imad(struct ac_llvm_context *ctx, LLVMValueRef s0, LLVMValueRef s1, in ac_build_imad() function
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c219 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, in get_tcs_out_current_patch_offset()
231 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, in get_tcs_out_current_patch_data_offset()
373 offset = ac_build_imad(&ctx->ac, index, stride, offset); in radv_load_resource()
439 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, in get_tcs_tes_buffer_address()
1676 ac_build_imad(&ctx->ac, so_write_index, in radv_emit_streamout()