Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | silly bug: it's PROGRAM_VARYING | Zack Rusin | 2008-06-12 | 1 | -1/+1 |
| | |||||
* | glsl: make sure we replace all output reads with temporaries | Zack Rusin | 2008-06-12 | 3 | -7/+10 |
| | | | | test in if.glsl | ||||
* | glsl: allow uniforms | Zack Rusin | 2008-06-12 | 1 | -1/+2 |
| | |||||
* | glsl: fix array size initialiazers using const variables | Zack Rusin | 2008-06-12 | 1 | -2/+26 |
| | | | | | | e.g. const int kernelSize = 9; uniform vec2 kernel[kernelSize]; | ||||
* | almost forgot - RelAddr is a boolean so use it here | Zack Rusin | 2008-06-12 | 1 | -1/+1 |
| | |||||
* | shaders: fix allocation of arrays of parameters | Zack Rusin | 2008-06-12 | 1 | -1/+23 |
| | |||||
* | glsl: implement variable array indexes | Zack Rusin | 2008-06-12 | 4 | -12/+24 |
| | |||||
* | Set the attribute as used. | Brian Paul | 2008-06-04 | 1 | -0/+3 |
| | | | | cherry-picked from gallium-0.1 | ||||
* | updated for latest sources | Jouk Jansen | 2008-05-27 | 1 | -3/+4 |
| | |||||
* | copy StateFlags in _mesa_clone_parameter_list() | Brian Paul | 2008-05-20 | 1 | -0/+2 |
| | |||||
* | fix incorrect sampler numbering/indexing. | Brian Paul | 2008-05-20 | 5 | -14/+15 |
| | | | | All samplers indexes were zero. | ||||
* | fix tempReg test in _mesa_combine_programs() | Brian Paul | 2008-05-19 | 1 | -1/+1 |
| | |||||
* | Move _mesa_init_glsl_driver_functions() into shader_api.c | Brian Paul | 2008-05-18 | 2 | -127/+69 |
| | | | | | | | This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c cherry-picked from gallium-0.1 | ||||
* | additional fog/color matrix changes from gallium-0.1 | Brian Paul | 2008-05-18 | 1 | -3/+12 |
| | |||||
* | add state vars for color matrix, pixel transfer scale&bias | Brian Paul | 2008-05-18 | 2 | -0/+5 |
| | | | | cherry-picked from gallium-0.1 (068c7bd912283e051a55b2fd5c4568685d10f3ed) | ||||
* | mesa: added internal post color matrix scale/bias vars | Brian Paul | 2008-05-18 | 2 | -0/+34 |
| | | | | cherry-picked from gallium-0.1 (302daeb2ec62c59bd28d0c53cdc0fb07dc9d0f58) | ||||
* | fixes to _mesa_combine_programs(), from gallium-0.1 | Brian Paul | 2008-05-18 | 2 | -6/+46 |
| | |||||
* | added div by zero check for Fog.End/Start (from gallium-0.1) | Brian Paul | 2008-05-18 | 1 | -1/+2 |
| | |||||
* | clean-ups / additions from gallium-0.1 branch | Brian Paul | 2008-05-18 | 1 | -7/+35 |
| | |||||
* | bring in fixes/changes from gallium-0.1 | Brian Paul | 2008-05-16 | 1 | -80/+32 |
| | |||||
* | silence warning, new assertion | Brian Paul | 2008-05-16 | 1 | -3/+6 |
| | |||||
* | Fix a program refcounting error, don't share program parameter lists. | Brian Paul | 2008-05-16 | 2 | -41/+20 |
| | | | | | | The refcounting bug was causing a memleak (unfreed programs). The old parameter list sharing is not needed since the change in how uniforms are handled. | ||||
* | minor changes to aid debugging | Brian Paul | 2008-05-16 | 1 | -7/+15 |
| | |||||
* | remove stray, left-over RefCount++ | Brian Paul | 2008-05-16 | 1 | -1/+0 |
| | |||||
* | whitespace/formatting | Brian Paul | 2008-05-16 | 1 | -2/+0 |
| | |||||
* | init SamplersUsed bits in _mesa_parse_arb_fragment_program | Brian Paul | 2008-05-16 | 1 | -1/+4 |
| | |||||
* | fix assertion typo: s/=/==/ | Brian Paul | 2008-05-16 | 1 | -1/+1 |
| | |||||
* | Fix DRI build | Brian Paul | 2008-05-16 | 1 | -2/+1 |
| | |||||
* | Updated GLSL uniform/sampler handling from gallium-0.1 branch | Brian Paul | 2008-05-14 | 12 | -404/+316 |
| | | | | | | | | | | Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch | ||||
* | mesa: new functions for managing list/index of uniforms | Brian Paul | 2008-05-14 | 2 | -0/+248 |
| | | | | cherry-picked from gallium-0.1 | ||||
* | clean-up swizzle fields in fog code, fix NegateBase | Brian Paul | 2008-05-14 | 1 | -11/+10 |
| | | | | cherry-picked from gallium-0.1 | ||||
* | sync up with gallium-0.1 changes | Brian Paul | 2008-05-14 | 2 | -85/+115 |
| | | | | New _mesa_num_inst_dst_regs(), _mesa_is_tex_instruction() functions | ||||
* | added _mesa_combine_parameter_lists() | Brian Paul | 2008-05-14 | 6 | -2/+296 |
| | | | | cherry-picked from gallium-0.1 | ||||
* | mesa: added _mesa_insert_instructions() | Brian Paul | 2008-05-14 | 2 | -10/+52 |
| | | | | | | Also, use new _mesa_free_instructions() in a few places. cherry-picked from gallium-0.1 | ||||
* | mesa: added _mesa_free_instructions() | Brian Paul | 2008-05-14 | 2 | -0/+20 |
| | | | | cherry-picked from gallium-0.1 | ||||
* | fix some additional program refcounting bugs | Brian Paul | 2008-05-14 | 3 | -22/+13 |
| | |||||
* | disable debug printfs | Brian Paul | 2008-05-08 | 1 | -2/+2 |
| | |||||
* | fix refcounting bugs in tnl/tex program caches | Brian Paul | 2008-05-07 | 1 | -3/+3 |
| | |||||
* | Never fail `make clean' | Dan Nicholson | 2008-05-07 | 1 | -1/+1 |
| | | | | | | Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean. | ||||
* | implement full reference counting for vertex/fragment programs | Brian | 2008-05-06 | 4 | -44/+102 |
| | | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. | ||||
* | glcore: drop outdated sources files intented for xorg | George Sapountzis | 2008-04-23 | 3 | -80/+0 |
| | |||||
* | revert part of the previous cleanup - it only applies | Alan Hourihane | 2008-04-22 | 1 | -1/+1 |
| | | | | to the 7.0 branch | ||||
* | Fix error string | Alan Hourihane | 2008-04-22 | 1 | -1/+2 |
| | |||||
* | correct the return value | Alan Hourihane | 2008-04-22 | 1 | -1/+1 |
| | |||||
* | small cleanups | Alan Hourihane | 2008-04-22 | 3 | -7/+7 |
| | |||||
* | fix GL_ARB_texture_rectangle breakage | Brian Paul | 2008-04-14 | 1 | -3/+3 |
| | |||||
* | define #extension GL_ARB_texture_rectangle | David Flynn | 2008-04-14 | 1 | -0/+4 |
| | |||||
* | fix failed assertion (parameter can be a PROGRAM_CONSTANT) | Brian Paul | 2008-04-11 | 1 | -0/+1 |
| | |||||
* | rewrite some of the mat*mat, mat*vec intrinsics | Brian | 2008-04-03 | 3 | -567/+336 |
| | | | | Also, remove obsolete matrix codegen code. | ||||
* | fix parsing bug involving comments at the end of ARB v/f programs | Markus Amsler | 2008-03-31 | 2 | -6/+6 |
| |