c224bc6f70
As Intel does. These functions are written with the expectation that they will be inlined away, allowing gcc's copy-prop and constant folding to eliminate the template struct and any unused fields. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21848>