Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | 2008-05-31 | 1 | -5/+5 |
| | |||||
* | use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵ | Brian | 2008-01-18 | 1 | -1/+1 |
| | | | | immediates/literals | ||||
* | set SamplerUnit[] entry in load_texture() just to be safe | Brian | 2007-12-14 | 1 | -0/+4 |
| | |||||
* | set program->SamplersUsed bit when using a texture instruction | Brian | 2007-12-14 | 1 | -1/+3 |
| | |||||
* | Update texenvprogram.c code to use prog_cache.c routines. | Brian | 2007-10-31 | 1 | -128/+7 |
| | |||||
* | Remove ctx field from texenvprog_cache | Brian | 2007-10-29 | 1 | -12/+11 |
| | |||||
* | Refactor _mesa_UpdateTexEnvProgram() | Brian | 2007-10-29 | 1 | -32/+36 |
| | | | | Will be replaced by _mesa_get_fixed_func_fragment_program(). | ||||
* | Disable the else clause which assigns the default fragment program to ↵ | Brian | 2007-10-29 | 1 | -0/+2 |
| | | | | | | | | 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. | ||||
* | properly init dst reg's CondMask/Swizzle fields | Brian | 2007-10-23 | 1 | -2/+2 |
| | |||||
* | bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many ↵ | Brian | 2007-10-23 | 1 | -3/+6 |
| | | | | instructions | ||||
* | Generate a texenv fragment program if there's a GLSL vertex shader but no ↵ | Brian | 2007-10-02 | 1 | -1/+2 |
| | | | | | | GLSL fragment shader. This allows Glean glsl1 test to get pretty far. | ||||
* | include programopt.h | Brian | 2007-09-25 | 1 | -0/+1 |
| | |||||
* | Disable vertex shader fog, compute fog in fragment shader. | Brian | 2007-09-25 | 1 | -5/+11 |
| | |||||
* | temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabled | Brian | 2007-09-18 | 1 | -0/+1 |
| | |||||
* | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | 2007-07-04 | 1 | -4/+4 |
| | | | | of -I flags. | ||||
* | fix GL_DOT3_RGBA texture combiner mode in generated fragment programs (bug ↵ | Roland Scheidegger | 2007-07-03 | 1 | -1/+1 |
| | | | | #11030) | ||||
* | merge of glsl-compiler-1 branch | Brian | 2007-03-26 | 1 | -40/+58 |
|\ | |||||
| * | Undo some changes to _mesa_UpdateTexEnvProgram(). Fixes broken i915 texturing. | Brian | 2007-02-24 | 1 | -3/+9 |
| | | |||||
| * | s/GLint/gl_state_index/, length is now 5 not 6 | Brian | 2007-02-23 | 1 | -9/+7 |
| | | |||||
| * | fix g++ warnings/errors | Brian | 2007-01-23 | 1 | -2/+3 |
| | | |||||
| * | Moved NumTexInstructions, NumTexIndirections, etc. into gl_program since | Brian | 2007-01-09 | 1 | -9/+9 |
| | | | | | | | | they can now apply to vertex programs. | ||||
| * | Lots of assorted changes for new GLSL compiler backend. | Brian | 2006-12-15 | 1 | -26/+40 |
| | | | | | | | | New datatypes, constants, variables. | ||||
* | | use _mesa_copy_instructions() | Brian | 2007-03-22 | 1 | -4/+3 |
| | | |||||
* | | fixes for C++ warnings/errors | Brian | 2007-01-23 | 1 | -2/+3 |
|/ | |||||
* | Add a size parameter to _mesa_add_unnamed_constant() and | Brian Paul | 2006-11-15 | 1 | -1/+1 |
| | | | | | _mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now... | ||||
* | remove debug code | Brian Paul | 2006-10-30 | 1 | -7/+0 |
| | |||||
* | Rather than always allocating 100 instructions, put instructions into a | Brian Paul | 2006-10-29 | 1 | -18/+42 |
| | | | | | temporary buffer, then copy into a malloc'd array of the correct size. According to Glean texCombine, we never need more than 21 instructions. | ||||
* | Change _mesa_init_instruction() to initialize an array of instructions. | Brian Paul | 2006-10-29 | 1 | -1/+1 |
| | |||||
* | Fix some breakage after the PROGRAM_UNDEFINED change | Alan Hourihane | 2006-08-10 | 1 | -2/+2 |
| | |||||
* | Some structure renaming. Prefix vertex/fragment-related structs with | Brian Paul | 2006-07-20 | 1 | -8/+9 |
| | | | | "gl_" to match other structs. | ||||
* | remove redundant 'const' | Brian Paul | 2006-05-30 | 1 | -1/+1 |
| | |||||
* | Add const qualifiers in a number of places. | Brian Paul | 2006-05-23 | 1 | -11/+12 |
| | |||||
* | In cache_item(), there was sizeof(void) expression. | Brian Paul | 2006-05-23 | 1 | -1/+1 |
| | | | | Replace void *key parameter with const struct state_key * | ||||
* | memory usage fixes for glean/conform, use a better hash function | Keith Whitwell | 2006-05-22 | 1 | -29/+49 |
| | |||||
* | Fix typo | Keith Whitwell | 2006-05-22 | 1 | -1/+1 |
| | |||||
* | Better caching for texenv programs. | Keith Whitwell | 2006-05-22 | 1 | -15/+60 |
| | | | | Initialize some values correctly. | ||||
* | casts to fix some -pedantic warnings | Brian Paul | 2006-04-13 | 1 | -4/+4 |
| | |||||
* | fix #6072 (Keith Whitwell) | Aapo Tahkola | 2006-03-28 | 1 | -12/+17 |
| | |||||
* | fix using a tmp without asking for one | Jerome Glisse | 2006-01-24 | 1 | -0/+1 |
| | |||||
* | fix broken get_half & get_zero | Aapo Tahkola | 2006-01-24 | 1 | -4/+4 |
| | |||||
* | use GLbitfield instead of GLuint | Brian Paul | 2005-12-14 | 1 | -6/+3 |
| | |||||
* | silence warning, bug 5318 | Brian Paul | 2005-12-12 | 1 | -0/+2 |
| | |||||
* | C++ fixes, mostly casts (Stephane Conversy) | Brian Paul | 2005-12-06 | 1 | -1/+1 |
| | |||||
* | Make Saturate a 2-bit field again, renamed to SaturateMode with three | Brian Paul | 2005-11-20 | 1 | -1/+1 |
| | | | | possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE. | ||||
* | additional clean-ups and improvements | Brian Paul | 2005-11-19 | 1 | -21/+38 |
| | |||||
* | Bunch of little fixes: | Brian Paul | 2005-11-19 | 1 | -35/+31 |
| | | | | | | | | 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(). | ||||
* | Remove the _mesa_parse_arb_vertex/fragment_program() functions into | Brian Paul | 2005-11-19 | 1 | -1/+0 |
| | | | | | | | 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. | ||||
* | Reduce stderr noise. | Aapo Tahkola | 2005-11-18 | 1 | -2/+2 |
| | |||||
* | Move stuff common to vertex/fragment_program into the base class, including: | Brian Paul | 2005-11-12 | 1 | -10/+9 |
| | | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program(). | ||||
* | s/_mesa_debug_fp_inst/_mesa_print_program/ | Brian Paul | 2005-11-08 | 1 | -1/+1 |
| |