summaryrefslogtreecommitdiff
path: root/src/mesa/shader
AgeCommit message (Collapse)Author
2008-11-10mesa: fix logic error in GLSL linker when looking for main() shadersBrian Paul
2008-11-06mesa: update the shader programs->TexturesUsed array at link timeBrian Paul
If an application never calls glUniform() to set sampler variable values they'll remain 0 (the default value/unit). Now call _mesa_update_shader_textures_used() at link time in case glUniform() is never called. program->TextureUsed[] will then be correct for state validation.
2008-11-05mesa: fix a GLSL array indexing codegen bugBrian Paul
Expressions like array[i] + array[j] didn't work properly before.
2008-11-05mesa: remove extra \n from printf stringBrian Paul
2008-11-05mesa: add Initialized field to gl_uniform struct, for debugging purposes onlyBrian Paul
2008-11-04mesa: fix float-valued GLSL vertex attribute variablesBrian Paul
The swizzle mask for such variables wasn't set up properly.
2008-11-01mesa: silence warningsBrian Paul
2008-11-01mesa: do scope replacement for while/for loops tooBrian Paul
This fixes a function inlining bug involving vars declared inside loop bodies.
2008-11-01mesa: glsl tree print improvementsBrian Paul
2008-11-01mesa: fix assignment / parameter passing of sampler typesBrian Paul
2008-11-01mesa: additional debug flags for glsl debug/disassemblyBrian Paul
2008-10-31mesa: fix some bugs with precision qualifier parsingBrian Paul
2008-10-31mesa: do scope replacement for variable initializers tooBrian Paul
2008-10-31mesa: fix copy/paste error in GLSL error msgBrian Paul
2008-10-08mesa: in _mesa_combine_programs() take new STATE_CURRENT_ATTRIB color into ↵Brian Paul
account Commit 1680ef869625dc1fe9cf481b180382a34e0738e7 changed the texenv program to get color from a state register instead of a constant-valued vertex attribute. This broke program concatenation (so glDraw/CopyPixels broke). Now check if the second program get's color from a constant register and handle that case appropriately.
2008-10-07mesa: remove old assertionBrian Paul
2008-10-03Mesa: short-circuit case when looking up the same program twice in cacheKeith Whitwell
2008-10-03mesa: add new internal state for tracking current vertex attribsKeith Whitwell
2008-10-03mesa: add missing state dependencies for various tracked constantsKeith Whitwell
2008-10-01mesa: Fix compiler warnings on Windows.Michal Krol
2008-09-26mesa: add some bracesBrian Paul
2008-09-19mesa: Fix compiler error.Michal Krol
2008-09-19mesa: Fix arb parse constantsBrian Paul
2008-09-17mesa: new gl_fragment_program fields indicating use of fog, front-facing, ↵Brian Paul
point coord
2008-09-17mesa: update program->NumAddressRegs field in _slang_update_inputs_outputs()Brian Paul
2008-09-17mesa: fix bug in previous changes to _slang_resolve_attributes()Brian Paul
2008-09-16mesa: rework GLSL vertex attribute bindingBrian Paul
Calls to glBindAttribLocation() should not take effect until the next time that glLinkProgram() is called. gl_shader_program::Attributes now just contains user-defined bindings. gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
2008-09-16mesa: fix bug in get_uniform_rows_cols(): sometimes returned too many rowsBrian Paul
2008-09-05mesa: _mesa_program_state_string() returns char *, not const char *.Michal Krol
2008-09-04mesa: fix minor mem leakBrian Paul
2008-08-22mesa: glsl: regenerated fileBrian Paul
2008-08-22mesa: glsl: implement exp() functions in terms of EXP asm instruction, not powBrian Paul
2008-08-20mesa: glsl: fix a swizzle bug in storage_to_src_reg()Brian Paul
Need to remove the 'nil' components before swizzling a swizzle
2008-08-20mesa: glsl: add check for exceeding max number of constants/uniformsBrian Paul
2008-08-20mesa: glsl: regenerated fileBrian Paul
2008-08-20mesa: glsl: better implementation of ftransform()Brian Paul
2008-08-19mesa: glsl: more writemask error checkingBrian Paul
2008-08-19mesa: glsl: added some post incr/decr error checksBrian Paul
2008-08-19mesa: glsl: limit function matching through castingBrian Paul
2008-08-19mesa: glsl: add usage tracking for uniform varsBrian Paul
Unused uniforms are no longer included in the active uniforms list.
2008-08-19mesa: glsl: put var emit/ref code into separate functionsBrian Paul
2008-08-15mesa: glsl: fix linking of varying vars which are arraysBrian Paul
2008-08-12mesa: glsl: fix error detection of writing to read-only variablesBrian Paul
2008-08-12mesa: glsl: fix commentBrian Paul
2008-08-12mesa: glsl: enable bzero() in slang_typeinfo_construct()Brian Paul
2008-08-12mesa: glsl: remove reads of output regs from fragment shaders tooBrian Paul
2008-08-12mesa: set point stateBrian Paul
2008-08-12mesa: allow _mesa_remove_output_reads() to work on fragment programsBrian Paul
2008-08-12mesa: glsl: better error messagesBrian Paul
2008-08-12mesa: glsl: regenerated filesBrian Paul