summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Use appropriate unsigned/signed, float/integer types.José Fonseca2008-06-244-7/+7
|
* silly bug: it's PROGRAM_VARYINGZack Rusin2008-06-121-1/+1
|
* glsl: make sure we replace all output reads with temporariesZack Rusin2008-06-123-7/+10
| | | | test in if.glsl
* mesa: remove unneeded #includeBrian Paul2008-06-121-1/+0
|
* almost forgot - RelAddr is a boolean so use it hereZack Rusin2008-06-121-1/+1
|
* shaders: fix allocation of arrays of parametersZack Rusin2008-06-121-1/+23
|
* glsl: implement variable array indexesZack Rusin2008-06-124-12/+24
|
* mesa: include mtypes.hBrian Paul2008-06-101-0/+2
|
* glsl: fix array size initialiazers using const variablesZack Rusin2008-06-091-2/+26
| | | | | | e.g. const int kernelSize = 9; uniform vec2 kernel[kernelSize];
* Set the attribute as used.Alan Hourihane2008-06-041-0/+3
|
* mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca2008-05-314-12/+12
|
* Merge branch 'gallium-vertex-linear' into gallium-0.1Jakob Bornecrantz2008-05-282-11/+43
|\ | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_pt_varray.c
| * mesa: pre-swizzle normal scale state valueKeith Whitwell2008-05-241-1/+5
| |
| * mesa: do object-space lighting in ffvertex_prog.cKeith Whitwell2008-05-232-10/+38
| | | | | | | | | | Start pulling over some of the optimizations from the fixed function paths.
* | copy StateFlags in _mesa_clone_parameter_list()Brian Paul2008-05-201-0/+2
| | | | | | | | cherry-picked from master (b539b6132141b0f583076355ad158852667b79cd)
* | fix incorrect sampler numbering/indexing.Brian Paul2008-05-205-14/+15
| | | | | | | | | | | | All samplers indexes were zero. cherry-picked from master (b6fb0940c226373ac235a5d327d3fcfd742bc6b9)
* | fix tempReg test in _mesa_combine_programs()Brian Paul2008-05-191-1/+1
|/
* print vertex.attrib[n] (from master)Brian Paul2008-05-181-3/+19
|
* Fix some bugs in material, depth range stateBrian Paul2008-05-181-4/+4
| | | | picked from master
* alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Brian Paul2008-05-183-84/+26
| | | | | | these should be the same functions (as per spec). cherry-picked from master (86a4810b09097714942bf2b889e6c62357bba931)
* bring in fixes/changes from masterBrian Paul2008-05-161-5/+14
|
* Fix a program refcounting error, don't share program parameter lists.Brian Paul2008-05-162-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 Paul2008-05-142-2/+4
| | | | cherry-picked from master
* Consolidate texture fetch code and use partial derivatives when possible.Brian Paul2008-05-142-67/+70
| | | | picked from master
* mesa: fix InfoLog memleak, misc sync with masterBrian Paul2008-05-141-4/+8
|
* Bug #13492: Only call ProgramStringNotify if program parsing succeeded.Eric Anholt2008-05-141-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)Brian2008-05-141-2/+2
|
* fix-up inlined/non-inlined function inconsistenciesBrian Paul2008-05-142-9/+9
| | | | cherry-picked from master
* mesa: rm unneeded fileBrian Paul2008-05-141-64/+0
|
* mesa: prefix rm command with -Brian Paul2008-05-141-1/+1
|
* rewrite some of the mat*mat, mat*vec intrinsicsBrian Paul2008-05-143-567/+336
| | | | | | Also, remove obsolete matrix codegen code. cherry-picked from master
* mesa: regenerate slang built-in data (asin(vec4) fix)Brian Paul2008-05-141-41/+42
|
* mesa: fix missing w assignment in asin(vec4)Brian Paul2008-05-141-0/+1
|
* mesa: use CALLOC_STRUCT()Brian Paul2008-05-141-2/+1
|
* mesa: updated commentBrian Paul2008-05-141-6/+3
|
* mesa: minor bug fixes from masterBrian Paul2008-05-141-1/+11
|
* mesa: dead code removalBrian Paul2008-05-141-3/+0
|
* mesa: minor bug fixes, null ptr checks, dead code removalBrian Paul2008-05-141-11/+8
|
* mesa: fix errors in LightModelProduct state, other misc error casesBrian Paul2008-05-141-5/+11
|
* mesa: glUniform(location==-1) is not an errorBrian Paul2008-05-141-0/+9
|
* fix some additional program refcounting bugsBrian Paul2008-05-143-9/+6
| | | | cherry-picked from master
* gallium: implement full reference counting for vertex/fragment programsBrian2008-05-065-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 computationBrian Paul2008-04-231-3/+5
| | | | It's legal for Fog.Start == Fog.End and conformance testing does so.
* mesa: added internal post color matrix scale/bias varsBrian Paul2008-04-162-0/+14
|
* fix GL_ARB_texture_rectangle breakageBrian Paul2008-04-141-3/+3
|
* mesa: define #extension GL_ARB_texture_rectangleDavid Flynn2008-04-141-0/+4
|
* mesa: call _mesa_remove_varying_reads() after compiling vertex shadersBrian2008-04-071-0/+15
|
* mesa: new _mesa_remove_varying_reads() functionBrian2008-04-072-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()Brian2008-04-072-10/+52
| | | | Also, use new _mesa_free_instructions() in a few places.
* mesa: added _mesa_free_instructions()Brian2008-04-072-0/+20
|