summaryrefslogtreecommitdiff
path: root/src/mesa/main/shaderobj.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-05mesa: remove outdated version lines in commentsRico Schüller1-1/+0
Signed-off-by: Brian Paul <brianp@vmware.com>
2013-04-23mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke1-3/+4
The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <brianp@vmware.com>
2013-04-23mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke1-1/+1
This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <brianp@vmware.com>
2013-04-23mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke1-1/+1
Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <brianp@vmware.com>
2011-11-09mesa,glsl,mapi: Put extern "C" { ... } where appropriate.José Fonseca1-0/+3
Probably a several places missing, but enough to cover all headers (in)directly included by uniform_query.cpp, and fix the MSVC build.
2011-10-01mesa: s/INLINE/inline/Brian Paul1-2/+2
INLINE is still seen in some files (some generated files, etc) but this is a good start. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
2010-11-23mesa: replace #defines with new gl_shader_type enumBrian Paul1-2/+2
2010-10-26mesa: remove the unused _mesa_is_fragment_shader_active() functionBrian Paul1-12/+0
This reverts commit 013d5ffeec3af5665c81c6a7a8370d21699ca609.
2010-10-23mesa: added _mesa_is_fragment_shader_active() helperBrian Paul1-0/+12
2010-10-23mesa: minor reformatting, clean-upsBrian Paul1-8/+10
2010-10-15mesa: Add missing header to shaderobj.h.Vinson Lee1-0/+1
Include compiler.h for ASSERT symbol.
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg1-15/+15
2010-09-08mesa: add PIPE_SHADER_* like constants and conversions to/from enums (v2)Luca Barbieri1-0/+31
Changes in v2: - No longer adds tessellation enums
2010-08-26i965: Start building 965 FS backend.Eric Anholt1-0/+5
2010-08-11glsl2: remove stray semicolonBrian Paul1-1/+1
2010-07-26Merge remote branch 'origin/master' into glsl2Eric Anholt1-0/+98
This pulls in multiple i965 driver fixes which will help ensure better testing coverage during development, and also gets past the conflicts of the src/mesa/shader -> src/mesa/program move. Conflicts: src/mesa/Makefile src/mesa/main/shaderapi.c src/mesa/main/shaderobj.h
2010-06-10mesa: refactor shader api / object codeBrian Paul1-0/+78
Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.