Lines Matching refs:ureg
109 ureg_get_tokens( struct ureg_program *ureg,
147 ureg_property_gs_input_prim(struct ureg_program *ureg,
151 ureg_property_gs_output_prim(struct ureg_program *ureg,
155 ureg_property_gs_max_vertices(struct ureg_program *ureg,
159 ureg_property_fs_coord_origin(struct ureg_program *ureg,
163 ureg_property_fs_coord_pixel_center(struct ureg_program *ureg,
167 ureg_property_fs_color0_writes_all_cbufs(struct ureg_program *ureg,
171 ureg_property_fs_depth_layout(struct ureg_program *ureg,
188 ureg_DECL_fs_input_cyl(struct ureg_program *ureg,
194 return ureg_DECL_fs_input_cyl_centroid(ureg,
203 ureg_DECL_fs_input(struct ureg_program *ureg,
208 return ureg_DECL_fs_input_cyl_centroid(ureg,
263 ureg_DECL_constant2D(struct ureg_program *ureg,
284 ureg_release_temporary( struct ureg_program *ureg,
313 ureg_imm4f( struct ureg_program *ureg,
322 return ureg_DECL_immediate( ureg, v, 4 );
326 ureg_imm3f( struct ureg_program *ureg,
334 return ureg_DECL_immediate( ureg, v, 3 );
338 ureg_imm2f( struct ureg_program *ureg,
344 return ureg_DECL_immediate( ureg, v, 2 );
348 ureg_imm1f( struct ureg_program *ureg,
353 return ureg_DECL_immediate( ureg, v, 1 );
357 ureg_imm4u( struct ureg_program *ureg,
366 return ureg_DECL_immediate_uint( ureg, v, 4 );
370 ureg_imm3u( struct ureg_program *ureg,
378 return ureg_DECL_immediate_uint( ureg, v, 3 );
382 ureg_imm2u( struct ureg_program *ureg,
388 return ureg_DECL_immediate_uint( ureg, v, 2 );
392 ureg_imm1u( struct ureg_program *ureg,
395 return ureg_DECL_immediate_uint( ureg, &a, 1 );
399 ureg_imm4i( struct ureg_program *ureg,
408 return ureg_DECL_immediate_int( ureg, v, 4 );
412 ureg_imm3i( struct ureg_program *ureg,
420 return ureg_DECL_immediate_int( ureg, v, 3 );
424 ureg_imm2i( struct ureg_program *ureg,
430 return ureg_DECL_immediate_int( ureg, v, 2 );
434 ureg_imm1i( struct ureg_program *ureg,
437 return ureg_DECL_immediate_int( ureg, &a, 1 );
449 ureg_get_instruction_number( struct ureg_program *ureg );
460 ureg_fixup_label(struct ureg_program *ureg,
469 ureg_insn(struct ureg_program *ureg,
478 ureg_tex_insn(struct ureg_program *ureg,
490 ureg_label_insn(struct ureg_program *ureg,
507 ureg_emit_insn(struct ureg_program *ureg,
520 ureg_emit_label(struct ureg_program *ureg,
525 ureg_emit_texture(struct ureg_program *ureg,
530 ureg_emit_texture_offset(struct ureg_program *ureg,
534 ureg_emit_dst( struct ureg_program *ureg,
538 ureg_emit_src( struct ureg_program *ureg,
542 ureg_fixup_insn_size(struct ureg_program *ureg,
547 static INLINE void ureg_##op( struct ureg_program *ureg ) \
550 unsigned insn = ureg_emit_insn(ureg, \
561 ureg_fixup_insn_size( ureg, insn ); \
565 static INLINE void ureg_##op( struct ureg_program *ureg, \
569 unsigned insn = ureg_emit_insn(ureg, \
580 ureg_emit_src( ureg, src ); \
581 ureg_fixup_insn_size( ureg, insn ); \
585 static INLINE void ureg_##op( struct ureg_program *ureg, \
590 insn = ureg_emit_insn(ureg, \
601 ureg_emit_label( ureg, insn.extended_token, label_token ); \
602 ureg_fixup_insn_size( ureg, insn.insn_token ); \
606 static INLINE void ureg_##op( struct ureg_program *ureg, \
612 insn = ureg_emit_insn(ureg, \
623 ureg_emit_label( ureg, insn.extended_token, label_token ); \
624 ureg_emit_src( ureg, src ); \
625 ureg_fixup_insn_size( ureg, insn.insn_token ); \
629 static INLINE void ureg_##op( struct ureg_program *ureg, \
633 unsigned insn = ureg_emit_insn(ureg, \
644 ureg_emit_dst( ureg, dst ); \
645 ureg_fixup_insn_size( ureg, insn ); \
650 static INLINE void ureg_##op( struct ureg_program *ureg, \
655 unsigned insn = ureg_emit_insn(ureg, \
666 ureg_emit_dst( ureg, dst ); \
667 ureg_emit_src( ureg, src ); \
668 ureg_fixup_insn_size( ureg, insn ); \
672 static INLINE void ureg_##op( struct ureg_program *ureg, \
678 unsigned insn = ureg_emit_insn(ureg, \
689 ureg_emit_dst( ureg, dst ); \
690 ureg_emit_src( ureg, src0 ); \
691 ureg_emit_src( ureg, src1 ); \
692 ureg_fixup_insn_size( ureg, insn ); \
696 static INLINE void ureg_##op( struct ureg_program *ureg, \
704 insn = ureg_emit_insn(ureg, \
715 ureg_emit_texture( ureg, insn.extended_token, target, 0 ); \
716 ureg_emit_dst( ureg, dst ); \
717 ureg_emit_src( ureg, src0 ); \
718 ureg_emit_src( ureg, src1 ); \
719 ureg_fixup_insn_size( ureg, insn.insn_token ); \
723 static INLINE void ureg_##op( struct ureg_program *ureg, \
730 unsigned insn = ureg_emit_insn(ureg, \
741 ureg_emit_dst( ureg, dst ); \
742 ureg_emit_src( ureg, src0 ); \
743 ureg_emit_src( ureg, src1 ); \
744 ureg_emit_src( ureg, src2 ); \
745 ureg_fixup_insn_size( ureg, insn ); \
749 static INLINE void ureg_##op( struct ureg_program *ureg, \
759 insn = ureg_emit_insn(ureg, \
770 ureg_emit_texture( ureg, insn.extended_token, target, 0 ); \
771 ureg_emit_dst( ureg, dst ); \
772 ureg_emit_src( ureg, src0 ); \
773 ureg_emit_src( ureg, src1 ); \
774 ureg_emit_src( ureg, src2 ); \
775 ureg_emit_src( ureg, src3 ); \
776 ureg_fixup_insn_size( ureg, insn.insn_token ); \
781 static INLINE void ureg_##op( struct ureg_program *ureg, \
789 unsigned insn = ureg_emit_insn(ureg, \
800 ureg_emit_dst( ureg, dst ); \
801 ureg_emit_src( ureg, src0 ); \
802 ureg_emit_src( ureg, src1 ); \
803 ureg_emit_src( ureg, src2 ); \
804 ureg_emit_src( ureg, src3 ); \
805 ureg_fixup_insn_size( ureg, insn ); \
810 static INLINE void ureg_##op( struct ureg_program *ureg
819 unsigned insn = ureg_emit_insn(ureg, \
830 ureg_emit_dst( ureg, dst ); \
831 ureg_emit_src( ureg, src0 ); \
832 ureg_emit_src( ureg, src1 ); \
833 ureg_emit_src( ureg, src2 ); \
834 ureg_emit_src( ureg, src3 ); \
835 ureg_emit_src( ureg, src4 ); \
836 ureg_fixup_insn_size( ureg, insn ); \