diff options
author | marha <marha@users.sourceforge.net> | 2013-07-04 13:38:47 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-07-04 13:38:47 +0200 |
commit | 2ecad38adbeaa652daaab8f2a6d112921b7e74eb (patch) | |
tree | adce02d84ceeb4be5fef88a1ba490b1294685a5b /mesalib/src/glsl/link_varyings.h | |
parent | 28d1f604563d9c738a4c5630364d0e6b4e9b13ff (diff) | |
download | vcxsrv-2ecad38adbeaa652daaab8f2a6d112921b7e74eb.tar.gz vcxsrv-2ecad38adbeaa652daaab8f2a6d112921b7e74eb.tar.bz2 vcxsrv-2ecad38adbeaa652daaab8f2a6d112921b7e74eb.zip |
fontconfig mesa libxcb git update 4 jul 2013
libxcb commit 8b6bb1a71977116d382f45eef803aedd3e313d37
libxcb/xcb-proto commit e6a246e50e62cbcba33d0e1d2371e69e6e089383
fontconfig commit d420e1df983871ab18b0f07976596fdf0ce78847
mesa commit bbd1e60198548a12be3405fc32dd39a87e8968ab
Diffstat (limited to 'mesalib/src/glsl/link_varyings.h')
-rw-r--r-- | mesalib/src/glsl/link_varyings.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mesalib/src/glsl/link_varyings.h b/mesalib/src/glsl/link_varyings.h index ee1010a7b..7f7be353b 100644 --- a/mesalib/src/glsl/link_varyings.h +++ b/mesalib/src/glsl/link_varyings.h @@ -125,6 +125,10 @@ public: return this->vector_elements * this->matrix_columns * this->size; } + unsigned get_location() const { + return this->location; + } + private: /** * The name that was supplied to glTransformFeedbackVaryings. Used for @@ -232,4 +236,9 @@ assign_varying_locations(struct gl_context *ctx, unsigned num_tfeedback_decls, tfeedback_decl *tfeedback_decls); +bool +check_against_varying_limit(struct gl_context *ctx, + struct gl_shader_program *prog, + gl_shader *consumer); + #endif /* GLSL_LINK_VARYINGS_H */ |