summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/shaderobjects.c
Commit message (Collapse)AuthorAgeFilesLines
* Massive re-org of GLSL-related API functions.Brian2006-12-191-1335/+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.
* Updated includes.Brian2006-12-141-0/+1
|
* Updates for new linker (merged varying/uniform vars).Brian2006-12-141-7/+11
|
* Checkpoint of work for new GLSL compiler back-end. Lots of assorted changes.Brian2006-12-131-6/+145
|
* improved error mesagesBrian Paul2006-11-151-2/+2
|
* fix casts to silence warningsBrian Paul2006-11-151-5/+5
|
* Fix _mesa_IsProgram() and _mesa_IsShader()Brian Paul2006-11-031-4/+16
|
* implement _mesa_GetShaderiv()Brian Paul2006-11-031-2/+30
|
* implement _mesa_GetProgramiv()Brian Paul2006-11-031-3/+40
|
* Simplify GET_CURRENT_LINKED_PROGRAM() macro and calling code.Brian Paul2006-11-031-34/+29
|
* Use inlined uniform() helper function in all the glUniform*() function toBrian Paul2006-11-031-216/+62
| | | | | | | 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-127/+137
| | | | | 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/+93
|
* run indent on the codeBrian Paul2006-11-021-865/+821
|
* Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.Michal Krol2006-08-011-0/+4
|
* Fix typo.Michal Krol2006-05-161-2/+2
|
* Cleanup GLhandle-to-object translation macros.Michal Krol2006-05-161-104/+88
| | | | Fix minor bugs.
* Add support for ARB_vertex_shader attrib binding and query.Michal Krol2006-04-181-72/+187
| | | | Clean-up ARB_shaderobjects code a bit.
* Silence a few -pedantic warnings.Brian Paul2006-04-141-98/+114
| | | | | Remove ^M chars. Replace _mesa_get_string() with simpler copy_string().
* GLSL fixes:Michal Krol2006-03-211-11/+39
| | | | | | | | | | | | | | | | | | - 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-42/+57
| | | | | - add texture sampling support; - fix assembly codegen bugs;
* More GLSL code:Michal Krol2006-02-271-719/+556
| | | | | | | | | | | | | - 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;
* More GLSL code:Michal Krol2006-02-211-44/+77
| | | | | | | - 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%.
* Rename current_program to CurrentProgram.Michal Krol2006-02-131-28/+28
| | | | Temporary vertex_shader execution code.
* Add shaderobjects_3dlabs.c back into build but use #ifdef ↵Brian Paul2005-04-071-6/+0
| | | | FEATURE_shading_language to enable/disable relevant code.
* Use FEATURE_shading_language to control whether the shading languageBrian Paul2005-04-011-3/+3
| | | | | compiler is hooked in. May be enabled on compiler command line by setting -DFEATURE_shading_lanuage=1.
* Disable _mesa_3dlabs_create_{program,shader}_object references.Adam Jackson2005-03-301-0/+4
|
* Disable C++ shading language code yet again. Doesn't compile with olderBrian Paul2005-03-291-0/+2
| | | | g++ installations.
* re-enable _mesa_init_shaderobjects_3dlabs() callBrian Paul2005-03-291-2/+0
|
* disable _mesa_init_shaderobjects_3dlabs() call until build is fixedBrian Paul2005-03-261-0/+2
|
* cleanup query functionsMichal Krol2005-03-251-910/+966
|
* implement ARB_shader_objects, not completeMichal Krol2005-01-131-91/+957
|
* update some type namesBrian Paul2004-11-261-0/+2
|
* by karoshi - ARB_shader_objects implementationMichal Krol2004-10-271-0/+258
empty routines by now