summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_ureg.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-06-13 08:07:08 -0600
committerBrian Paul <[email protected]>2015-06-19 08:45:00 -0600
commit5ad5d44af57a815c6eb16d4d61070135acb55f37 (patch)
treedf5db1402670958384deb60b907c54f99c5fe31b /src/gallium/auxiliary/tgsi/tgsi_ureg.c
parent12c1c0706d4356819cfbaa15c3d71402a42e3539 (diff)
tgsi: add comments for ureg_emit_label()
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
index 0eaf1dfa7ae..201a849ef95 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
@@ -1069,6 +1069,12 @@ ureg_emit_insn(struct ureg_program *ureg,
}
+/**
+ * Emit a label token.
+ * \param label_token returns a token number indicating where the label
+ * needs to be patched later. Later, this value should be passed to the
+ * ureg_fixup_label() function.
+ */
void
ureg_emit_label(struct ureg_program *ureg,
unsigned extended_token,