tgsi: add comments for ureg_emit_label()
authorBrian Paul <brianp@vmware.com>
Sat, 13 Jun 2015 14:07:08 +0000 (08:07 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 19 Jun 2015 14:45:00 +0000 (08:45 -0600)
src/gallium/auxiliary/tgsi/tgsi_ureg.c

index 0eaf1dfa7aedc4fe626e1994c1759f1050957d4a..201a849ef95dba2f0cd13fb2bd9020a18b57d3c6 100644 (file)
@@ -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,