projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix get_result_vector() since fp output slots are not fixed anymore
[mesa.git]
/
src
/
mesa
/
pipe
/
i915simple
/
i915_fpc.h
diff --git
a/src/mesa/pipe/i915simple/i915_fpc.h
b/src/mesa/pipe/i915simple/i915_fpc.h
index 7bbfc69d2932f6a25373a8f21ba7d8a9eb0ba432..c25f5abf0eaf1fc503ae194d7158e790c1c9c710 100644
(file)
--- 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 {
* 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];
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 */
/** 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;
uint nr_tex_indirect;
uint nr_tex_insn;