diff options
author | Chris Forbes <chrisf@ijw.co.nz> | 2014-08-10 21:07:33 +1200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-07-23 17:25:14 +1000 |
commit | 25d6f56c08801909e784f81e9b9ced48977630f4 (patch) | |
tree | 2a36d76746496302c3e14150fcfc89c617be46eb /src/mesa/main/config.h | |
parent | 4c7b007104c63475ec080d0777a41603c78786f6 (diff) | |
download | external_mesa3d-25d6f56c08801909e784f81e9b9ced48977630f4.zip external_mesa3d-25d6f56c08801909e784f81e9b9ced48977630f4.tar.gz external_mesa3d-25d6f56c08801909e784f81e9b9ced48977630f4.tar.bz2 |
mesa: Add glGet support for ARB_shader_subroutine implementation limits
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r-- | src/mesa/main/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 66eb6cb..b35031d 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -274,6 +274,12 @@ #define MAX_VERTEX_STREAMS 4 /*@}*/ +/** For GL_ARB_shader_subroutine */ +/*@{*/ +#define MAX_SUBROUTINES 256 +#define MAX_SUBROUTINE_UNIFORM_LOCATIONS 1024 +/*@}*/ + /** For GL_INTEL_performance_query */ /*@{*/ #define MAX_PERFQUERY_QUERY_NAME_LENGTH 256 |