summaryrefslogtreecommitdiff
path: root/src/mesa/shader
AgeCommit message (Collapse)Author
2007-05-01Rewrite of slang_inline_asm_function() to do full parameter/argument ↵Brian
substitution. We had been taking a short-cut w/ asm inlines by just using parameters in order rather than doing full formal parameter -> actual argument substitution like ordinary inlined function calls. This worked in all cases but one: mix() in which the parameters were used in a different order. This fixes bug 10821.
2007-04-28fix GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB bug (10787)Brian
2007-04-27asin(), acos(), atan() just return 0.5 for now to avoid crashing. Fix someday.Brian
2007-04-26Added error check that all varying vars needed by the fragment shader are ↵Brian
produced by vertex shader.
2007-04-24assorted fixes for Windows/VC8Karl Schultz
2007-04-24fix double const, move an assertionKarl Schultze
2007-04-21Remove all the USE_MEMPOOL debug code.Brian
2007-04-21Use new memory pool allocator. Lots of debug code still in place...Brian
2007-04-21call grammar_alloc_free() to fix memleaksBrian
2007-04-21remove more unused vars, assertionsBrian
2007-04-21remove unused vars, assertionsBrian
2007-04-21Memory pool manager.Brian
Instead of doing intricate malloc/free tracking during compiling, allocate everything (which would be discarded after compiling) from a pool that can be freed en masse when done.
2007-04-21fix instruction comment codeBrian
2007-04-21another bit of debug codeBrian
2007-04-21free subroutine array (fix mem leak)Brian
2007-04-21new varnames in slang_operation_insert()Brian
2007-04-21fix memleak in slang_operation_insert()Brian
2007-04-21free shProg->Attributes in _mesa_free_shader_program_data()Brian
2007-04-21move allocation of shProg->Attributes earlier in functionBrian
2007-04-19Fix valgrind problem caused by reading text[-1].Brian
2007-04-19remove invalid assertionBrian
2007-04-19fix crash when program has invalid structure fieldBrian
2007-04-19init A.curFuncEndLabel = NULLBrian
2007-04-18fix an uninitialized variable and a warningBrian
2007-04-18comments, assertionsBrian
2007-04-18new commentsBrian
2007-04-18record proper datatypes for uniforms/samplersBrian
2007-04-18added _slang_gltype_from_specifier()Brian
2007-04-18Start fixing some issues with uniform variables and their types.Brian
2007-04-18Fix some bugs related to querying active uniforms.Brian
2007-04-18fix error strings, add a sanity checkBrian
2007-04-18Remove bad assertions, decrement NumShaders in _mesa_detach_shader().Brian
Fixes crashes w/ Brad King's depth peeling test.
2007-04-18s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token)Brian
2007-04-18Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name().Brian
The later takes a type parameter so we can match uniforms or attributes/inputs. Used by the GL_ACTIVE_ATTRIBUTE_MAX_LENGTH and GL_ACTIVE_UNIFORM_MAX_LENGTH queries. Fixes problem reported by Brad King in VTK.
2007-04-18call ProgramStringNotify() after linkingBrian
2007-04-17regeneratedBrian
2007-04-17fix/simplify some texture functionsBrian
2007-04-17more matrix function updatesBrian
2007-04-16need to clamp MAD for linear fogBrian
2007-04-16Fix some assertions that could occur when an error was earlier logged.Brian
2007-04-14implement shadow2DRect functionsBrian
2007-04-12disable debug printfsBrian
2007-04-12Added sanity checking in _slang_sizeof_type_specifier() to be sure sizes are ↵Brian
what's expected.
2007-04-12use _mesa_clear_shader_program_data()Brian
2007-04-12New _mesa_reference_shader/program() function to consolidate refcounting.Brian
Note that (unlike texture objects), shader handles remain valid (in the hash table) after glDeleteShader/Program() if the refcount isn't zero.
2007-04-11regeneratedBrian
2007-04-11checkpoint: updating non-square matrix constructors and operatorsBrian
2007-04-11move/fix texture sampling funcsBrian
2007-04-11s/Shadow/SHADOW/Brian
2007-04-11fix invalid error detection problem in _mesa_bind_attrib_location(), bug 10602Brian