Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-03-09 | replace // comment with /* */ (bug 14916) | Brian | |
2008-02-29 | i965: use _Current pointer instead of Current pointer. | Xiang, Haihao | |
fix double free issue(bug#14710). It also corrects glsl/bitmap demo behavior. | |||
2008-02-15 | fix bug with generated fragment programs if vertex shader is active | Roland Scheidegger | |
When generating a fragment program from fixed function, checking texUnit->_ReallyEnabled is not sufficient, need texUnit->Enabled too since the former also represents texture enables from an active vertex shader. | |||
2007-10-26 | Merge branch '965-glsl' | Zou Nan hai | |
Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c | |||
2007-10-23 | properly init dst reg's CondMask/Swizzle fields | Brian | |
2007-10-23 | bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many ↵ | Brian | |
instructions | |||
2007-10-08 | Only vertex program fix, bypass tnl vertex program | Zou Nan hai | |
2007-08-17 | Brian's fix for bug9829 | Xiang, Haihao | |
2007-07-04 | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | |
of -I flags. | |||
2007-07-03 | fix GL_DOT3_RGBA texture combiner mode in generated fragment programs (bug ↵ | Roland Scheidegger | |
#11030) | |||
2007-03-26 | merge of glsl-compiler-1 branch | Brian | |
2007-03-22 | use _mesa_copy_instructions() | Brian | |
2007-02-24 | Undo some changes to _mesa_UpdateTexEnvProgram(). Fixes broken i915 texturing. | Brian | |
2007-02-23 | s/GLint/gl_state_index/, length is now 5 not 6 | Brian | |
2007-01-23 | fix g++ warnings/errors | Brian | |
2007-01-23 | fixes for C++ warnings/errors | Brian | |
2007-01-09 | Moved NumTexInstructions, NumTexIndirections, etc. into gl_program since | Brian | |
they can now apply to vertex programs. | |||
2006-12-15 | Lots of assorted changes for new GLSL compiler backend. | Brian | |
New datatypes, constants, variables. | |||
2006-11-15 | Add a size parameter to _mesa_add_unnamed_constant() and | Brian Paul | |
_mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now... | |||
2006-10-30 | remove debug code | Brian Paul | |
2006-10-29 | Rather than always allocating 100 instructions, put instructions into a | Brian Paul | |
temporary buffer, then copy into a malloc'd array of the correct size. According to Glean texCombine, we never need more than 21 instructions. | |||
2006-10-29 | Change _mesa_init_instruction() to initialize an array of instructions. | Brian Paul | |
2006-08-10 | Fix some breakage after the PROGRAM_UNDEFINED change | Alan Hourihane | |
2006-07-20 | Some structure renaming. Prefix vertex/fragment-related structs with | Brian Paul | |
"gl_" to match other structs. | |||
2006-05-30 | remove redundant 'const' | Brian Paul | |
2006-05-23 | Add const qualifiers in a number of places. | Brian Paul | |
2006-05-23 | In cache_item(), there was sizeof(void) expression. | Brian Paul | |
Replace void *key parameter with const struct state_key * | |||
2006-05-22 | memory usage fixes for glean/conform, use a better hash function | Keith Whitwell | |
2006-05-22 | Fix typo | Keith Whitwell | |
2006-05-22 | Better caching for texenv programs. | Keith Whitwell | |
Initialize some values correctly. | |||
2006-04-13 | casts to fix some -pedantic warnings | Brian Paul | |
2006-03-28 | fix #6072 (Keith Whitwell) | Aapo Tahkola | |
2006-01-24 | fix using a tmp without asking for one | Jerome Glisse | |
2006-01-24 | fix broken get_half & get_zero | Aapo Tahkola | |
2005-12-14 | use GLbitfield instead of GLuint | Brian Paul | |
2005-12-12 | silence warning, bug 5318 | Brian Paul | |
2005-12-06 | C++ fixes, mostly casts (Stephane Conversy) | Brian Paul | |
2005-11-20 | Make Saturate a 2-bit field again, renamed to SaturateMode with three | Brian Paul | |
possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE. | |||
2005-11-19 | additional clean-ups and improvements | Brian Paul | |
2005-11-19 | Bunch of little fixes: | Brian Paul | |
Fix mem leaks in _mesa_TexEnvProgramCacheDestroy(). Check if ctx->Driver.BindProgram is non-null before calling. s/unsigned/GLuint/ Use MAX_INSTRUCTIONS instead of magic 100, check program length after it's made. Use _mesa_init_instruction() instead of _mesa_memset(). | |||
2005-11-19 | Remove the _mesa_parse_arb_vertex/fragment_program() functions into | Brian Paul | |
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. | |||
2005-11-18 | Reduce stderr noise. | Aapo Tahkola | |
2005-11-12 | Move stuff common to vertex/fragment_program into the base class, including: | Brian Paul | |
Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program(). | |||
2005-11-08 | s/_mesa_debug_fp_inst/_mesa_print_program/ | Brian Paul | |
2005-11-05 | Unify vertex/fragment program instuctions. | Brian Paul | |
Based on patch by Ian (#4967) but also unify instruction opcodes. | |||
2005-11-02 | Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention | Brian Paul | |
2005-11-01 | Several fp and vp tweaks: | Keith Whitwell | |
- 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. | |||
2005-11-01 | Re-org and clean-up of vertx/fragment program limits (instructions, | Brian Paul | |
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. | |||
2005-10-07 | Populate arb_fp_instruction negate field correctly. | Keith Whitwell | |
2005-09-19 | additional wrapper updates, bug 4468 | Brian Paul | |