commit | 9d796b21ac1acce5438c54114f090b9dc709e008 | [log] [tgz] |
---|---|---|
author | Qiang Yu <yuq825@gmail.com> | Mon Jul 19 09:54:37 2021 +0800 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Aug 19 02:17:35 2021 +0000 |
tree | adb74b51140693c805f5ec34b6c4d5bdc0072fbb | |
parent | bce19b3a779fd3526ef6368bc2fb180da23ba53e [diff] |
nir/inline_uniforms: add uniforms in condition atomically Unless all uniforms in the condition can be inlined we can lower the if/loop. So we rollback added uniforms when one of uniforms in a if condition fail to be added. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11950>