summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/shaderobjects_3dlabs.c
Commit message (Collapse)AuthorAgeFilesLines
* Use inlined uniform() helper function in all the glUniform*() function toBrian Paul2006-11-031-53/+130
| | | | | | | reduce duplicated code. Finish up _program_ReadUniform() for non-float types. Implement _mesa_GetUniformivARB(). Simplify the _program_WriteUniform() function a bit.
* Added OpenGL 2.1 glUniformMatrix* functions.Brian Paul2006-11-031-0/+32
| | | | | Refactor the _mesa_UniformMatrix() functions to use a helper function. Implement GetUniformfv function (might need more work someday).
* reindentBrian Paul2006-11-031-1225/+1264
|
* Indent and cosmetic changes.Michal Krol2006-10-131-4/+4
|
* new comments, indentation fixesBrian Paul2006-09-211-11/+25
|
* Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.Michal Krol2006-08-011-0/+112
|
* Add GetInfoLogLength and WriteAttrib functions.Michal Krol2006-05-161-36/+129
| | | | | | GetInfoLog for shaders if different - it is a concatenation of compiler output and executor output produced by printMESA. Fix bugs.
* Add support for ARB_vertex_shader attrib binding and query.Michal Krol2006-04-181-1704/+1777
| | | | Clean-up ARB_shaderobjects code a bit.
* More GLSL code:Michal Krol2006-04-041-17/+39
| | | | | | | - add support for varyings; GLSL fixes: - pow was wrongly computed in x86 back-end;
* Silencium gcc warnings.Michal Krol2006-03-211-1/+1
|
* GLSL fixes:Michal Krol2006-03-211-17/+176
| | | | | | | | | | | | | | | | | | - 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;
* More GLSL code:Michal Krol2006-03-141-16/+170
| | | | | - add texture sampling support; - fix assembly codegen bugs;
* silence a bunch of warningsBrian Paul2006-02-271-0/+1
|
* More GLSL code:Michal Krol2006-02-271-182/+227
| | | | | | | | | | | | | - 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;
* add missing prototypes, use _slang_ prefix on non-static functionsBrian Paul2006-02-221-2/+2
|
* More GLSL code:Michal Krol2006-02-211-18/+88
| | | | | | | - 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%.
* More GLSL code.Michal Krol2006-02-181-28/+20
| | | | | | - general constructors allowed; - implement noise functions (from Stefan Gustavson - thanks!) - cosmetic stuff.
* Add fragment shader execute entry.Michal Krol2006-02-151-8/+109
|
* Rename current_program to CurrentProgram.Michal Krol2006-02-131-4/+112
| | | | Temporary vertex_shader execution code.
* fix info log grabbingMichal Krol2005-05-191-3/+3
|
* implement info log; parse #version directiveMichal Krol2005-04-151-2/+5
|
* hook to _slang_compile()Michal Krol2005-04-141-0/+18
|
* clean-up stuffMichal Krol2005-04-131-24/+32
|
* Add shaderobjects_3dlabs.c back into build but use #ifdef ↵Brian Paul2005-04-071-1/+29
| | | | FEATURE_shading_language to enable/disable relevant code.
* implement gl2_3dlabs_shhandle interface; resolve few TODOsMichal Krol2005-03-251-46/+266
|
* silence a bunch of warningsBrian Paul2005-01-171-47/+77
|
* 3dlabs glslang frontend, not completeMichal Krol2005-01-131-0/+745