summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/shaderobjects.c
Commit message (Collapse)AuthorAgeFilesLines
* 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