summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
Commit message (Collapse)AuthorAgeFilesLines
* s/varible/variable/Brian2008-01-181-6/+6
|
* set param type to PROGRAM_CONSTANT when parsing immediatesBrian2008-01-181-0/+2
|
* use NEGATE_X/Y/Z/W tokensBrian2008-01-161-4/+4
|
* clean-up swizzle fields in fog code, fix NegateBaseBrian2008-01-161-11/+10
|
* copy UsesKill state in _mesa_combine_programs()Brian2008-01-161-0/+7
|
* free program cachesBrian2008-01-011-0/+2
|
* fix a memleakBrian2008-01-011-0/+1
|
* Move _mesa_init_glsl_driver_functions() into shader_api.cBrian2007-12-072-157/+99
| | | | | This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c
* fix type for Samplers fieldBrian2007-10-311-1/+1
|
* alloc caches for fixed-func vertex/fragment progsBrian2007-10-311-0/+4
|
* fix InputsRead bug in _mesa_combine_programs()Brian2007-10-301-2/+6
|
* special-case KIL/KIL_NVBrian2007-10-301-1/+19
|
* more additions for COLOR_MATRIX, etcBrian2007-10-301-0/+12
|
* add state vars for color matrix, pixel transfer scale&biasBrian2007-10-302-0/+19
|
* Program cache functions.Brian2007-10-302-0/+246
| | | | | 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.
* check for NULL ptr in _mesa_print_parameter_list()Brian2007-10-301-0/+3
|
* make _mesa_combine_programs() params constBrian2007-10-302-2/+4
|
* Added _mesa_combine_programs() for concatenating two programs.Brian2007-10-302-0/+157
|
* added _mesa_combine_parameter_lists()Brian2007-10-302-0/+43
|
* Rename 'mms-config.' to 'mms.config'.Michal Krol2007-10-293-3/+3
| | | | | It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.
* turn off debug outputBrian2007-10-261-1/+1
|
* Re-implement GLSL texture sampler variables.Brian2007-10-2615-104/+167
| | | | | | | | | | GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
* add to gitBrian2007-10-242-0/+109
|
* Implement gl_PointCoord attribute for GLSL fragment shaders.Brian2007-10-242-1/+16
| | | | Contains the normalized fragment position within a point sprite.
* disable the NeedFlush assertion for nowBrian2007-10-171-1/+1
|
* Assert that there's no outstanding current state that needs to be flushed ↵Brian2007-10-171-0/+2
| | | | | | | from the vbo in _mesa_load_state_parameters(). Several of the state parameters use current state (such as materials). Need to make sure those values are not stale.
* Naive implementation of IF/ELSE/ENDIF.michal2007-08-073-86/+102
| | | | | Handle TGSI labels correctly. Enhance MESA opcode info queries.
* Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion.Brian2007-07-264-18/+29
|
* generate error upon writing to varying var in fragment program (bug 11733)Brian2007-07-261-5/+8
|
* call ctx->Driver.NewProgram() instead of _mesa_new_program()Brian2007-07-242-2/+2
|
* fix shader/info string length queries (bug 11588)Jan Dvorak2007-07-131-3/+3
|
* fix swizzle-related bug 11534Brian2007-07-121-2/+3
|
* Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-0414-56/+55
| | | | of -I flags.
* added vec2(vec4) constructor, bug 11404Brian2007-07-032-54/+60
|
* add code for stpq, rgba writemasks in make_writemask(), bug 11404Brian2007-07-031-0/+8
|
* Add support for GL_ARB_fragment_program_shadow.Ian Romanick2007-06-071-7/+33
|
* Updates for array texture shadow targets.Ian Romanick2007-06-053-14/+53
|
* make sure optimized fog params get updatedRoland Scheidegger2007-05-221-0/+2
|
* fix STATE_HALF_VECTOR value (bug 10987)Brian2007-05-181-8/+8
|
* Initial implementation of MESA_texture_arrayIan Romanick2007-05-163-8/+50
| | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
* comment about fixing uniform structsBrian2007-05-141-0/+13
|
* user-declared uniform structs not supported yet (see bug 10908)Brian2007-05-111-3/+16
|
* don't ignore return value of _slang_codegen_global_variable()Brian2007-05-111-1/+2
|
* regeneratedBrian2007-05-101-524/+528
|
* Implement exp() in terms of __asm float_power. Fix typo in mod(vec4) function.Brian2007-05-101-11/+15
| | | | | exp() was using __asm float_exp (OPCODE_EXP) but that computes base two, not e. See bug 10907.
* Check that texture units/samplers specified with glUniform1i() are legal.Brian2007-05-091-1/+9
|
* Resuscitate some of the DDX,DDY code.Brian2007-05-022-243/+51
| | | | | Only works for program input registers at this time. Good enough for the common case of texcoords, though.
* fix some DDX,DDY mix-upsBrian2007-05-021-1/+1
|
* regeneratedBrian2007-05-011-78/+85
|
* implement acos(), asin(), atan()Brian2007-05-011-9/+14
|