Mesa (master): tgsi: add comments for ureg_emit_label()
Brian Paul
brianp at kemper.freedesktop.org
Fri Jun 19 17:21:39 UTC 2015
Module: Mesa
Branch: master
Commit: 5ad5d44af57a815c6eb16d4d61070135acb55f37
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ad5d44af57a815c6eb16d4d61070135acb55f37
Author: Brian Paul <brianp at vmware.com>
Date: Sat Jun 13 08:07:08 2015 -0600
tgsi: add comments for ureg_emit_label()
---
src/gallium/auxiliary/tgsi/tgsi_ureg.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
index 0eaf1df..201a849 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,
More information about the mesa-commit
mailing list