e9c37e5ba8
get_dword_size() is misleading, its name implies it's returning a size in dwords, but it's actually returning a size in bytes. This led to a wrong size passed to emit_cbv(). Instead of fixing get_dword_size(), let's inline the code in emit_ubo_var(). Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17230>