tnl: Silence unused parameter 'attrib' warning in convert_half_to_float
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 8 Apr 2020 03:42:30 +0000 (20:42 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 13 Apr 2020 17:26:45 +0000 (10:26 -0700)
commit1996f1d3dd2ddd5e894ce608436219c63872570f
tree4732d63a5a333dc00092a750ec3edd425a058d5c
parent7a03240b635cd67f345811b86b9faf106f862ec0
tnl: Silence unused parameter 'attrib' warning in convert_half_to_float

Also clean up some trivial code / whitespace style issues.

src/mesa/tnl/t_draw.c: In function ‘convert_half_to_float’:
src/mesa/tnl/t_draw.c:121:57: warning: unused parameter ‘attrib’ [-Wunused-parameter]
  121 |                       const struct gl_array_attributes *attrib,
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4512>
src/mesa/tnl/t_draw.c