mesa/st: flag ST_NEW_CONSTANTS upon running nir_lower_point_size_mov
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 30 Jul 2020 15:05:06 +0000 (11:05 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 18 Dec 2020 16:06:05 +0000 (16:06 +0000)
commit6669d6ff0a615c3e68b54337de835e9b17e572b5
tree0982cc6c3b5c96eb850e8414e651c1a761c36d52
parent7eb5fd98fd188c2765b80c278086e5a4382539a8
mesa/st: flag ST_NEW_CONSTANTS upon running nir_lower_point_size_mov

this reduces to a load_ubo after optimization, so we need to ensure that
the constant data is put in a buffer instead of relying on it happening
coincidentally

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