Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-20 | mesa: note that texcoords are generated by setup routines when pointsprite ↵ | Keith Whitwell | |
enabled | |||
2008-10-10 | mesa: new _mesa_set_vp_override() function for driver-override of vertex program | Brian Paul | |
Patch provide by Keith. Used in state tracker by DrawPixels to indicate that the state tracker (driver) is using its own vertex program. This prevents the texenvprogram code from replacing conventional shader inputs with state vars. Fixes glDraw/CopyPixels regressions. | |||
2008-10-07 | mesa: replace GLuint with GLbitfield to be clearer about usage | Brian Paul | |
Also, fix up some comments to be doxygen style. | |||
2008-10-07 | mesa: protect against segfault in get_fp_input_mask() | Keith Whitwell | |
2008-10-04 | mesa: handle vertex program enabled case also in texenvprogram.c | Keith Whitwell | |
2008-10-03 | mesa: avoid generating constant vertex attributes in fixedfunc programs | Keith Whitwell | |
Keep track of enabled/active vertex attributes. Keep track of potential vertex program outputs. When generating fragment program, replace references to fragment attributes which are effectively non-varying and non-computed passthrough attributes with references to the new CURRENT_ATTRIB tracked state value. Only downside is slight ugliness in VBO code where we need to validate state twice in succession. | |||
2008-10-03 | mesa: shrink texenvprogram state key struct | Keith Whitwell | |
2008-09-26 | mesa: fix temp register allocation problems. | Brian Paul | |
Complex texcombine modes were running out of registers (>32 registers for 8 tex units). | |||
2008-09-25 | mesa: increase MAX_INSTRUCTIONS | Brian Paul | |
2008-09-25 | mesa: fix swizzle failure, fix typo | Brian Paul | |
2008-05-31 | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | |
2008-01-18 | use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵ | Brian | |
immediates/literals | |||
2007-12-14 | set SamplerUnit[] entry in load_texture() just to be safe | Brian | |
2007-12-14 | set program->SamplersUsed bit when using a texture instruction | Brian | |
2007-10-31 | Update texenvprogram.c code to use prog_cache.c routines. | Brian | |
2007-10-29 | Remove ctx field from texenvprog_cache | Brian | |
2007-10-29 | Refactor _mesa_UpdateTexEnvProgram() | Brian | |
Will be replaced by _mesa_get_fixed_func_fragment_program(). | |||
2007-10-29 | Disable the else clause which assigns the default fragment program to ↵ | Brian | |
ctx->FragmentProgram._Current The _Current field should either point to the fragment program which is to be run (GLSL, ARB_f_p, fixed-func-generated, etc) or be NULL if conventional fixed-function code is to be used. Matches TNL program code. | |||
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-02 | Generate a texenv fragment program if there's a GLSL vertex shader but no ↵ | Brian | |
GLSL fragment shader. This allows Glean glsl1 test to get pretty far. | |||
2007-09-25 | include programopt.h | Brian | |
2007-09-25 | Disable vertex shader fog, compute fog in fragment shader. | Brian | |
2007-09-18 | temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabled | Brian | |
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 | |