summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/link_uniforms.cpp
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2016-05-19 12:06:55 -0700
committerIan Romanick <ian.d.romanick@intel.com>2016-05-24 11:04:05 -0700
commit78399cf17031ea8fe401769bb92a60b0ac7001ea (patch)
tree468e856a1e1c6d9f4a61c5a612e7bc12d0c086b6 /src/compiler/glsl/link_uniforms.cpp
parent2bb935be2e9f503a9d8ee88aebff782ec3473f70 (diff)
downloadexternal_mesa3d-78399cf17031ea8fe401769bb92a60b0ac7001ea.zip
external_mesa3d-78399cf17031ea8fe401769bb92a60b0ac7001ea.tar.gz
external_mesa3d-78399cf17031ea8fe401769bb92a60b0ac7001ea.tar.bz2
glsl/linker: Silence unused parameter warning
The parameter is required for the interface. glsl/link_uniforms.cpp:689:61: warning: unused parameter ‘record_type’ [-Wunused-parameter] bool row_major, const glsl_type *record_type, ^ Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Diffstat (limited to 'src/compiler/glsl/link_uniforms.cpp')
-rw-r--r--src/compiler/glsl/link_uniforms.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/link_uniforms.cpp b/src/compiler/glsl/link_uniforms.cpp
index 92f1095..ff2989f 100644
--- a/src/compiler/glsl/link_uniforms.cpp
+++ b/src/compiler/glsl/link_uniforms.cpp
@@ -686,7 +686,7 @@ private:
}
virtual void visit_field(const glsl_type *type, const char *name,
- bool row_major, const glsl_type *record_type,
+ bool row_major, const glsl_type * /* record_type */,
const unsigned packing,
bool /* last_field */)
{