summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaders.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Fix/add feature test to shader.c.Chia-I Wu2010-05-311-1/+3
| | | | | Those macros used by _mesa_init_shader_dispatch are not available when FEATURE_GL is not defined.
* Revert the 'make static' part of 962f92611216e304c95e7c089b38d58066236014Kristian Høgsberg2010-05-261-78/+71
| | | | | | | | The es1 and es2 dispath table initialization code is generated from the API XML files and we can't easily share the dispatch table code setup. Keep the _mesa_init_shader_dispatch() part of the patch, but roll back the static-ization of shader entrypoints so es1 and es2 dispatch initialization still works.
* mesa: make a bunch of shader API functions staticBrian Paul2010-05-251-71/+168
|
* mesa: unsigned int uniform functions (GL3)Brian Paul2010-05-251-0/+71
|
* Merge branch 'gles2-2'Kristian Høgsberg2010-05-021-0/+28
|\ | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.h
| * mesa: Move GLES2 shader stubs to main/shaders.cKristian Høgsberg2010-04-271-0/+28
| |
* | mesa: s/sprintf/_mesa_snprintf/Vinson Lee2010-05-021-1/+1
|/
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-191-1/+1
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-6/+6
|
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-191-2/+2
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_strlen in favor of plain strlen.Kenneth Graunke2010-02-191-1/+1
|
* glsl: make shader substitution a little betterBrian Paul2009-10-291-3/+16
|
* mesa: rework _mesa_read_shader() debug hookBrian Paul2009-10-131-12/+12
| | | | | Look for shaders named "newshader_<CHECKSUM>" to replace the incoming shader text. For debug purposes.
* mesa: remove unused matrixType param from ctx->Driver.UniformMatrix() functionsBrian Paul2009-04-141-18/+9
|
* mesa: added _mesa_read_shader() function to read shaders from filesBrian Paul2009-03-061-0/+51
| | | | Useful for debugging to override an application's shader.
* mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861Brian Paul2008-10-161-15/+6
|
* mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861Brian Paul2008-10-101-1/+12
|
* GLSL: Implement GL_OBJECT_TYPE_ARB queryIan Romanick2008-09-291-2/+10
| | | | | | | The GL_OBJECT_TYPE_ARB query is handled directly in _mesa_GetObjectParamterivARB because it is only supported in the extension version of the shanding language API. glGetProgramiv and glGetShaderiv should not accept this enum.
* mesa: remove debug codeBrian Paul2008-09-211-1/+0
|
* mesa: implement glGetUniformiv() with new ctx->Driver functionBrian Paul2008-09-211-0/+1
| | | | The old implementation could overwrite the caller's param buffer.
* mesa: remove debug codemesa_7_1_rc3Brian Paul2008-07-081-1/+0
|
* mesa: implement glGetUniformiv() with new ctx->Driver functionBrian Paul2008-07-081-5/+2
| | | | The old implementation could overwrite the caller's param buffer.
* mesa: fix some error codes in _mesa_ShaderSourceARB()Brian Paul2008-07-031-4/+4
|
* Fix a number of MINGW32 issuesZhang2007-07-211-4/+4
|
* silently ignore DeleteProgram/Shader(id=0)Brian2007-03-151-13/+19
|
* alloc an extra byte in _mesa_ShaderSourceARB() to silence a valgrind warningBrian2007-03-131-4/+9
|
* fix mem leak in _mesa_ShaderSourceARB()Brian2007-02-261-0/+2
|
* Massive re-org of GLSL-related API functions.Brian2006-12-191-0/+667
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.