Mesa (master): mesa/sso: Add extension entry points for GL_ARB_separate_shader_objects

Ian Romanick idr at kemper.freedesktop.org
Fri Feb 21 23:41:20 UTC 2014


Module: Mesa
Branch: master
Commit: 73b78f9c9f86dd38fb165f4730aeac9519635b07
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73b78f9c9f86dd38fb165f4730aeac9519635b07

Author: Gregory Hainaut <gregory.hainaut at gmail.com>
Date:   Fri May  3 19:44:05 2013 +0200

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 at intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

---

 src/mapi/glapi/gen/ARB_separate_shader_objects.xml |  401 ++++++++++++++++++++
 src/mapi/glapi/gen/Makefile.am                     |    1 +
 src/mapi/glapi/gen/gl_API.xml                      |    6 +-
 src/mapi/glapi/gen/gl_genexec.py                   |    1 +
 src/mesa/Makefile.sources                          |    1 +
 src/mesa/main/pipelineobj.c                        |  133 +++++++
 src/mesa/main/pipelineobj.h                        |   70 ++++
 src/mesa/main/shaderapi.c                          |   11 +
 src/mesa/main/shaderapi.h                          |    5 +
 src/mesa/main/tests/dispatch_sanity.cpp            |   86 ++---
 src/mesa/main/uniforms.c                           |  400 +++++++++++++++++++
 src/mesa/main/uniforms.h                           |   83 ++++
 12 files changed, 1154 insertions(+), 44 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=73b78f9c9f86dd38fb165f4730aeac9519635b07



More information about the mesa-commit mailing list