summaryrefslogtreecommitdiffstats
path: root/src/glsl/link_uniforms.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-01-21 22:49:39 -0500
committerIan Romanick <[email protected]>2013-01-25 09:07:34 -0500
commit9a204bb9f611e34396ea838b44517dd6eeb99bcc (patch)
tree6e977fd00b378c08803264115b643daeb3fd514f /src/glsl/link_uniforms.cpp
parent141e9d42f518fb113dcaf01fcb0c82b14726ebd6 (diff)
glsl: Add new uniform_field_visitor::visit_field variant
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Carl Worth <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/link_uniforms.cpp')
-rw-r--r--src/glsl/link_uniforms.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glsl/link_uniforms.cpp b/src/glsl/link_uniforms.cpp
index 90d46da0721..c15bb30afe5 100644
--- a/src/glsl/link_uniforms.cpp
+++ b/src/glsl/link_uniforms.cpp
@@ -113,6 +113,13 @@ uniform_field_visitor::recursion(const glsl_type *t, char **name,
}
}
+void
+uniform_field_visitor::visit_field(const glsl_struct_field *field)
+{
+ (void) field;
+ /* empty */
+}
+
/**
* Class to help calculate the storage requirements for a set of uniforms
*