<div dir="ltr"><div dir="ltr"><div dir="ltr">Thanks to the new NIR load_descriptor intrinsic added by the UBO/SSBO<br>lowering series, we weren't getting UBO pushing because the UBO range<br>detection pass couldn't see the constants it needed.  This fixes that<br>problem with a quick round of constant folding.  Because we're folding<br>we no longer need to go out of our way to generate constants when we<br>lower the vulkan_resource_index intrinsic and we can make it a bit<br>simpler.<br></div><div dir="ltr"><br></div><div dir="ltr"><a href="https://gitlab.freedesktop.org/mesa/mesa/merge_requests/82">https://gitlab.freedesktop.org/mesa/mesa/merge_requests/82</a><br></div></div></div>