llvmpipe: minor cleanups in line rendering code
authorRoland Scheidegger <sroland@vmware.com>
Thu, 30 Mar 2023 16:31:52 +0000 (18:31 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 14 Apr 2023 20:41:09 +0000 (20:41 +0000)
commit9b6abe4206bda1ae87ae273295fe8e1988bdd674
tree14efb7a33ed5543fc2ad4ba01fc5977e0b3c7713
parent82c22580192502bcacb9f96319b560a09031219b
llvmpipe: minor cleanups in line rendering code

Use float constants, some code deduplication, no functional change.

Reviewed-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22481>
src/gallium/drivers/llvmpipe/lp_setup_line.c