summaryrefslogtreecommitdiff
path: root/src/mesa/shader/shaderobjects.c
AgeCommit message (Collapse)Author
2006-11-15improved error mesagesBrian Paul
2006-11-15fix casts to silence warningsBrian Paul
2006-11-03Fix _mesa_IsProgram() and _mesa_IsShader()Brian Paul
2006-11-03implement _mesa_GetShaderiv()Brian Paul
2006-11-03implement _mesa_GetProgramiv()Brian Paul
2006-11-03Simplify GET_CURRENT_LINKED_PROGRAM() macro and calling code.Brian Paul
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-02s/_mesa_IsProgram2/_mesa_IsProgram/Brian Paul
2006-11-02OpenGL 2.0 entrypointsBrian Paul
2006-11-02run indent on the codeBrian Paul
2006-08-01Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.Michal Krol
2006-05-16Fix typo.Michal Krol
2006-05-16Cleanup GLhandle-to-object translation macros.Michal Krol
Fix minor bugs.
2006-04-18Add support for ARB_vertex_shader attrib binding and query.Michal Krol
Clean-up ARB_shaderobjects code a bit.
2006-04-14Silence a few -pedantic warnings.Brian Paul
Remove ^M chars. Replace _mesa_get_string() with simpler copy_string().
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-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-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-13Rename current_program to CurrentProgram.Michal Krol
Temporary vertex_shader execution code.
2005-04-07Add shaderobjects_3dlabs.c back into build but use #ifdef ↵Brian Paul
FEATURE_shading_language to enable/disable relevant code.
2005-04-01Use FEATURE_shading_language to control whether the shading languageBrian Paul
compiler is hooked in. May be enabled on compiler command line by setting -DFEATURE_shading_lanuage=1.
2005-03-30Disable _mesa_3dlabs_create_{program,shader}_object references.Adam Jackson
2005-03-29Disable C++ shading language code yet again. Doesn't compile with olderBrian Paul
g++ installations.
2005-03-29re-enable _mesa_init_shaderobjects_3dlabs() callBrian Paul
2005-03-26disable _mesa_init_shaderobjects_3dlabs() call until build is fixedBrian Paul
2005-03-25cleanup query functionsMichal Krol
2005-01-13implement ARB_shader_objects, not completeMichal Krol
2004-11-26update some type namesBrian Paul
2004-10-27by karoshi - ARB_shader_objects implementationMichal Krol
empty routines by now