mesa/st: Deduplicate the NIR uniform lowering code.
authorEric Anholt <eric@anholt.net>
Mon, 6 Jan 2020 19:47:03 +0000 (11:47 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Jan 2020 23:55:00 +0000 (23:55 +0000)
commitb807f7a43a4df6a13ec365a4c2f152a81e64731b
tree5741ff8e328e2dbf58574895becb83ff0808a73a
parent8832a884345686e6a8b2c0c8aa7515ad3f775b9e
mesa/st: Deduplicate the NIR uniform lowering code.

Just a little refactor as I go looking at the type size functions.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3297>
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_nir.h
src/mesa/state_tracker/st_nir_builtins.c