summaryrefslogtreecommitdiff
path: root/src/mesa/shader
AgeCommit message (Collapse)Author
2008-06-12glsl: make sure we replace all output reads with temporariesZack Rusin
test in if.glsl
2008-06-12glsl: allow uniformsZack Rusin
2008-06-12glsl: fix array size initialiazers using const variablesZack Rusin
e.g. const int kernelSize = 9; uniform vec2 kernel[kernelSize];
2008-06-12almost forgot - RelAddr is a boolean so use it hereZack Rusin
2008-06-12shaders: fix allocation of arrays of parametersZack Rusin
2008-06-12glsl: implement variable array indexesZack Rusin
2008-06-04Set the attribute as used.Brian Paul
cherry-picked from gallium-0.1
2008-05-27updated for latest sourcesJouk Jansen
2008-05-20copy StateFlags in _mesa_clone_parameter_list()Brian Paul
2008-05-20fix incorrect sampler numbering/indexing.Brian Paul
All samplers indexes were zero.
2008-05-19fix tempReg test in _mesa_combine_programs()Brian Paul
2008-05-18Move _mesa_init_glsl_driver_functions() into shader_api.cBrian Paul
This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c cherry-picked from gallium-0.1
2008-05-18additional fog/color matrix changes from gallium-0.1Brian Paul
2008-05-18add state vars for color matrix, pixel transfer scale&biasBrian Paul
cherry-picked from gallium-0.1 (068c7bd912283e051a55b2fd5c4568685d10f3ed)
2008-05-18mesa: added internal post color matrix scale/bias varsBrian Paul
cherry-picked from gallium-0.1 (302daeb2ec62c59bd28d0c53cdc0fb07dc9d0f58)
2008-05-18fixes to _mesa_combine_programs(), from gallium-0.1Brian Paul
2008-05-18added div by zero check for Fog.End/Start (from gallium-0.1)Brian Paul
2008-05-18clean-ups / additions from gallium-0.1 branchBrian Paul
2008-05-16bring in fixes/changes from gallium-0.1Brian Paul
2008-05-16silence warning, new assertionBrian Paul
2008-05-16Fix a program refcounting error, don't share program parameter lists.Brian Paul
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.
2008-05-16minor changes to aid debuggingBrian Paul
2008-05-16remove stray, left-over RefCount++Brian Paul
2008-05-16whitespace/formattingBrian Paul
2008-05-16init SamplersUsed bits in _mesa_parse_arb_fragment_programBrian Paul
2008-05-16fix assertion typo: s/=/==/Brian Paul
2008-05-16Fix DRI buildBrian Paul
2008-05-14Updated GLSL uniform/sampler handling from gallium-0.1 branchBrian Paul
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
2008-05-14mesa: new functions for managing list/index of uniformsBrian Paul
cherry-picked from gallium-0.1
2008-05-14clean-up swizzle fields in fog code, fix NegateBaseBrian Paul
cherry-picked from gallium-0.1
2008-05-14sync up with gallium-0.1 changesBrian Paul
New _mesa_num_inst_dst_regs(), _mesa_is_tex_instruction() functions
2008-05-14added _mesa_combine_parameter_lists()Brian Paul
cherry-picked from gallium-0.1
2008-05-14mesa: added _mesa_insert_instructions()Brian Paul
Also, use new _mesa_free_instructions() in a few places. cherry-picked from gallium-0.1
2008-05-14mesa: added _mesa_free_instructions()Brian Paul
cherry-picked from gallium-0.1
2008-05-14fix some additional program refcounting bugsBrian Paul
2008-05-08disable debug printfsBrian Paul
2008-05-07fix refcounting bugs in tnl/tex program cachesBrian Paul
2008-05-07Never fail `make clean'Dan Nicholson
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.
2008-05-06implement full reference counting for vertex/fragment programsBrian
Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test.
2008-04-23glcore: drop outdated sources files intented for xorgGeorge Sapountzis
2008-04-22revert part of the previous cleanup - it only appliesAlan Hourihane
to the 7.0 branch
2008-04-22Fix error stringAlan Hourihane
2008-04-22correct the return valueAlan Hourihane
2008-04-22small cleanupsAlan Hourihane
2008-04-14fix GL_ARB_texture_rectangle breakageBrian Paul
2008-04-14define #extension GL_ARB_texture_rectangleDavid Flynn
2008-04-11fix failed assertion (parameter can be a PROGRAM_CONSTANT)Brian Paul
2008-04-03rewrite some of the mat*mat, mat*vec intrinsicsBrian
Also, remove obsolete matrix codegen code.
2008-03-31fix parsing bug involving comments at the end of ARB v/f programsMarkus Amsler
2008-03-31mesa: Free all shader program data before deleting allXiang, Haihao
shader/shader program objects to avoid memory access error.