summaryrefslogtreecommitdiff
path: root/src/mesa/shader
AgeCommit message (Collapse)Author
2008-03-14mesa: fix emit_clamp() so that we don't use an output register as temporaryBrian Paul
IR_CLAMP is decomposed into OPCODE_MIN+OPCODE_MAX. Allocate a temporary register for the intermediate value so we don't inadvertantly use an output register (which are write-only on some GPUs).
2008-03-13fix state.lightprod ambient/specular w value (bug #14983)Roland Scheidegger
2008-03-13mesa: fix (harmless?) assignment in assertKeith Whitwell
2008-03-12mesa: set SamplersUsed bitmask when parsing ARB fragment programsBrian
2008-03-10fix parsing of state.texenv.color (bug 14931)Brian
2008-03-01state.depth.range alpha value should be 1, not 0 (bug #14733)Roland Scheidegger
2008-02-28mesa: separate shader program object from shader object.Xiang, Haihao
Currently a callback delete_shader_cb is used for deleting shader and shader program objects. Mesa detaches all attached shaders in _mesa_free_shader_program_data when deleting shader program objects. However it is likely that these shaders have been freed in _mesa_free_shader, which will result in unexpected behaviour. This fix uses a single callback for shader program objects and deletes shader program objects before shader objects.
2008-02-27mesa: set input read only on successJerome Glisse
2008-02-27mesa: set input read only on successMarkus Amsler
2008-02-25Remove files of unsupported build systems.José Fonseca
2008-02-20raise GL_INVALID_OPERATION if glProgramString compilation failsBrian
2008-01-31regenerate glsl library functionsRoland Scheidegger
2008-01-31fix w component of glsl vec4 asinRoland Scheidegger
2008-01-18s/varible/variable/Brian
2008-01-18set param type to PROGRAM_CONSTANT when parsing immediatesBrian
2008-01-16use NEGATE_X/Y/Z/W tokensBrian
2008-01-16clean-up swizzle fields in fog code, fix NegateBaseBrian
2008-01-16copy UsesKill state in _mesa_combine_programs()Brian
2008-01-15Fix the compile of disabled DEBUG_PARSING code.Eric Anholt
2008-01-15Bug #13492: Only call ProgramStringNotify if program parsing succeeded.Eric Anholt
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.
2008-01-01free program cachesBrian
2008-01-01fix a memleakBrian
2008-01-01Convert to 0/1 when setting boolean uniformsBruce Merry
Also add some extra tests to the shader_api regression tests
2008-01-01Make use of count in _mesa_uniform_matrixBruce Merry
2008-01-01More fixes to shader_apiBruce Merry
- return GL_INVALID_OPERATION instead of GL_INVALID_VALUE if location is bad - correct the type-checking of uniforms from my previous commit - accept location of -1 in _mesa_uniform_matrix
2008-01-01Fix several bugs relating to uniforms and attributes in GLSL APIBruce Merry
- fix sizes for GL_FLOAT_MAT2x3 and GL_FLOAT_MAT4x3 in sizeof_glsl_type - fix size returns in _mesa_get_active_attrib - fix out-of-bounds array access to vec_types in _mesa_get_active_attrib - fix queries of matrix uniforms in _mesa_get_uniformfv - fix _mesa_get_uniformfv to only return one base, even from an array - allow location == -1 in _mesa_uniform - validate types in _mesa_uniform - allow array overruns in _mesa_uniform
2007-12-20return correct size from glGetActiveUniform (bug 13751)Brian
2007-12-11make sure state token values are fully initializedRoland Scheidegger
2007-12-07Move _mesa_init_glsl_driver_functions() into shader_api.cBrian
This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c
2007-12-04Fix gl_FrontFacing compilation problemBrian
2007-11-30Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesajoukj
2007-11-29Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.cBrian
2007-11-27set fp->UsesKill when emitting OPCODE_KILBrian
2007-11-23Consolidate texture fetch code and use partial derivatives when possible.Brian
2007-11-23Fix parsing of gl_FrontLightModelProduct.sceneColor, don't segfault on ↵Brian
variable array indexes.
2007-11-09alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Roland Scheidegger
these should be the same functions (as per spec).
2007-11-01remove dead code in _mesa_new_program()Brian
2007-10-31fix type for Samplers fieldBrian
2007-10-31alloc caches for fixed-func vertex/fragment progsBrian
2007-10-31Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk
2007-10-30fix InputsRead bug in _mesa_combine_programs()Brian
2007-10-30special-case KIL/KIL_NVBrian
2007-10-30more additions for COLOR_MATRIX, etcBrian
2007-10-30add state vars for color matrix, pixel transfer scale&biasBrian
2007-10-30Program cache functions.Brian
Generic version of cache code from texenvprogram.c and t_vp_build.c Not used by those files just yet, will also be used for pixel_transfer programs.
2007-10-30check for NULL ptr in _mesa_print_parameter_list()Brian
2007-10-30make _mesa_combine_programs() params constBrian
2007-10-30Added _mesa_combine_programs() for concatenating two programs.Brian
2007-10-30added _mesa_combine_parameter_lists()Brian
2007-10-29Rename 'mms-config.' to 'mms.config'.Michal Krol
It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.