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>
This commit is contained in:
@@ -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 */)
|
||||
{
|
||||
|
Reference in New Issue
Block a user