• Home
  • Raw
  • Download

Lines Matching refs:nb

36       def = nir_cube_face_index_amd(&b->nb, vtn_get_nir_ssa(b, w[5]));  in vtn_handle_amd_gcn_shader_instruction()
39 def = nir_cube_face_coord_amd(&b->nb, vtn_get_nir_ssa(b, w[5])); in vtn_handle_amd_gcn_shader_instruction()
42 def = nir_pack_64_2x32(&b->nb, nir_shader_clock(&b->nb, NIR_SCOPE_SUBGROUP)); in vtn_handle_amd_gcn_shader_instruction()
82 nir_intrinsic_instr *intrin = nir_intrinsic_instr_create(b->nb.shader, op); in vtn_handle_amd_shader_ballot_instruction()
108 intrin->src[1] = nir_src_for_ssa(nir_imm_int(&b->nb, 0)); in vtn_handle_amd_shader_ballot_instruction()
111 nir_builder_instr_insert(&b->nb, &intrin->instr); in vtn_handle_amd_shader_ballot_instruction()
121 struct nir_builder *nb = &b->nb; in vtn_handle_amd_shader_trinary_minmax_instruction() local
140 def = nir_fmin(nb, src[0], nir_fmin(nb, src[1], src[2])); in vtn_handle_amd_shader_trinary_minmax_instruction()
143 def = nir_umin(nb, src[0], nir_umin(nb, src[1], src[2])); in vtn_handle_amd_shader_trinary_minmax_instruction()
146 def = nir_imin(nb, src[0], nir_imin(nb, src[1], src[2])); in vtn_handle_amd_shader_trinary_minmax_instruction()
149 def = nir_fmax(nb, src[0], nir_fmax(nb, src[1], src[2])); in vtn_handle_amd_shader_trinary_minmax_instruction()
152 def = nir_umax(nb, src[0], nir_umax(nb, src[1], src[2])); in vtn_handle_amd_shader_trinary_minmax_instruction()
155 def = nir_imax(nb, src[0], nir_imax(nb, src[1], src[2])); in vtn_handle_amd_shader_trinary_minmax_instruction()
158 def = nir_fmin(nb, nir_fmax(nb, src[0], nir_fmin(nb, src[1], src[2])), in vtn_handle_amd_shader_trinary_minmax_instruction()
159 nir_fmax(nb, src[1], src[2])); in vtn_handle_amd_shader_trinary_minmax_instruction()
162 def = nir_umin(nb, nir_umax(nb, src[0], nir_umin(nb, src[1], src[2])), in vtn_handle_amd_shader_trinary_minmax_instruction()
163 nir_umax(nb, src[1], src[2])); in vtn_handle_amd_shader_trinary_minmax_instruction()
166 def = nir_imin(nb, nir_imax(nb, src[0], nir_imin(nb, src[1], src[2])), in vtn_handle_amd_shader_trinary_minmax_instruction()
167 nir_imax(nb, src[1], src[2])); in vtn_handle_amd_shader_trinary_minmax_instruction()
192 nir_intrinsic_instr *intrin = nir_intrinsic_instr_create(b->nb.shader, op); in vtn_handle_amd_shader_explicit_vertex_parameter_instruction()
219 nir_builder_instr_insert(&b->nb, &intrin->instr); in vtn_handle_amd_shader_explicit_vertex_parameter_instruction()
224 def = nir_vector_extract(&b->nb, &intrin->dest.ssa, in vtn_handle_amd_shader_explicit_vertex_parameter_instruction()