summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/shaderobjects.h
Commit message (Collapse)AuthorAgeFilesLines
* Massive re-org of GLSL-related API functions.Brian2006-12-191-364/+0
| | | | | | | Added new GLSL functions to struct dd_function_table. main/shaders.c calls GLSL functions through the dd_function_table. shader/shader_api.c implements the API functions. Other assorted changes, fixes everywhere else.
* Checkpoint of work for new GLSL compiler back-end. Lots of assorted changes.Brian2006-12-131-0/+11
|
* Use inlined uniform() helper function in all the glUniform*() function toBrian Paul2006-11-031-1/+1
| | | | | | | 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/+30
| | | | | Refactor the _mesa_UniformMatrix() functions to use a helper function. Implement GetUniformfv function (might need more work someday).
* s/_mesa_IsProgram2/_mesa_IsProgram/Brian Paul2006-11-021-1/+1
|
* OpenGL 2.0 entrypointsBrian Paul2006-11-021-0/+45
|
* Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.Michal Krol2006-08-011-4/+14
|
* Cleanup GLhandle-to-object translation macros.Michal Krol2006-05-161-3/+5
| | | | Fix minor bugs.
* Add support for ARB_vertex_shader attrib binding and query.Michal Krol2006-04-181-2/+15
| | | | Clean-up ARB_shaderobjects code a bit.
* More GLSL code:Michal Krol2006-04-041-8/+9
| | | | | | | - add support for varyings; GLSL fixes: - pow was wrongly computed in x86 back-end;
* GLSL fixes:Michal Krol2006-03-211-1/+2
| | | | | | | | | | | | | | | | | | - 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-2/+3
| | | | | - add texture sampling support; - fix assembly codegen bugs;
* More GLSL code:Michal Krol2006-02-271-2/+7
| | | | | | | | | | | | | - 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;
* update comments, remove ^M charsBrian Paul2005-11-191-12/+7
|
* move a bunch of gl2/shading language structs from mtypes.h to shaderobjects.hBrian Paul2005-11-191-0/+82
|
* cosmetic changesMichal Krol2005-01-131-13/+10
|
* remove unused entriesMichal Krol2004-10-271-7/+0
|
* by karoshi - header file for ARB_shader_objects implementationMichal Krol2004-10-271-0/+178