Home
last modified time | relevance | path

Searched refs:uav_id (Results 1 – 17 of 17) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_gds.cpp33 const PValue& value2, const PValue& uav_id, int uav_base): in GDSInstr() argument
42 m_uav_id(uav_id),
54 const PValue& uav_id, int uav_base): in GDSInstr() argument
55 GDSInstr(op, dest, value, PValue(), uav_id, uav_base) in GDSInstr()
63 const PValue& uav_id, int uav_base): in GDSInstr() argument
64 GDSInstr(op, dest, PValue(), PValue(), uav_id, uav_base) in GDSInstr()
Dsfn_instruction_gds.h40 const PValue &uav_id, int uav_base);
42 const PValue& value2, const PValue &uav_id, int uav_base);
43 GDSInstr(ESDOp op, const GPRVector& dest, const PValue &uav_id, int uav_base);
79 PValue uav_id() const {return m_uav_id;} in uav_id() function
Dsfn_emitssboinstruction.cpp129 PValue uav_id = from_nir(instr->src[0], 0); in emit_atomic() local
136 ir = new GDSInstr(op, dest, value, value2, uav_id, base); in emit_atomic()
138 ir = new GDSInstr(op, dest, value, uav_id, base); in emit_atomic()
156 PValue uav_id = from_nir(instr->src[0], 0); in emit_unary_atomic() local
158 auto ir = new GDSInstr(op, dest, uav_id, remap_atomic_base(nir_intrinsic_base(instr))); in emit_unary_atomic()
319 PValue uav_id = from_nir(instr->src[0], 0); in emit_atomic_inc() local
322 m_atomic_update, uav_id, in emit_atomic_inc()
332 PValue uav_id = from_nir(instr->src[0], 0); in emit_atomic_pre_dec() local
334 auto ir = new GDSInstr(DS_OP_SUB_RET, dest, m_atomic_update, uav_id, in emit_atomic_pre_dec()
Dsfn_ir_to_assembly.cpp854 auto addr = instr.uav_id(); in visit()
866 gds.uav_id = (uav_idx >= 0 ? uav_idx : 0) + instr.uav_base(); in visit()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.h73 unsigned uav_id; member
93 int uav_id; member
Dclc_compiler.c446 const struct clc_kernel_info *kerninfo, unsigned *uav_id) in clc_lower_constant_to_ssbo() argument
451 var->data.binding = (*uav_id)++; in clc_lower_constant_to_ssbo()
976 unsigned uav_id = 0; in clc_spirv_to_dxil() local
992 metadata->args[i].globconstptr.buf_id = uav_id++; in clc_spirv_to_dxil()
1006 unsigned num_global_inputs = uav_id; in clc_spirv_to_dxil()
1020 metadata->args[i].image.buf_ids[0] = uav_id++; in clc_spirv_to_dxil()
1056 struct clc_image_lower_context image_lower_context = { metadata, &srv_id, &uav_id }; in clc_spirv_to_dxil()
1071 NIR_PASS_V(nir, clc_lower_constant_to_ssbo, out_dxil->kernel, &uav_id); in clc_spirv_to_dxil()
1075 NIR_PASS(has_printf, nir, clc_lower_printf_base, uav_id); in clc_spirv_to_dxil()
1076 metadata->printf.uav_id = has_printf ? uav_id++ : -1; in clc_spirv_to_dxil()
[all …]
Dclc_nir.c238 add_printf_var(struct nir_shader *nir, unsigned uav_id) in add_printf_var() argument
247 var->data.binding = uav_id; in add_printf_var()
252 clc_lower_printf_base(nir_shader *nir, unsigned uav_id) in clc_lower_printf_base() argument
271 printf_var = add_printf_var(nir, uav_id); in clc_lower_printf_base()
Dclc_nir.h34 bool clc_lower_printf_base(nir_shader *nir, unsigned uav_id);
Dcompute_test.cpp551 if (dxil->metadata.printf.uav_id > 0) in run_shader_with_raw_args()
552 add_uav_resource(resources, 0, dxil->metadata.printf.uav_id, NULL, 1024 * 1024 / 4, 4); in run_shader_with_raw_args()
555 add_uav_resource(resources, 0, dxil->metadata.consts[i].uav_id, in run_shader_with_raw_args()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_asm.h152 unsigned uav_id; member
Deg_asm.c248 S_SQ_MEM_GDS_WORD1_UAV_ID(gds->uav_id) | in eg_bytecode_gds_build()
Dr600_shader.c8671 int uav_id, uav_index_mode = 0; in tgsi_set_gds_temp() local
8675 uav_id = find_hw_atomic_counter(ctx, &inst->Src[0]); in tgsi_set_gds_temp()
8697 V_SQ_ALU_SRC_LITERAL, uav_id * 4); in tgsi_set_gds_temp()
8705 V_SQ_ALU_SRC_LITERAL, uav_id * 4, in tgsi_set_gds_temp()
8710 *uav_id_p = uav_id; in tgsi_set_gds_temp()
8720 int uav_id = 0; in tgsi_load_gds() local
8724 r = tgsi_set_gds_temp(ctx, &uav_id, &uav_index_mode); in tgsi_load_gds()
8731 gds.uav_id = is_cm ? 0 : uav_id; in tgsi_load_gds()
9382 int uav_id = 0; in tgsi_atomic_op_gds() local
9391 r = tgsi_set_gds_temp(ctx, &uav_id, &uav_index_mode); in tgsi_atomic_op_gds()
[all …]
Dr600_asm.c2444 o += fprintf(stderr, " UAV: %d", gds->uav_id); in r600_bytecode_disasm()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_dump.cpp515 s << " UAV:" << n.bc.uav_id; in dump()
Dsb_bc.h619 unsigned uav_id:4; member
Dsb_bc_builder.cpp591 .UAV_ID(bc.uav_id) in build_fetch_gds()
Dsb_bc_decoder.cpp524 bc.uav_id = w1.get_UAV_ID(); in decode_fetch_gds()