summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/link_uniforms.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2017-10-31 15:06:24 -0700
committerIan Romanick <[email protected]>2017-11-08 18:37:29 -0800
commitae1fd09c1d5cad98c9c5e92fbc32ec5af79d210c (patch)
tree001d13ba74b2d0e53b05412651a007f4fca25306 /src/compiler/glsl/link_uniforms.cpp
parent2c7657f62cd717ecb38487620e56c67b3c785809 (diff)
glsl: Remove program_resource_visitor::visit_field(const glsl_struct_field *)
I could not find any remaining users. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/glsl/link_uniforms.cpp')
-rw-r--r--src/compiler/glsl/link_uniforms.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/compiler/glsl/link_uniforms.cpp b/src/compiler/glsl/link_uniforms.cpp
index 30c48b94fce..4aa29f45b27 100644
--- a/src/compiler/glsl/link_uniforms.cpp
+++ b/src/compiler/glsl/link_uniforms.cpp
@@ -132,9 +132,6 @@ program_resource_visitor::recursion(const glsl_type *t, char **name,
const char *field = t->fields.structure[i].name;
size_t new_length = name_length;
- if (t->fields.structure[i].type->is_record())
- this->visit_field(&t->fields.structure[i]);
-
if (t->is_interface() && t->fields.structure[i].offset != -1)
this->set_buffer_offset(t->fields.structure[i].offset);
@@ -216,11 +213,6 @@ program_resource_visitor::recursion(const glsl_type *t, char **name,
}
void
-program_resource_visitor::visit_field(const glsl_struct_field *)
-{
-}
-
-void
program_resource_visitor::enter_record(const glsl_type *, const char *, bool,
const enum glsl_interface_packing)
{