diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-08-19 11:54:06 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-08-19 11:54:26 +0100 |
commit | 265e210edb2fdf0f6ae777635676f05613b38eb7 (patch) | |
tree | a55f2bb1afc89e546b7d32cf3513c1167a1a3e8d /src/gallium/drivers | |
parent | e327845e2b72936c60a143d46a52dbbe81afdd72 (diff) |
tgsi: add missing functionality to support instructions with labels
Could previously emit opcodes with label arguments, but was no way to
patch them with the actual destinations of those labels.
Adds two functions:
ureg_get_instruction_number - to get the id of the next instruction
to be emitted
ureg_fixup_label - to patch an emitted label to point to a given
instruction number.
Need some more complex examples than u_simple_shader, so far this has
only been compile-tested.
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions