i965: Add brw_get_line_width_float.
authorRafael Antognolli <rafael.antognolli@intel.com>
Wed, 26 Apr 2017 23:27:13 +0000 (16:27 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 4 May 2017 01:57:51 +0000 (18:57 -0700)
commite00d159f4d3da318d887e6057bab7c6b418e0080
tree9703418752e905afe9f0ad478b3b391779aaa702
parent13ac46557ab14006679e104d956c6fb5858fa87f
i965: Add brw_get_line_width_float.

That helper function returns the line width as a float, and is then used
by brw_get_line_width to return the fixed point width.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_util.h