Skip to content

panfrost: Adapt emit_shared_memory for indirect dispatch

Alyssa Rosenzweig requested to merge alyssa/mesa:panfrost/wls-refactor into main

Indirect dispatch does not actually require any dynamic memory allocation, even with shared memory. We just need to set wls_instances to some (mostly arbitrary) value, statically allocate memory based on that, and let the hardware throttle workgroups to fit if needed.

Signed-off-by: Alyssa Rosenzweig alyssa@collabora.com

Merge request reports