Searched refs:sgpr_idx (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/amd/vulkan/ |
D | radv_shader_args.c | 34 set_loc(struct radv_userdata_info *ud_info, uint8_t *sgpr_idx, in set_loc() argument 37 ud_info->sgpr_idx = *sgpr_idx; in set_loc() 39 *sgpr_idx += num_sgprs; in set_loc() 43 set_loc_shader(struct radv_shader_args *args, int idx, uint8_t *sgpr_idx, in set_loc_shader() argument 50 set_loc(ud_info, sgpr_idx, num_sgprs); in set_loc_shader() 54 set_loc_shader_ptr(struct radv_shader_args *args, int idx, uint8_t *sgpr_idx) in set_loc_shader_ptr() argument 58 set_loc_shader(args, idx, sgpr_idx, use_32bit_pointers ? 1 : 2); in set_loc_shader_ptr() 62 set_loc_desc(struct radv_shader_args *args, int idx, uint8_t *sgpr_idx) in set_loc_desc() argument 69 set_loc(ud_info, sgpr_idx, 1); in set_loc_desc() 449 args->shader_info->user_sgprs_locs.descriptor_sets[i].sgpr_idx = -1; in radv_declare_shader_args() [all …]
|
D | radv_cmd_buffer.c | 711 if (loc->sgpr_idx == -1) in radv_emit_userdata_address() 717 base_reg + loc->sgpr_idx * 4, va, false); in radv_emit_userdata_address() 741 unsigned sh_offset = sh_base + loc->sgpr_idx * 4; in radv_emit_descriptor_pointers() 941 if (loc->sgpr_idx == -1) in radv_emit_inline_push_consts() 946 radeon_set_sh_reg_seq(cmd_buffer->cs, base_reg + loc->sgpr_idx * 4, count); in radv_emit_inline_push_consts() 2855 if (loc->sgpr_idx == -1) in radv_emit_streamout_buffers() 2861 base_reg + loc->sgpr_idx * 4, va, false); in radv_emit_streamout_buffers() 2866 if (loc->sgpr_idx != -1) { in radv_emit_streamout_buffers() 2870 base_reg + loc->sgpr_idx * 4, va, false); in radv_emit_streamout_buffers() 2968 assert(loc->sgpr_idx != -1); in radv_flush_ngg_gs_state() [all …]
|
D | radv_shader.h | 197 int8_t sgpr_idx; member
|
D | radv_pipeline.c | 5158 if (loc->sgpr_idx != -1) { in radv_pipeline_init_shader_stages_state() 5160 pipeline->graphics.vtx_base_sgpr += loc->sgpr_idx * 4; in radv_pipeline_init_shader_stages_state()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_optimizer.cpp | 2482 uint32_t sgpr_idx = 0; in apply_sgprs() local 2490 sgpr_idx = i; in apply_sgprs() 2494 operand_mask &= ~(1u << sgpr_idx); in apply_sgprs() 2507 if (sgpr_idx == 0 || instr->isVOP3() || instr->isSDWA()) { in apply_sgprs() 2508 instr->operands[sgpr_idx] = Operand(sgpr); in apply_sgprs() 2510 instr->operands[sgpr_idx] = instr->operands[0]; in apply_sgprs() 2517 instr->operands[sgpr_idx] = Operand(sgpr); in apply_sgprs()
|