summaryrefslogtreecommitdiff
path: root/src/mesa/shader/shaderobjects_3dlabs.c
AgeCommit message (Collapse)Author
2006-11-03Use inlined uniform() helper function in all the glUniform*() function toBrian Paul
reduce duplicated code. Finish up _program_ReadUniform() for non-float types. Implement _mesa_GetUniformivARB(). Simplify the _program_WriteUniform() function a bit.
2006-11-03Added OpenGL 2.1 glUniformMatrix* functions.Brian Paul
Refactor the _mesa_UniformMatrix() functions to use a helper function. Implement GetUniformfv function (might need more work someday).
2006-11-03reindentBrian Paul
2006-10-13Indent and cosmetic changes.Michal Krol
2006-09-21new comments, indentation fixesBrian Paul
2006-08-01Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.Michal Krol
2006-05-16Add GetInfoLogLength and WriteAttrib functions.Michal Krol
GetInfoLog for shaders if different - it is a concatenation of compiler output and executor output produced by printMESA. Fix bugs.
2006-04-18Add support for ARB_vertex_shader attrib binding and query.Michal Krol
Clean-up ARB_shaderobjects code a bit.
2006-04-04More GLSL code:Michal Krol
- add support for varyings; GLSL fixes: - pow was wrongly computed in x86 back-end;
2006-03-21Silencium gcc warnings.Michal Krol
2006-03-21GLSL fixes:Michal Krol
- generate error on NULL pointers in glShaderSourceARB; - reinstall program object, if current, in glLinkProgramARB; - vertex and fragment shaders are optional in program object; - floor asm was wrongly computed for x86 back-end; - allow for (void) idiom in function prototypes; - all fixed-state uniforms are updated; - local variable initializers are working; - implement texture* and shadow* functions for vertex processor; - generate error if too many arguments in general constructor; - trim unused data in general constructor; - struct r-value field select was badly relocated; Changes: - add derived state gl_fog_attrib::_Scale; - add derived state gl_light::_CosCutoffNeg;
2006-03-14More GLSL code:Michal Krol
- add texture sampling support; - fix assembly codegen bugs;
2006-02-27silence a bunch of warningsBrian Paul
2006-02-27More GLSL code:Michal Krol
- add x86 code generator; - add full support for uniforms in ARB_shader_objects; - add assembly instruction: global_addr; - reorganize #includes; - built-in uniforms accessed by index, rather than by name; - add some entries to x86sse rtasm; - add configurations to VC6 projects: 'Release x86' and 'Debug x86'; - #define SLANG_X86 active only on VC6 x86 builds; - introduce code export table for a shader; - remove GNU license from the noise library;
2006-02-22add missing prototypes, use _slang_ prefix on non-static functionsBrian Paul
2006-02-21More GLSL code:Michal Krol
- uniforms (only GetLocation, Uniform1f and Uniform4fv for now for demos); - fix bugs and optimize array size handling; - 2D texture sampling (needs Enable(TEXTURE_2D) to work); - decrease built-in library assembly size by 30%.
2006-02-18More GLSL code.Michal Krol
- general constructors allowed; - implement noise functions (from Stefan Gustavson - thanks!) - cosmetic stuff.
2006-02-15Add fragment shader execute entry.Michal Krol
2006-02-13Rename current_program to CurrentProgram.Michal Krol
Temporary vertex_shader execution code.
2005-05-19fix info log grabbingMichal Krol
2005-04-15implement info log; parse #version directiveMichal Krol
2005-04-14hook to _slang_compile()Michal Krol
2005-04-13clean-up stuffMichal Krol
2005-04-07Add shaderobjects_3dlabs.c back into build but use #ifdef ↵Brian Paul
FEATURE_shading_language to enable/disable relevant code.
2005-03-25implement gl2_3dlabs_shhandle interface; resolve few TODOsMichal Krol
2005-01-17silence a bunch of warningsBrian Paul
2005-01-133dlabs glslang frontend, not completeMichal Krol