diff options
author | Robert Bragg <robert@linux.intel.com> | 2013-01-19 16:00:33 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2013-01-22 17:48:07 +0000 |
commit | 7fa04bb1a667abd27ffcf39bd595bc777dbe75c3 (patch) | |
tree | ce58d3bedf8670202ef5e8352dfa80478b9c1f19 /cogl/cogl-context-private.h | |
parent | 1c449c67f6a02963fdcdbaaec44079a3b6aaa74c (diff) | |
download | cogl-7fa04bb1a667abd27ffcf39bd595bc777dbe75c3.tar.gz |
Adds back tex_coord array for CoglShader compatibility
This adds back compatibility for CoglShaders that reference the
cogl_tex_coord_in[] or cogl_tex_coord_out[] varyings. Unlike the
previous way this was done this patch maintains the use of layer numbers
for attributes and maintains forwards compatibility by letting shaders
alternatively access the per-layer tex_coord varyings via
cogl_tex_coord%i_in/out defines that index into the array.
Diffstat (limited to 'cogl/cogl-context-private.h')
-rw-r--r-- | cogl/cogl-context-private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cogl/cogl-context-private.h b/cogl/cogl-context-private.h index 06acc3c0..63400026 100644 --- a/cogl/cogl-context-private.h +++ b/cogl/cogl-context-private.h @@ -140,6 +140,7 @@ struct _CoglContext CoglPipeline *texture_pipeline; /* used for set_source_texture */ GString *codegen_header_buffer; GString *codegen_source_buffer; + GString *codegen_boilerplate_buffer; GList *source_stack; int legacy_state_set; |