| Age | Commit message (Collapse) | Author | 
|---|
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | Conflicts:
	src/mesa/main/state.c
	src/mesa/shader/program.c
	src/mesa/shader/program.h
	src/mesa/shader/programopt.c
	src/mesa/shader/slang/slang_execute.c
	src/mesa/sources
	src/mesa/swrast/s_arbshader.c
	src/mesa/swrast/s_context.c
	src/mesa/swrast/s_span.c
	src/mesa/swrast/s_zoom.c
	src/mesa/tnl/t_context.c
	src/mesa/tnl/t_save_api.c
	src/mesa/tnl/t_vb_arbprogram.c
	src/mesa/tnl/t_vp_build.c
	src/mesa/tnl/t_vtx_eval.c | 
|  |  | 
|  |  | 
|  | Use new internal state to avoid per-vertex normalization of static spot
direction vector. Use internal state for simpler per-vertex fog computations
(MAD instead of SUB/MUL for linear fog, EX2 instead of POW for EXP/EXP2 fog).
Simplify point size calc (2 MADs instead of MOV, MUL, MUL, DP3), and while
there fix it up (RSQ instead of RCP). All untested... | 
|  |  | 
|  |  | 
|  | they can now apply to vertex programs. | 
|  | textures nowadays | 
|  |  | 
|  |  | 
|  | _mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4).
Always 4 for now... | 
|  | warnings about long string literals. | 
|  |  | 
|  | Abs, NegateAbs, CondMask and CondSwizzle fields to defaults here.
CondMask was getting mis-set.  Removing the incorrect assignment improves
fragment program speed by 15%. | 
|  |  | 
|  | vertex program, even though it's not really supported.  Results will be
undefined, but Warcraft doesn't actually use the attribute. | 
|  |  | 
|  | in new program_error() function.
Add const qualifiers in many places.
Reorder some debug code to prevent referencing free'd memory. | 
|  | For example, referencing both "texture[0], 2D" and "texture[0], CUBE" in one
program is an error. | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | "gl_" to match other structs. | 
|  | don't segfault when you're trying to access invalid generic attributes | 
|  | done in parse_generic_attrib_num() | 
|  |  | 
|  |  | 
|  |  | 
|  | GL_ARB_vertex_program. | 
|  | - use macros to access and modify render inputs bit-field;
- un-alias generic vertex attributes for ARB vertex calls;
- use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS
  (ARB code) in place of VERT_ATTRIB_MAX;
- define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex
  attributes for ARB_vertex_shader;
- fix generic attribute index range check in arbprogparse.c;
- interface GLSL varyings between vertex and fragment shader;
- use 64-bit optimised bitset (bitset.h) for render inputs; | 
|  |  | 
|  |  | 
|  |  | 
|  | possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE. | 
|  |  | 
|  | arbprogparse.c and remove arbvertparse.[ch] and arbfragparse.[ch].
Clean up quite a bit of the arb parsing code.
Rewrite parser extension code to avoid a mess of string operations every
time the parser was used. | 
|  | Instructions, InputsRead, OutputsWritten, and Parameters.
Also, added debug functions: _mesa_print_instruction(),
_mesa_print_program_parameters() and revamp _mesa_print_program(). | 
|  |  | 
|  | Based on patch by Ian (#4967) but also unify instruction opcodes. | 
|  | arb_program struct. | 
|  |  | 
|  |  | 
|  | - Renumber VERT_RESULT_* values so that they match the
	  numbers of the corresponding FRAG_ATTRIB_ values.
        - Add ctx->VertexProgram._Current and FragmentProgram._Current
	  values which point to either the current client-supplied
	  program if enabled, or otherwise to the current mesa-internal
	  program.  Thus this program is always the correct one for
	  the current state, providing that the mesa flags to turn on
	  automatic generation are enabled.
	- Add callbacks to ctx->Driver.BindProgram() in texenvprogram.c
	  and t_vp_build.c so that the driver knows when the generated
	  program changes.  This is cleaner than trying to code all the
	  possible _NEW_* flags into the driver, and more precise as well.
	- Add a UsesKill flag to identify fragment programs with that
	  instruction, as these can require special treatment.
	- Move the FRAG_OUTPUT values to mtypes.h, near to similar defn's. | 
|  | temporaries, parameters, etc).
glGetProgramivARB() now returns all the right things.
Updated i915 and r300 code to initialize program native limits and
current program's native instruction/temporary/etc counts. |