Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Massive re-org of GLSL-related API functions. | Brian | 2006-12-19 | 1 | -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. | Brian | 2006-12-14 | 1 | -0/+1 |
| | |||||
* | Updates for new linker (merged varying/uniform vars). | Brian | 2006-12-14 | 1 | -7/+11 |
| | |||||
* | Checkpoint of work for new GLSL compiler back-end. Lots of assorted changes. | Brian | 2006-12-13 | 1 | -6/+145 |
| | |||||
* | improved error mesages | Brian Paul | 2006-11-15 | 1 | -2/+2 |
| | |||||
* | fix casts to silence warnings | Brian Paul | 2006-11-15 | 1 | -5/+5 |
| | |||||
* | Fix _mesa_IsProgram() and _mesa_IsShader() | Brian Paul | 2006-11-03 | 1 | -4/+16 |
| | |||||
* | implement _mesa_GetShaderiv() | Brian Paul | 2006-11-03 | 1 | -2/+30 |
| | |||||
* | implement _mesa_GetProgramiv() | Brian Paul | 2006-11-03 | 1 | -3/+40 |
| | |||||
* | Simplify GET_CURRENT_LINKED_PROGRAM() macro and calling code. | Brian Paul | 2006-11-03 | 1 | -34/+29 |
| | |||||
* | Use inlined uniform() helper function in all the glUniform*() function to | Brian Paul | 2006-11-03 | 1 | -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 Paul | 2006-11-03 | 1 | -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 Paul | 2006-11-02 | 1 | -1/+1 |
| | |||||
* | OpenGL 2.0 entrypoints | Brian Paul | 2006-11-02 | 1 | -0/+93 |
| | |||||
* | run indent on the code | Brian Paul | 2006-11-02 | 1 | -865/+821 |
| | |||||
* | Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492. | Michal Krol | 2006-08-01 | 1 | -0/+4 |
| | |||||
* | Fix typo. | Michal Krol | 2006-05-16 | 1 | -2/+2 |
| | |||||
* | Cleanup GLhandle-to-object translation macros. | Michal Krol | 2006-05-16 | 1 | -104/+88 |
| | | | | Fix minor bugs. | ||||
* | Add support for ARB_vertex_shader attrib binding and query. | Michal Krol | 2006-04-18 | 1 | -72/+187 |
| | | | | Clean-up ARB_shaderobjects code a bit. | ||||
* | Silence a few -pedantic warnings. | Brian Paul | 2006-04-14 | 1 | -98/+114 |
| | | | | | Remove ^M chars. Replace _mesa_get_string() with simpler copy_string(). | ||||
* | GLSL fixes: | Michal Krol | 2006-03-21 | 1 | -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 Krol | 2006-03-14 | 1 | -42/+57 |
| | | | | | - add texture sampling support; - fix assembly codegen bugs; | ||||
* | More GLSL code: | Michal Krol | 2006-02-27 | 1 | -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 Krol | 2006-02-21 | 1 | -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 Krol | 2006-02-13 | 1 | -28/+28 |
| | | | | Temporary vertex_shader execution code. | ||||
* | Add shaderobjects_3dlabs.c back into build but use #ifdef ↵ | Brian Paul | 2005-04-07 | 1 | -6/+0 |
| | | | | FEATURE_shading_language to enable/disable relevant code. | ||||
* | Use FEATURE_shading_language to control whether the shading language | Brian Paul | 2005-04-01 | 1 | -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 Jackson | 2005-03-30 | 1 | -0/+4 |
| | |||||
* | Disable C++ shading language code yet again. Doesn't compile with older | Brian Paul | 2005-03-29 | 1 | -0/+2 |
| | | | | g++ installations. | ||||
* | re-enable _mesa_init_shaderobjects_3dlabs() call | Brian Paul | 2005-03-29 | 1 | -2/+0 |
| | |||||
* | disable _mesa_init_shaderobjects_3dlabs() call until build is fixed | Brian Paul | 2005-03-26 | 1 | -0/+2 |
| | |||||
* | cleanup query functions | Michal Krol | 2005-03-25 | 1 | -910/+966 |
| | |||||
* | implement ARB_shader_objects, not complete | Michal Krol | 2005-01-13 | 1 | -91/+957 |
| | |||||
* | update some type names | Brian Paul | 2004-11-26 | 1 | -0/+2 |
| | |||||
* | by karoshi - ARB_shader_objects implementation | Michal Krol | 2004-10-27 | 1 | -0/+258 |
empty routines by now |