summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
Commit message (Collapse)AuthorAgeFilesLines
* disable ctx->Driver.NewProgram() call in _mesa_new_program()Brian2007-10-291-0/+5
| | | | | | This was causing infinite recursive calls w/ software drivers. All vertex/fragment shaders should be allocated by calling ctx->Driver.NewProgram(), not by calling _mesa_new_program().
* Merge branch '965-glsl'Zou Nan hai2007-10-262-0/+3
|\ | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c
| * Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Zou Nan hai2007-07-1714-61/+61
| |\ | | | | | | | | | into 965-glsl
| * | Use ProgramStringNotifyZou Nan hai2007-07-171-0/+2
| | |
| * | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Zou Nan hai2007-07-0442-1851/+2778
| |\ \ | | | | | | | | | | | | into 965-glsl
| * | | Initial 965 GLSL supportZou Nan hai2007-04-121-0/+1
| | | |
* | | | 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.
* | | | remove unneeded castBrian2007-10-111-1/+1
| | | |
* | | | fix comment: s/branch/kill/Brian2007-10-021-1/+1
| | | |
* | | | added program_error2() function for better error reportingBrian2007-09-131-47/+60
| | | |
* | | | Fix state.texgen parsing error (bug 12313).Brian2007-09-131-5/+12
| | | | | | | | | | | | | | | | Replace *(*inst++) with *(*inst)++ in a few places.
* | | | For _mesa_share_state(), update the context's references to the new share ↵Brian2007-08-232-0/+46
| | | | | | | | | | | | | | | | group's objects (Shane Blackett)
* | | | fix potential NULL dereference (bug 11880)Brian2007-08-071-2/+6
| | | |
* | | | fix swizzle error test (bug 11881)Brian2007-08-071-2/+2
| | | |
* | | | fix failure caused by undeclared variable (bug 11783)Brian2007-07-311-1/+2
| | | |
* | | | glGetAttribLocation always returned 1 (bug 11774)Brian2007-07-311-1/+3
| | | |
* | | | fix-up inlined/non-inlined function inconsistenciesBrian2007-07-262-9/+12
| | | |
* | | | 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
| |
* | Rewrite of slang_inline_asm_function() to do full parameter/argument ↵Brian2007-05-011-31/+64
| | | | | | | | | | | | | | | | | | | | 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.
* | fix GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB bug (10787)Brian2007-04-281-4/+12
| |
* | asin(), acos(), atan() just return 0.5 for now to avoid crashing. Fix someday.Brian2007-04-272-680/+688
| |
* | Added error check that all varying vars needed by the fragment shader are ↵Brian2007-04-261-8/+35
| | | | | | | | produced by vertex shader.
* | assorted fixes for Windows/VC8Karl Schultz2007-04-241-1/+1
| |
* | fix double const, move an assertionKarl Schultze2007-04-241-2/+2
| |
* | Remove all the USE_MEMPOOL debug code.Brian2007-04-2115-434/+78
| |
* | Use new memory pool allocator. Lots of debug code still in place...Brian2007-04-2117-29/+511
| |
* | call grammar_alloc_free() to fix memleaksBrian2007-04-211-0/+2
| |