diff options
author | Zack Rusin <zackr@vmware.com> | 2009-12-14 16:34:07 -0500 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2009-12-14 16:35:09 -0500 |
commit | 3ff688ea299581e60caf5d6e1a464f68c717fe83 (patch) | |
tree | dcca338a1081b11a19bead6aed9053151e15b2a7 /src/gallium/auxiliary/tgsi/tgsi_transform.h | |
parent | 41b52aa3362665e08bdc2f75cc9bfdc4debc6eb0 (diff) |
tgsi: add properties and system value register
adds support for properties to all parts of the tgsi framework, plus
introduces a new register which will be used for system generated
values.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_transform.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_transform.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_transform.h b/src/gallium/auxiliary/tgsi/tgsi_transform.h index a121adbaef..818478e277 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_transform.h +++ b/src/gallium/auxiliary/tgsi/tgsi_transform.h @@ -53,6 +53,8 @@ struct tgsi_transform_context void (*transform_immediate)(struct tgsi_transform_context *ctx, struct tgsi_full_immediate *imm); + void (*transform_property)(struct tgsi_transform_context *ctx, + struct tgsi_full_property *prop); /** * Called at end of input program to allow caller to append extra @@ -73,6 +75,8 @@ struct tgsi_transform_context const struct tgsi_full_declaration *decl); void (*emit_immediate)(struct tgsi_transform_context *ctx, const struct tgsi_full_immediate *imm); + void (*emit_property)(struct tgsi_transform_context *ctx, + const struct tgsi_full_property *prop); struct tgsi_header *header; uint max_tokens_out; |