diff options
author | Danylo Piliaiev <dpiliaiev@igalia.com> | 2021-01-12 17:03:11 +0200 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-01-13 09:55:47 +0000 |
commit | 5331b1d9456e674751ffe0d68c08e0c6d3ea0d17 (patch) | |
tree | 5ecd387c06880a5ddf60dfca2ec11dc1e797f66a /src/amd/vulkan | |
parent | a6ae7b242160ab867b1eda3c3fb4f75020129338 (diff) |
turnip: implement indirect dispatch
Vulkan guarantees only 4 byte alignment of offset for vkCmdDrawIndirect,
while CP_LOAD_STATE.EXT_SRC_ADDR requires 16 byte alignment which
makes us copy indirect parameters to a correctly aligned buffer.
Blob does essentially the same but emits indirect CP_LOAD_STATE
with src = SS6_UBO and EXT_SRC_ADDR = 0xe0000, and only for a
first dispatch.
Fixes:
dEQP-VK.compute.indirect_dispatch.*
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8444>
Diffstat (limited to 'src/amd/vulkan')
0 files changed, 0 insertions, 0 deletions