
Data Fields | |
| void(* | transform_instruction )(struct tgsi_transform_context *ctx, struct tgsi_full_instruction *inst) |
| User-defined callbacks invoked per instruction. | |
| void(* | transform_declaration )(struct tgsi_transform_context *ctx, struct tgsi_full_declaration *decl) |
| void(* | transform_immediate )(struct tgsi_transform_context *ctx, struct tgsi_full_immediate *imm) |
| void(* | epilog )(struct tgsi_transform_context *ctx) |
| Called at end of input program to allow caller to append extra instructions. | |
| void(* | emit_instruction )(struct tgsi_transform_context *ctx, const struct tgsi_full_instruction *inst) |
| These are setup by tgsi_transform_shader() and cannot be overridden. | |
| void(* | emit_declaration )(struct tgsi_transform_context *ctx, const struct tgsi_full_declaration *decl) |
| void(* | emit_immediate )(struct tgsi_transform_context *ctx, const struct tgsi_full_immediate *imm) |
| struct tgsi_header * | header |
| uint | max_tokens_out |
| struct tgsi_token * | tokens_out |
| uint | ti |
Definition at line 41 of file tgsi_transform.h.
| void(* tgsi_transform_context::transform_instruction)(struct tgsi_transform_context *ctx, struct tgsi_full_instruction *inst) |
User-defined callbacks invoked per instruction.
| void(* tgsi_transform_context::transform_declaration)(struct tgsi_transform_context *ctx, struct tgsi_full_declaration *decl) |
| void(* tgsi_transform_context::transform_immediate)(struct tgsi_transform_context *ctx, struct tgsi_full_immediate *imm) |
| void(* tgsi_transform_context::epilog)(struct tgsi_transform_context *ctx) |
Called at end of input program to allow caller to append extra instructions.
Return number of tokens emitted.
| void(* tgsi_transform_context::emit_instruction)(struct tgsi_transform_context *ctx, const struct tgsi_full_instruction *inst) |
These are setup by tgsi_transform_shader() and cannot be overridden.
Meant to be called from in the above user callback functions.
| void(* tgsi_transform_context::emit_declaration)(struct tgsi_transform_context *ctx, const struct tgsi_full_declaration *decl) |
| void(* tgsi_transform_context::emit_immediate)(struct tgsi_transform_context *ctx, const struct tgsi_full_immediate *imm) |
struct tgsi_header* tgsi_transform_context::header [read] |
Definition at line 77 of file tgsi_transform.h.
Definition at line 78 of file tgsi_transform.h.
struct tgsi_token* tgsi_transform_context::tokens_out [read] |
Definition at line 79 of file tgsi_transform.h.
Definition at line 80 of file tgsi_transform.h.
1.5.4