Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_lower_abi.c46 s->args->ring_offsets; in load_ring()
48 nir_ssa_def *ring_offsets = ac_nir_load_arg(b, &s->args->ac, arg); in load_ring() local
49ring_offsets = nir_pack_64_2x32_split(b, nir_channel(b, ring_offsets, 0), nir_channel(b, ring_offs… in load_ring()
50 return nir_load_smem_amd(b, 4, ring_offsets, nir_imm_int(b, ring * 16u), .align_mul = 4u); in load_ring()
Dradv_shader_args.h40 struct ac_arg ring_offsets; member
Dradv_nir_to_llvm.c59 LLVMValueRef ring_offsets; member
176 ctx->ring_offsets = ac_build_intrinsic(&ctx->ac, "llvm.amdgcn.implicit.buffer.ptr", in create_function()
179 ctx->ring_offsets = LLVMBuildBitCast(ctx->ac.builder, ctx->ring_offsets, in create_function()
221 LLVMValueRef ptr = LLVMBuildGEP(ctx->ac.builder, ctx->ring_offsets, &index, 1, ""); in load_sample_position()
1222 ctx->esgs_ring = ac_build_load_to_sgpr(&ctx->ac, ctx->ring_offsets, offset); in ac_setup_rings()
1226 ctx->gsvs_ring[0] = ac_build_load_to_sgpr(&ctx->ac, ctx->ring_offsets, in ac_setup_rings()
1244 base_ring = ac_build_load_to_sgpr(&ctx->ac, ctx->ring_offsets, in ac_setup_rings()
1285 &ctx->ac, ctx->ring_offsets, LLVMConstInt(ctx->ac.i32, RING_HS_TESS_OFFCHIP, false)); in ac_setup_rings()
1287 &ctx->ac, ctx->ring_offsets, LLVMConstInt(ctx->ac.i32, RING_HS_TESS_FACTOR, false)); in ac_setup_rings()
Dradv_shader_args.c561 ac_add_arg(&args->ac, AC_ARG_SGPR, 2, AC_ARG_CONST_DESC_PTR, &args->ring_offsets); in radv_declare_shader_args()
908 ac_add_arg(&args->ac, AC_ARG_SGPR, 2, AC_ARG_CONST_DESC_PTR, &args->ring_offsets); in radv_declare_ps_epilog_args()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp11610 ctx->program->private_segment_buffer = get_arg(ctx, ctx->args->ring_offsets); in add_startpgm()