• Home
  • Raw
  • Download

Lines Matching refs:vs_b

421 nir_ssa_def *radv_meta_gen_rect_vertices_comp2(nir_builder *vs_b, nir_ssa_def *comp2)  in radv_meta_gen_rect_vertices_comp2()  argument
424 …nir_intrinsic_instr *vertex_id = nir_intrinsic_instr_create(vs_b->shader, nir_intrinsic_load_verte… in radv_meta_gen_rect_vertices_comp2()
426 nir_builder_instr_insert(vs_b, &vertex_id->instr); in radv_meta_gen_rect_vertices_comp2()
434 nir_ssa_def *c0cmp = nir_ine(vs_b, &vertex_id->dest.ssa, in radv_meta_gen_rect_vertices_comp2()
435 nir_imm_int(vs_b, 2)); in radv_meta_gen_rect_vertices_comp2()
436 nir_ssa_def *c1cmp = nir_ine(vs_b, &vertex_id->dest.ssa, in radv_meta_gen_rect_vertices_comp2()
437 nir_imm_int(vs_b, 1)); in radv_meta_gen_rect_vertices_comp2()
440 comp[0] = nir_bcsel(vs_b, c0cmp, in radv_meta_gen_rect_vertices_comp2()
441 nir_imm_float(vs_b, -1.0), in radv_meta_gen_rect_vertices_comp2()
442 nir_imm_float(vs_b, 1.0)); in radv_meta_gen_rect_vertices_comp2()
444 comp[1] = nir_bcsel(vs_b, c1cmp, in radv_meta_gen_rect_vertices_comp2()
445 nir_imm_float(vs_b, -1.0), in radv_meta_gen_rect_vertices_comp2()
446 nir_imm_float(vs_b, 1.0)); in radv_meta_gen_rect_vertices_comp2()
448 comp[3] = nir_imm_float(vs_b, 1.0); in radv_meta_gen_rect_vertices_comp2()
449 nir_ssa_def *outvec = nir_vec(vs_b, comp, 4); in radv_meta_gen_rect_vertices_comp2()
454 nir_ssa_def *radv_meta_gen_rect_vertices(nir_builder *vs_b) in radv_meta_gen_rect_vertices() argument
456 return radv_meta_gen_rect_vertices_comp2(vs_b, nir_imm_float(vs_b, 0.0)); in radv_meta_gen_rect_vertices()