mesa/st: only flag pointsize constant uploads if they're needed
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 31 Mar 2022 16:31:29 +0000 (12:31 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 8 Apr 2022 01:56:10 +0000 (21:56 -0400)
commit4f027fbff234140b5c89831312c4715d78d3ed41
tree1b98aaa307db65f75d1a5a98f0c48f7915ca0354
parentf964881fcc41925645fa271a465a7369cd6572ac
mesa/st: only flag pointsize constant uploads if they're needed

now that shaders are guaranteed to have a pointsize export, the only time
the variant using the uploaded constant is needed is when pointsize != 1.0

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