diff options
author | Keith Whitwell <[email protected]> | 2009-09-12 14:18:00 -0700 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-09-12 14:18:00 -0700 |
commit | c23894295b593b9a8561e9775199e1c78ea4435d (patch) | |
tree | 9381dd5604074ba3d5a53ed110320d56bea2579c /src/gallium/auxiliary/tgsi/tgsi_ureg.h | |
parent | ae4704eabc237e13c9b06df9c44f31c9baca6208 (diff) |
ureg: add generic emitters for tex and branch instructions
Couldn't previously emit these except by calling the opcode-specific helper.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h index 627a5b0c523..48aeaaf459d 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.h +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.h @@ -233,6 +233,24 @@ ureg_insn(struct ureg_program *ureg, unsigned nr_src ); +void +ureg_tex_insn(struct ureg_program *ureg, + unsigned opcode, + const struct ureg_dst *dst, + unsigned nr_dst, + unsigned target, + const struct ureg_src *src, + unsigned nr_src ); + + +void +ureg_label_insn(struct ureg_program *ureg, + unsigned opcode, + const struct ureg_src *src, + unsigned nr_src, + unsigned *label); + + /*********************************************************************** * Internal instruction helpers, don't call these directly: */ |