Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move TexturesUsed[] into gl_program since vertex programs/shaders can use ↵ | Brian | 2007-01-04 | 6 | -7/+7 |
| | | | | textures nowadays | ||||
* | simplify update_texture_state() a bit, compute _EnabledCoordUnits for shaders | Brian | 2007-01-04 | 1 | -16/+25 |
| | |||||
* | minor formatting fix | Brian | 2007-01-04 | 1 | -1/+0 |
| | |||||
* | added texture attribs in slang_find_input() | Brian | 2007-01-04 | 1 | -0/+4 |
| | |||||
* | added glUniform1i_func | Brian | 2007-01-04 | 1 | -1/+3 |
| | |||||
* | initial code to get texture sampling limping along | Brian | 2007-01-04 | 6 | -105/+177 |
| | |||||
* | temporary disable some memory deallocations to work around a memory ↵ | Brian | 2007-01-04 | 1 | -0/+3 |
| | | | | corruption bug | ||||
* | finish some loose ends in _mesa_uniform() | Brian | 2007-01-04 | 1 | -13/+44 |
| | |||||
* | update_texture_state() updated for new shaders | Brian | 2007-01-04 | 1 | -29/+10 |
| | |||||
* | Fix some incorrect GL error values. Reorganize _mesa_compile_shader() code. | Brian | 2007-01-04 | 4 | -65/+81 |
| | |||||
* | fix typos | Brian | 2006-12-22 | 1 | -2/+2 |
| | |||||
* | implement unary +, - | Brian | 2006-12-22 | 2 | -21/+19 |
| | |||||
* | chmod a-x | Brian | 2006-12-21 | 9 | -0/+0 |
| | |||||
* | checkpoint: pre/post incr/decr operators | Brian | 2006-12-21 | 2 | -195/+208 |
| | |||||
* | added INTERP_VARYING code | Brian | 2006-12-21 | 1 | -0/+29 |
| | |||||
* | s/attribute/varying/ | Brian | 2006-12-21 | 3 | -6/+7 |
| | |||||
* | comment about uniforms | Brian | 2006-12-21 | 1 | -0/+4 |
| | |||||
* | checkpoint: rewrite vec/mat products | Brian | 2006-12-21 | 2 | -277/+287 |
| | |||||
* | fix typos | Brian | 2006-12-21 | 1 | -2/+2 |
| | |||||
* | added IR_NEG for negation | Brian | 2006-12-21 | 3 | -1/+40 |
| | |||||
* | checkpoint: matrix/float, unary negation rewrite | Brian | 2006-12-21 | 2 | -579/+709 |
| | |||||
* | checkpoint: ivec/int and mat/mat operations | Brian | 2006-12-21 | 2 | -465/+613 |
| | |||||
* | checkpoint: more basic math rewritting | Brian | 2006-12-21 | 2 | -518/+593 |
| | |||||
* | checkpoint: re-org assignment operator functions | Brian | 2006-12-20 | 2 | -427/+541 |
| | |||||
* | added glUniformMatrix2/3fv_func | Brian | 2006-12-20 | 1 | -0/+4 |
| | |||||
* | checkpoint: more basic math operator re-org | Brian | 2006-12-20 | 2 | -508/+530 |
| | |||||
* | Checkpoing: re-organization of basic arithmetic functions. | Brian | 2006-12-20 | 2 | -610/+667 |
| | |||||
* | handle PROGRAM_UNIFORM, fix a _mesa_problem() call | Brian | 2006-12-20 | 1 | -1/+2 |
| | |||||
* | Uniform matrix support. | Brian | 2006-12-20 | 7 | -587/+638 |
| | | | | | | | Implement _mesa_uniform_matrix() Support for program parameters/uniforms with more than 4 elements. Store 4x4 matrices in column-major order in registers. Update mat mul built-in functions accordingly. | ||||
* | added _mesa_print_parameter_list() | Brian | 2006-12-20 | 2 | -8/+17 |
| | |||||
* | New IR_COND node for evaluating conditional expressions (for if/while/for). | Brian | 2006-12-20 | 3 | -26/+64 |
| | |||||
* | use cast wrappers for sanity checking | Brian | 2006-12-20 | 1 | -6/+23 |
| | |||||
* | code re-org | Brian | 2006-12-20 | 1 | -158/+155 |
| | |||||
* | Minor clean-ups, reformatting, comment changes. | Brian | 2006-12-20 | 1 | -23/+24 |
| | |||||
* | Fix shader object reference counting and hash table deallocation. | Brian | 2006-12-20 | 5 | -31/+94 |
| | |||||
* | Clean-up and re-org of the main GLSL object types. | Brian | 2006-12-19 | 9 | -257/+288 |
| | | | | | | | Use the gl_shader struct as it should be. Renamed gl_linked_program to gl_shader_program. Store both shaders and programs in the same hash table and use the Type field to distinguish them. | ||||
* | Overhaul of GLSL API functions, dispatching, etc. | Brian | 2006-12-19 | 10 | -30/+130 |
| | |||||
* | Overhaul of GLSL API functions, dispatching, etc. | Brian | 2006-12-19 | 4 | -989/+656 |
| | |||||
* | Massive re-org of GLSL-related API functions. | Brian | 2006-12-19 | 5 | -3671/+677 |
| | | | | | | | Added new GLSL functions to struct dd_function_table. main/shaders.c calls GLSL functions through the dd_function_table. shader/shader_api.c implements the API functions. Other assorted changes, fixes everywhere else. | ||||
* | check for null Parameters ptr in _mesa_clone_program() | Brian | 2006-12-19 | 1 | -2/+4 |
| | |||||
* | lots of clean-up and re-org | Brian | 2006-12-19 | 1 | -336/+405 |
| | |||||
* | additional error checking | Brian | 2006-12-19 | 1 | -0/+7 |
| | |||||
* | new error msg | Brian | 2006-12-19 | 1 | -1/+1 |
| | |||||
* | rewrite +=, -= etc for floats | Brian | 2006-12-19 | 2 | -527/+534 |
| | |||||
* | Implement array indexing of simple vec2/3/4 types. A bit of a hack for now... | Brian | 2006-12-18 | 1 | -5/+28 |
| | |||||
* | Added instruction counter to catch infinite loops (temporary). | Brian | 2006-12-18 | 1 | -1/+11 |
| | |||||
* | Check for inst->CondUpdate, print .C suffix. | Brian | 2006-12-18 | 1 | -4/+3 |
| | |||||
* | Generate IR code for for/while loops, break and continue statements. | Brian | 2006-12-18 | 1 | -2/+101 |
| | |||||
* | Implement if-conditionals and while loops, added temporary resolve-branches ↵ | Brian | 2006-12-18 | 3 | -52/+167 |
| | | | | function in linker. | ||||
* | GLSL API functions. | Brian | 2006-12-18 | 2 | -0/+1449 |
| |