X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fpipe%2Fi915simple%2Fi915_fpc.h;h=c25f5abf0eaf1fc503ae194d7158e790c1c9c710;hb=d0bca086ab6d032909e9a429720fea297c536f97;hp=7bbfc69d2932f6a25373a8f21ba7d8a9eb0ba432;hpb=d3eb25c575464bed7dbfc8be4717d85cb2928ec1;p=mesa.git diff --git a/src/mesa/pipe/i915simple/i915_fpc.h b/src/mesa/pipe/i915simple/i915_fpc.h index 7bbfc69d293..c25f5abf0ea 100644 --- a/src/mesa/pipe/i915simple/i915_fpc.h +++ b/src/mesa/pipe/i915simple/i915_fpc.h @@ -44,34 +44,33 @@ * 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;