Home
last modified time | relevance | path

Searched refs:scratch_offset (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_reindex_ssa.cpp92 program->scratch_offset = in reindex_program()
93 Temp(ctx.renames[program->scratch_offset.id()], program->scratch_offset.regClass()); in reindex_program()
Daco_spill.cpp1393 load_scratch_resource(spill_ctx& ctx, Temp& scratch_offset, Block& block, in load_scratch_resource() argument
1424 scratch_offset = bld.sop2(aco_opcode::s_add_u32, bld.def(s1), bld.def(s1, scc), in load_scratch_resource()
1425 scratch_offset, Operand::c32(offset)); in load_scratch_resource()
1452 Temp scratch_offset = ctx.program->scratch_offset; in setup_vgpr_spill_reload() local
1462 load_scratch_resource(ctx, scratch_offset, block, instructions, saddr); in setup_vgpr_spill_reload()
1476 load_scratch_resource(ctx, scratch_offset, block, instructions, rsrc_offset); in setup_vgpr_spill_reload()
1513 ctx.program->scratch_offset, elem, offset, false, true); in spill_vgpr()
1522 ctx.program->scratch_offset, temp, offset, false, true); in spill_vgpr()
1554 Operand(v1), ctx.program->scratch_offset, offset, false, true); in reload_vgpr()
1564 Operand(v1), ctx.program->scratch_offset, offset, false, true); in reload_vgpr()
Daco_ir.h2101 Temp scratch_offset; variable
Daco_instruction_selection.cpp7630 info.soffset = ctx->program->scratch_offset; in visit_load_scratch()
7686 Instruction* mubuf = bld.mubuf(op, rsrc, offset, ctx->program->scratch_offset, in visit_store_scratch()
11612 ctx->program->scratch_offset = get_arg(ctx, ctx->args->ac.scratch_offset); in add_startpgm()
11615 Operand scratch_offset(ctx->program->scratch_offset); in add_startpgm() local
11616 scratch_offset.setLateKill(true); in add_startpgm()
11619 ctx->program->private_segment_buffer, scratch_offset); in add_startpgm()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_args.c612 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.scratch_offset); in radv_declare_shader_args()
645 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.scratch_offset); in radv_declare_shader_args()
660 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.scratch_offset); in radv_declare_shader_args()
688 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.scratch_offset); in radv_declare_shader_args()
712 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.scratch_offset); in radv_declare_shader_args()
729 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.scratch_offset); in radv_declare_shader_args()
782 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.scratch_offset); in radv_declare_shader_args()
803 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.scratch_offset); in radv_declare_shader_args()
910 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.scratch_offset); in radv_declare_ps_epilog_args()
Dradv_acceleration_structure.c1161 nir_ssa_def *scratch_offset = nir_channel(&b, pconst1, 1); in build_leaf_shader() local
1172 nir_u2u64(&b, nir_iadd(&b, scratch_offset, in build_leaf_shader()
2026 uint32_t scratch_offset; member
2218 bvh_states[i].scratch_offset = bvh_states[i].buffer_1_offset; in radv_CmdBuildAccelerationStructuresKHR()
2249 uint32_t src_scratch_offset = bvh_states[i].scratch_offset; in radv_CmdBuildAccelerationStructuresKHR()
2275 bvh_states[i].scratch_offset = dst_scratch_offset; in radv_CmdBuildAccelerationStructuresKHR()
/third_party/mesa3d/src/amd/common/
Dac_shader_args.h96 struct ac_arg scratch_offset; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_gs.c64 ret = si_insert_input_ret(ctx, ret, ctx->args.scratch_offset, 5); in si_set_es_return_value_for_gs()
Dsi_shader_llvm_tess.c549 ret = si_insert_input_ret(ctx, ret, ctx->args.scratch_offset, 5); in si_set_ls_return_value_for_tcs()
Dsi_shader.c489 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.scratch_offset); in si_init_shader_args()
562 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.scratch_offset); in si_init_shader_args()
/third_party/mesa3d/docs/relnotes/
D19.3.0.rst820 - aco: always set scratch_offset in startpgm