* Program translation state
*/
struct i915_fp_compile {
- struct pipe_shader_state *shader;
+ const struct pipe_shader_state *shader;
struct vertex_info *vertex_info;
uint declarations[I915_PROGRAM_SIZE];
uint program[I915_PROGRAM_SIZE];
+ uint input_semantic_name[PIPE_MAX_SHADER_INPUTS];
+ uint input_semantic_index[PIPE_MAX_SHADER_INPUTS];
+
+ uint output_semantic_name[PIPE_MAX_SHADER_OUTPUTS];
+ uint output_semantic_index[PIPE_MAX_SHADER_OUTPUTS];
+
/** points into the i915->current.constants array: */
float (*constants)[4];
uint num_constants;
uint constant_flags[I915_MAX_CONSTANT]; /**< status of each constant */
- uint *csr; /* Cursor, points into program.
- */
-
- uint *decl; /* Cursor, points into declarations.
- */
+ uint *csr; /**< Cursor, points into program. */
- uint decl_s; /* flags for which s regs need to be decl'd */
- uint decl_t; /* flags for which t regs need to be decl'd */
+ uint *decl; /**< Cursor, points into declarations. */
- uint temp_flag; /* Tracks temporary regs which are in
- * use.
- */
+ uint decl_s; /**< flags for which s regs need to be decl'd */
+ uint decl_t; /**< flags for which t regs need to be decl'd */
- uint utemp_flag; /* Tracks TYPE_U temporary regs which are in
- * use.
- */
+ uint temp_flag; /**< Tracks temporary regs which are in use */
+ uint utemp_flag; /**< Tracks TYPE_U temporary regs which are in use */
uint nr_tex_indirect;
uint nr_tex_insn;