diff options
author | Ian Romanick <[email protected]> | 2016-05-19 12:06:55 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-05-24 11:04:05 -0700 |
commit | 78399cf17031ea8fe401769bb92a60b0ac7001ea (patch) | |
tree | 468e856a1e1c6d9f4a61c5a612e7bc12d0c086b6 /src/compiler | |
parent | 2bb935be2e9f503a9d8ee88aebff782ec3473f70 (diff) |
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 <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Alejandro Piñeiro <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/glsl/link_uniforms.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/link_uniforms.cpp b/src/compiler/glsl/link_uniforms.cpp index 92f10958490..ff2989f8cff 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 */) { |