OSDN Git Service

mesa/sso: Add extension entry points for GL_ARB_separate_shader_objects
authorGregory Hainaut <gregory.hainaut@gmail.com>
Fri, 3 May 2013 17:44:05 +0000 (19:44 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 21 Feb 2014 23:41:02 +0000 (15:41 -0800)
commit73b78f9c9f86dd38fb165f4730aeac9519635b07
treec180d4f82c8637b908122f954f168ebd7787b1f3
parent4d14b190bbaf4d1c56f5c8d2fae3fcddb44cc4c2
mesa/sso: Add extension entry points for GL_ARB_separate_shader_objects

Nothings implemented yet but glProgramUniform* which are mostly a
copy/paste of the older function glUniform*

I create dedicated pipelineobj.[ch] file that will contains function
related to the "new" pipeline container object.

V2: formatting improvement

V3:
* indentation fix
* Update copyright
* Add a comment on ProgramParameteri already present in another extension
* Remove TODO, will be readded on correct patch

V4 (idr):
* Fix dispatch_sanity unit test
* Make extension string available in core profiles (instead of just
  compatibility).
* Trivial reformating

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
12 files changed:
src/mapi/glapi/gen/ARB_separate_shader_objects.xml [new file with mode: 0644]
src/mapi/glapi/gen/Makefile.am
src/mapi/glapi/gen/gl_API.xml
src/mapi/glapi/gen/gl_genexec.py
src/mesa/Makefile.sources
src/mesa/main/pipelineobj.c [new file with mode: 0644]
src/mesa/main/pipelineobj.h [new file with mode: 0644]
src/mesa/main/shaderapi.c
src/mesa/main/shaderapi.h
src/mesa/main/tests/dispatch_sanity.cpp
src/mesa/main/uniforms.c
src/mesa/main/uniforms.h