Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: fix array size initialiazers using const variables | Zack Rusin | 2008-06-09 | 1 | -2/+26 |
| | | | | | | e.g. const int kernelSize = 9; uniform vec2 kernel[kernelSize]; | ||||
* | Set the attribute as used. | Alan Hourihane | 2008-06-04 | 1 | -0/+3 |
| | |||||
* | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | 2008-05-31 | 4 | -12/+12 |
| | |||||
* | Merge branch 'gallium-vertex-linear' into gallium-0.1 | Jakob Bornecrantz | 2008-05-28 | 2 | -11/+43 |
|\ | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_pt_varray.c | ||||
| * | mesa: pre-swizzle normal scale state value | Keith Whitwell | 2008-05-24 | 1 | -1/+5 |
| | | |||||
| * | mesa: do object-space lighting in ffvertex_prog.c | Keith Whitwell | 2008-05-23 | 2 | -10/+38 |
| | | | | | | | | | | Start pulling over some of the optimizations from the fixed function paths. | ||||
* | | copy StateFlags in _mesa_clone_parameter_list() | Brian Paul | 2008-05-20 | 1 | -0/+2 |
| | | | | | | | | cherry-picked from master (b539b6132141b0f583076355ad158852667b79cd) | ||||
* | | fix incorrect sampler numbering/indexing. | Brian Paul | 2008-05-20 | 5 | -14/+15 |
| | | | | | | | | | | | | All samplers indexes were zero. cherry-picked from master (b6fb0940c226373ac235a5d327d3fcfd742bc6b9) | ||||
* | | fix tempReg test in _mesa_combine_programs() | Brian Paul | 2008-05-19 | 1 | -1/+1 |
|/ | |||||
* | print vertex.attrib[n] (from master) | Brian Paul | 2008-05-18 | 1 | -3/+19 |
| | |||||
* | Fix some bugs in material, depth range state | Brian Paul | 2008-05-18 | 1 | -4/+4 |
| | | | | picked from master | ||||
* | alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935) | Brian Paul | 2008-05-18 | 3 | -84/+26 |
| | | | | | | these should be the same functions (as per spec). cherry-picked from master (86a4810b09097714942bf2b889e6c62357bba931) | ||||
* | bring in fixes/changes from master | Brian Paul | 2008-05-16 | 1 | -5/+14 |
| | |||||
* | 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. | ||||
* | fix parsing of state.texenv.color (bug 14931) | Brian Paul | 2008-05-14 | 2 | -2/+4 |
| | | | | cherry-picked from master | ||||
* | Consolidate texture fetch code and use partial derivatives when possible. | Brian Paul | 2008-05-14 | 2 | -67/+70 |
| | | | | picked from master | ||||
* | mesa: fix InfoLog memleak, misc sync with master | Brian Paul | 2008-05-14 | 1 | -4/+8 |
| | |||||
* | Bug #13492: Only call ProgramStringNotify if program parsing succeeded. | Eric Anholt | 2008-05-14 | 1 | -2/+2 |
| | | | | | | Wine intentionally tries some out-of-spec programs to test strictness, and calling ProgramStringNotify on the results of a failed program parse resulted in crashes in the 965 driver. | ||||
* | fix swizzle error test (bug 11881) | Brian | 2008-05-14 | 1 | -2/+2 |
| | |||||
* | fix-up inlined/non-inlined function inconsistencies | Brian Paul | 2008-05-14 | 2 | -9/+9 |
| | | | | cherry-picked from master | ||||
* | mesa: rm unneeded file | Brian Paul | 2008-05-14 | 1 | -64/+0 |
| | |||||
* | mesa: prefix rm command with - | Brian Paul | 2008-05-14 | 1 | -1/+1 |
| | |||||
* | rewrite some of the mat*mat, mat*vec intrinsics | Brian Paul | 2008-05-14 | 3 | -567/+336 |
| | | | | | | Also, remove obsolete matrix codegen code. cherry-picked from master | ||||
* | mesa: regenerate slang built-in data (asin(vec4) fix) | Brian Paul | 2008-05-14 | 1 | -41/+42 |
| | |||||
* | mesa: fix missing w assignment in asin(vec4) | Brian Paul | 2008-05-14 | 1 | -0/+1 |
| | |||||
* | mesa: use CALLOC_STRUCT() | Brian Paul | 2008-05-14 | 1 | -2/+1 |
| | |||||
* | mesa: updated comment | Brian Paul | 2008-05-14 | 1 | -6/+3 |
| | |||||
* | mesa: minor bug fixes from master | Brian Paul | 2008-05-14 | 1 | -1/+11 |
| | |||||
* | mesa: dead code removal | Brian Paul | 2008-05-14 | 1 | -3/+0 |
| | |||||
* | mesa: minor bug fixes, null ptr checks, dead code removal | Brian Paul | 2008-05-14 | 1 | -11/+8 |
| | |||||
* | mesa: fix errors in LightModelProduct state, other misc error cases | Brian Paul | 2008-05-14 | 1 | -5/+11 |
| | |||||
* | mesa: glUniform(location==-1) is not an error | Brian Paul | 2008-05-14 | 1 | -0/+9 |
| | |||||
* | fix some additional program refcounting bugs | Brian Paul | 2008-05-14 | 3 | -9/+6 |
| | | | | cherry-picked from master | ||||
* | gallium: implement full reference counting for vertex/fragment programs | Brian | 2008-05-06 | 5 | -47/+101 |
| | | | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed... | ||||
* | gallium: fix potential divide by zero in fog computation | Brian Paul | 2008-04-23 | 1 | -3/+5 |
| | | | | It's legal for Fog.Start == Fog.End and conformance testing does so. | ||||
* | mesa: added internal post color matrix scale/bias vars | Brian Paul | 2008-04-16 | 2 | -0/+14 |
| | |||||
* | fix GL_ARB_texture_rectangle breakage | Brian Paul | 2008-04-14 | 1 | -3/+3 |
| | |||||
* | mesa: define #extension GL_ARB_texture_rectangle | David Flynn | 2008-04-14 | 1 | -0/+4 |
| | |||||
* | mesa: call _mesa_remove_varying_reads() after compiling vertex shaders | Brian | 2008-04-07 | 1 | -0/+15 |
| | |||||
* | mesa: new _mesa_remove_varying_reads() function | Brian | 2008-04-07 | 2 | -2/+96 |
| | | | | | | | | We'll apply this function to GLSL vertex programs. In GLSL it's legal to read and write varying (output) vars in a vertex shader. But reading from an output register isn't supported by all hardware. This routine examines the vertex program for that condition and rewrites it to use temporary registers where needed. | ||||
* | mesa: added _mesa_insert_instructions() | Brian | 2008-04-07 | 2 | -10/+52 |
| | | | | Also, use new _mesa_free_instructions() in a few places. | ||||
* | mesa: added _mesa_free_instructions() | Brian | 2008-04-07 | 2 | -0/+20 |
| | |||||
* | mesa: no longer combine vertex/fragment shader parameters/uniforms | Brian | 2008-04-04 | 2 | -267/+233 |
| | | | | | | | GLSL Vertex and fragment shaders now have independent parameter buffers. A new gl_uniform_list is used to keep track of program uniforms and where each uniform is located in each shader's parameter buffer. This makes better use of the space in each buffer and simplifies shader linking. | ||||
* | mesa: new functions for managing list/index of uniforms | Brian | 2008-04-04 | 2 | -0/+248 |
| | |||||
* | gallium: make sure to set the SamplersUsed field for bitmap/drawpixels shaders | Brian Paul | 2008-04-04 | 1 | -0/+2 |
| | | | | | Also, make sure that field is copied/updated in the program clone and combine functions. Without this we weren't getting SAMP declarations in the TGSI shaders. | ||||
* | fix parsing bug involving comments at the end of ARB v/f programs | Markus Amsler | 2008-03-31 | 2 | -6/+6 |
| | |||||
* | consolidate some parsing functions that were pretty much identical for ↵ | Brian | 2008-03-27 | 1 | -152/+71 |
| | | | | | | vertex/fragment programs cherry-picked from master | ||||
* | mesa: misc sync-up with master | Brian | 2008-03-27 | 1 | -3/+3 |
| | |||||
* | raise GL_INVALID_OPERATION if glProgramString compilation fails | Brian | 2008-03-27 | 1 | -1/+1 |
| | | | | cherry-picked from master | ||||
* | Fix the compile of disabled DEBUG_PARSING code. | Brian | 2008-03-27 | 1 | -1/+1 |
| | | | | cherry-picked from master |