Lines Matching refs:ureg
112 ureg_set_next_shader_processor(struct ureg_program *ureg, unsigned processor);
118 ureg_get_tokens( struct ureg_program *ureg,
125 ureg_get_nr_outputs( const struct ureg_program *ureg );
162 ureg_property(struct ureg_program *ureg, unsigned name, unsigned value);
192 ureg_DECL_fs_input_cyl(struct ureg_program *ureg, in ureg_DECL_fs_input_cyl() argument
198 return ureg_DECL_fs_input_cyl_centroid(ureg, in ureg_DECL_fs_input_cyl()
207 ureg_DECL_fs_input(struct ureg_program *ureg, in ureg_DECL_fs_input() argument
212 return ureg_DECL_fs_input_cyl_centroid(ureg, in ureg_DECL_fs_input()
268 ureg_DECL_output_array(struct ureg_program *ureg,
310 ureg_DECL_constant2D(struct ureg_program *ureg,
320 ureg_DECL_hw_atomic(struct ureg_program *ureg,
346 ureg_release_temporary( struct ureg_program *ureg,
371 ureg_DECL_image(struct ureg_program *ureg,
379 ureg_DECL_buffer(struct ureg_program *ureg, unsigned nr, bool atomic);
382 ureg_DECL_memory(struct ureg_program *ureg, unsigned memory_type);
385 ureg_imm4f( struct ureg_program *ureg, in ureg_imm4f() argument
394 return ureg_DECL_immediate( ureg, v, 4 ); in ureg_imm4f()
398 ureg_imm3f( struct ureg_program *ureg, in ureg_imm3f() argument
406 return ureg_DECL_immediate( ureg, v, 3 ); in ureg_imm3f()
410 ureg_imm2f( struct ureg_program *ureg, in ureg_imm2f() argument
416 return ureg_DECL_immediate( ureg, v, 2 ); in ureg_imm2f()
420 ureg_imm1f( struct ureg_program *ureg, in ureg_imm1f() argument
425 return ureg_DECL_immediate( ureg, v, 1 ); in ureg_imm1f()
429 ureg_imm4u( struct ureg_program *ureg, in ureg_imm4u() argument
438 return ureg_DECL_immediate_uint( ureg, v, 4 ); in ureg_imm4u()
442 ureg_imm3u( struct ureg_program *ureg, in ureg_imm3u() argument
450 return ureg_DECL_immediate_uint( ureg, v, 3 ); in ureg_imm3u()
454 ureg_imm2u( struct ureg_program *ureg, in ureg_imm2u() argument
460 return ureg_DECL_immediate_uint( ureg, v, 2 ); in ureg_imm2u()
464 ureg_imm1u( struct ureg_program *ureg, in ureg_imm1u() argument
467 return ureg_DECL_immediate_uint( ureg, &a, 1 ); in ureg_imm1u()
471 ureg_imm4i( struct ureg_program *ureg, in ureg_imm4i() argument
480 return ureg_DECL_immediate_int( ureg, v, 4 ); in ureg_imm4i()
484 ureg_imm3i( struct ureg_program *ureg, in ureg_imm3i() argument
492 return ureg_DECL_immediate_int( ureg, v, 3 ); in ureg_imm3i()
496 ureg_imm2i( struct ureg_program *ureg, in ureg_imm2i() argument
502 return ureg_DECL_immediate_int( ureg, v, 2 ); in ureg_imm2i()
506 ureg_imm1i( struct ureg_program *ureg, in ureg_imm1i() argument
509 return ureg_DECL_immediate_int( ureg, &a, 1 ); in ureg_imm1i()
531 ureg_get_instruction_number( struct ureg_program *ureg );
542 ureg_fixup_label(struct ureg_program *ureg,
551 ureg_insn(struct ureg_program *ureg,
561 ureg_tex_insn(struct ureg_program *ureg,
574 ureg_memory_insn(struct ureg_program *ureg,
594 ureg_emit_insn(struct ureg_program *ureg,
602 ureg_emit_label(struct ureg_program *ureg,
607 ureg_emit_texture(struct ureg_program *ureg,
612 ureg_emit_texture_offset(struct ureg_program *ureg,
616 ureg_emit_memory(struct ureg_program *ureg,
623 ureg_emit_dst( struct ureg_program *ureg,
627 ureg_emit_src( struct ureg_program *ureg,
631 ureg_fixup_insn_size(struct ureg_program *ureg,
636 static inline void ureg_##op( struct ureg_program *ureg ) \
640 insn = ureg_emit_insn(ureg, \
646 ureg_fixup_insn_size( ureg, insn.insn_token ); \
650 static inline void ureg_##op( struct ureg_program *ureg, \
655 insn = ureg_emit_insn(ureg, \
661 ureg_emit_src( ureg, src ); \
662 ureg_fixup_insn_size( ureg, insn.insn_token ); \
666 static inline void ureg_##op( struct ureg_program *ureg, \
671 insn = ureg_emit_insn(ureg, \
677 ureg_emit_label( ureg, insn.extended_token, label_token ); \
678 ureg_fixup_insn_size( ureg, insn.insn_token ); \
682 static inline void ureg_##op( struct ureg_program *ureg, \
688 insn = ureg_emit_insn(ureg, \
694 ureg_emit_label( ureg, insn.extended_token, label_token ); \
695 ureg_emit_src( ureg, src ); \
696 ureg_fixup_insn_size( ureg, insn.insn_token ); \
700 static inline void ureg_##op( struct ureg_program *ureg, \
707 insn = ureg_emit_insn(ureg, \
713 ureg_emit_dst( ureg, dst ); \
714 ureg_fixup_insn_size( ureg, insn.insn_token ); \
719 static inline void ureg_##op( struct ureg_program *ureg, \
727 insn = ureg_emit_insn(ureg, \
733 ureg_emit_dst( ureg, dst ); \
734 ureg_emit_src( ureg, src ); \
735 ureg_fixup_insn_size( ureg, insn.insn_token ); \
739 static inline void ureg_##op( struct ureg_program *ureg, \
748 insn = ureg_emit_insn(ureg, \
754 ureg_emit_dst( ureg, dst ); \
755 ureg_emit_src( ureg, src0 ); \
756 ureg_emit_src( ureg, src1 ); \
757 ureg_fixup_insn_size( ureg, insn.insn_token ); \
761 static inline void ureg_##op( struct ureg_program *ureg, \
772 insn = ureg_emit_insn(ureg, \
778 ureg_emit_texture( ureg, insn.extended_token, target, \
780 ureg_emit_dst( ureg, dst ); \
781 ureg_emit_src( ureg, src0 ); \
782 ureg_emit_src( ureg, src1 ); \
783 ureg_fixup_insn_size( ureg, insn.insn_token ); \
787 static inline void ureg_##op( struct ureg_program *ureg, \
797 insn = ureg_emit_insn(ureg, \
803 ureg_emit_dst( ureg, dst ); \
804 ureg_emit_src( ureg, src0 ); \
805 ureg_emit_src( ureg, src1 ); \
806 ureg_emit_src( ureg, src2 ); \
807 ureg_fixup_insn_size( ureg, insn.insn_token ); \
811 static inline void ureg_##op( struct ureg_program *ureg, \
824 insn = ureg_emit_insn(ureg, \
830 ureg_emit_texture( ureg, insn.extended_token, target, \
832 ureg_emit_dst( ureg, dst ); \
833 ureg_emit_src( ureg, src0 ); \
834 ureg_emit_src( ureg, src1 ); \
835 ureg_emit_src( ureg, src2 ); \
836 ureg_emit_src( ureg, src3 ); \
837 ureg_fixup_insn_size( ureg, insn.insn_token ); \