Home
last modified time | relevance | path

Searched refs:thread_id_in_tg (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_vs.c842 LLVMValueRef wave_id, thread_id_in_tg; in si_llvm_build_vs_prolog() local
845 thread_id_in_tg = 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()
876 thread_id_in_tg, in si_llvm_build_vs_prolog()
877 LLVMBuildAdd(builder, thread_id_in_tg, LLVMConstInt(ctx->ac.i32, 1, 0), ""), in si_llvm_build_vs_prolog()
878 LLVMBuildAdd(builder, thread_id_in_tg, LLVMConstInt(ctx->ac.i32, 2, 0), ""), in si_llvm_build_vs_prolog()
880 LLVMValueRef is_odd = LLVMBuildTrunc(ctx->ac.builder, thread_id_in_tg, ctx->ac.i1, ""); in si_llvm_build_vs_prolog()
894 LLVMBuildAdd(ctx->ac.builder, input_vgprs[2], thread_id_in_tg, ""); /* PrimID */ in si_llvm_build_vs_prolog()
[all …]
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4033 Temp thread_id_in_tg = thread_id_in_threadgroup(ctx); in ngg_gs_emit_vertex_lds_addr() local
4034 …Temp thread_vertices_addr = bld.v_mul24_imm(bld.def(v1), thread_id_in_tg, ctx->shader->info.gs.ver… in ngg_gs_emit_vertex_lds_addr()
11296 Temp thread_id_in_tg = thread_id_in_threadgroup(ctx); in ngg_nogs_export_vertices() local
11297 Temp addr = bld.v_mul24_imm(bld.def(v1), thread_id_in_tg, 4u); in ngg_nogs_export_vertices()