tgsi_shader_info Struct Reference

Shader summary info. More...


Data Fields

uint num_tokens
ubyte num_inputs
ubyte num_outputs
ubyte input_semantic_name [PIPE_MAX_SHADER_INPUTS]
 TGSI_SEMANTIC_x.
ubyte input_semantic_index [PIPE_MAX_SHADER_INPUTS]
ubyte output_semantic_name [PIPE_MAX_SHADER_OUTPUTS]
 TGSI_SEMANTIC_x.
ubyte output_semantic_index [PIPE_MAX_SHADER_OUTPUTS]
uint file_mask [TGSI_FILE_COUNT]
 bitmask of declared registers
uint file_count [TGSI_FILE_COUNT]
 number of declared registers
int file_max [TGSI_FILE_COUNT]
 highest index of declared registers
uint immediate_count
 number of immediates declared
uint opcode_count [TGSI_OPCODE_LAST]
 opcode histogram
boolean writes_z
 does fragment shader write Z value?
boolean uses_kill
 KIL or KILP instruction used?
boolean uses_fogcoord
 fragment shader uses fog coord?
boolean uses_frontfacing
 fragment shader uses front/back-face flag?


Detailed Description

Shader summary info.

Definition at line 40 of file tgsi_scan.h.


Field Documentation

uint tgsi_shader_info::num_tokens

Definition at line 42 of file tgsi_scan.h.

ubyte tgsi_shader_info::num_inputs

Definition at line 44 of file tgsi_scan.h.

ubyte tgsi_shader_info::num_outputs

Definition at line 45 of file tgsi_scan.h.

ubyte tgsi_shader_info::input_semantic_name[PIPE_MAX_SHADER_INPUTS]

TGSI_SEMANTIC_x.

Definition at line 46 of file tgsi_scan.h.

ubyte tgsi_shader_info::input_semantic_index[PIPE_MAX_SHADER_INPUTS]

Definition at line 47 of file tgsi_scan.h.

ubyte tgsi_shader_info::output_semantic_name[PIPE_MAX_SHADER_OUTPUTS]

TGSI_SEMANTIC_x.

Definition at line 48 of file tgsi_scan.h.

ubyte tgsi_shader_info::output_semantic_index[PIPE_MAX_SHADER_OUTPUTS]

Definition at line 49 of file tgsi_scan.h.

uint tgsi_shader_info::file_mask[TGSI_FILE_COUNT]

bitmask of declared registers

Definition at line 51 of file tgsi_scan.h.

uint tgsi_shader_info::file_count[TGSI_FILE_COUNT]

number of declared registers

Definition at line 52 of file tgsi_scan.h.

int tgsi_shader_info::file_max[TGSI_FILE_COUNT]

highest index of declared registers

Definition at line 53 of file tgsi_scan.h.

uint tgsi_shader_info::immediate_count

number of immediates declared

Definition at line 55 of file tgsi_scan.h.

uint tgsi_shader_info::opcode_count[TGSI_OPCODE_LAST]

opcode histogram

Definition at line 57 of file tgsi_scan.h.

boolean tgsi_shader_info::writes_z

does fragment shader write Z value?

Definition at line 59 of file tgsi_scan.h.

boolean tgsi_shader_info::uses_kill

KIL or KILP instruction used?

Definition at line 60 of file tgsi_scan.h.

boolean tgsi_shader_info::uses_fogcoord

fragment shader uses fog coord?

Definition at line 61 of file tgsi_scan.h.

boolean tgsi_shader_info::uses_frontfacing

fragment shader uses front/back-face flag?

Definition at line 62 of file tgsi_scan.h.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 29 06:26:07 2009 for Gallium3D by  doxygen 1.5.4