commit | fb56fb02a1e9a94144bc2d5fb148e343c19a930b | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Thu Oct 08 11:09:11 2020 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Sun Oct 25 08:02:06 2020 +1000 |
tree | adff7004a2a95f724ecf112e701840ad75e45941 | |
parent | 9c1f6ed80441bcd1cb4fec7a12201240e9249ea9 [diff] |
gallivm: add load/store scratch support. Scratch space is per-thread space, so allocate the scratch size * vector width, and add a per-thread base offset to each load/store. This is needed for OpenCL private memory space Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7304>