summaryrefslogtreecommitdiff
path: root/src/mesa/shader
AgeCommit message (Collapse)Author
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-29disable ctx->Driver.NewProgram() call in _mesa_new_program()Brian
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().
2007-10-26Merge branch '965-glsl'Zou Nan hai
Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c
2007-10-24add to gitBrian
2007-10-24Implement gl_PointCoord attribute for GLSL fragment shaders.Brian
Contains the normalized fragment position within a point sprite.
2007-10-11remove unneeded castBrian
2007-10-02fix comment: s/branch/kill/Brian
2007-09-13added program_error2() function for better error reportingBrian
2007-09-13Fix state.texgen parsing error (bug 12313).Brian
Replace *(*inst++) with *(*inst)++ in a few places.
2007-08-23For _mesa_share_state(), update the context's references to the new share ↵Brian
group's objects (Shane Blackett)
2007-08-07fix potential NULL dereference (bug 11880)Brian
2007-08-07fix swizzle error test (bug 11881)Brian
2007-07-31fix failure caused by undeclared variable (bug 11783)Brian
2007-07-31glGetAttribLocation always returned 1 (bug 11774)Brian
2007-07-26fix-up inlined/non-inlined function inconsistenciesBrian
2007-07-26Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion.Brian
2007-07-26generate error upon writing to varying var in fragment program (bug 11733)Brian
2007-07-24call ctx->Driver.NewProgram() instead of _mesa_new_program()Brian
2007-07-17Merge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesa ↵Zou Nan hai
into 965-glsl
2007-07-17 Use ProgramStringNotifyZou Nan hai
2007-07-13fix shader/info string length queries (bug 11588)Jan Dvorak
2007-07-12fix swizzle-related bug 11534Brian
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
2007-07-04Merge branch 'master' of git+ssh://znh@git.freedesktop.org/git/mesa/mesa ↵Zou Nan hai
into 965-glsl
2007-07-03added vec2(vec4) constructor, bug 11404Brian
2007-07-03add code for stpq, rgba writemasks in make_writemask(), bug 11404Brian
2007-06-07Add support for GL_ARB_fragment_program_shadow.Ian Romanick
2007-06-05Updates for array texture shadow targets.Ian Romanick
2007-05-22make sure optimized fog params get updatedRoland Scheidegger
2007-05-18fix STATE_HALF_VECTOR value (bug 10987)Brian
2007-05-16Initial implementation of MESA_texture_arrayIan Romanick
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
2007-05-14comment about fixing uniform structsBrian
2007-05-11user-declared uniform structs not supported yet (see bug 10908)Brian
2007-05-11don't ignore return value of _slang_codegen_global_variable()Brian
2007-05-10regeneratedBrian
2007-05-10Implement exp() in terms of __asm float_power. Fix typo in mod(vec4) function.Brian
exp() was using __asm float_exp (OPCODE_EXP) but that computes base two, not e. See bug 10907.
2007-05-09Check that texture units/samplers specified with glUniform1i() are legal.Brian
2007-05-02Resuscitate some of the DDX,DDY code.Brian
Only works for program input registers at this time. Good enough for the common case of texcoords, though.
2007-05-02fix some DDX,DDY mix-upsBrian
2007-05-01regeneratedBrian
2007-05-01implement acos(), asin(), atan()Brian
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