gallium/util: Add a helper function for point sprite handling.
authorEric Anholt <eric@anholt.net>
Tue, 3 Dec 2019 23:26:29 +0000 (15:26 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 29 Jun 2020 16:07:17 +0000 (09:07 -0700)
commit64cb81a3a4ad0b2c794a276ca22c7fd39a1856a8
tree365a1397ddceda9a7cf942367c9314da19b242d1
parent622c548967a3ba7f7522057e10d696600b1b002c
gallium/util: Add a helper function for point sprite handling.

Many drivers will need to do the same thing here, so consolidate it.

Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2952>
src/gallium/auxiliary/util/u_helpers.h