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? | |
Definition at line 40 of file tgsi_scan.h.
Definition at line 42 of file tgsi_scan.h.
Definition at line 44 of file tgsi_scan.h.
Definition at line 45 of file tgsi_scan.h.
| ubyte tgsi_shader_info::input_semantic_name[PIPE_MAX_SHADER_INPUTS] |
| 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] |
| 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] |
| uint tgsi_shader_info::file_count[TGSI_FILE_COUNT] |
| int tgsi_shader_info::file_max[TGSI_FILE_COUNT] |
| uint tgsi_shader_info::opcode_count[TGSI_OPCODE_LAST] |
1.5.4