diff options
author | Eric Anholt <[email protected]> | 2020-01-06 12:00:57 -0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-14 23:55:00 +0000 |
commit | bc4f089d0167dc22fb86c85fbd0fd0fa6f073a85 (patch) | |
tree | 7de37a77455a8e421f92cc6acef4c8e1b3e6fb4c /src/amd | |
parent | 4cabd4812a6b2a15d15cd889778a36956574c9a3 (diff) |
mesa/st: Move the dword slot counting function to glsl_types as well.
To implement NIR-to-TGSI, we need to be able to get the size of the
uniform variable for the TGSI declaration, not just the
.driver_location. With its location in mesa/st, drivers couldn't link
to it from nir-to-tgsi.
This feels like a common enough function to want, so let's share it in
the core compiler.
Reviewed-by: Kristian H. Kristensen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3297>
Diffstat (limited to 'src/amd')
0 files changed, 0 insertions, 0 deletions