turnip: emit_compute_driver_params fixes
authorJonathan Marek <jonathan@marek.ca>
Thu, 19 Dec 2019 03:38:09 +0000 (22:38 -0500)
committerJonathan Marek <jonathan@marek.ca>
Thu, 19 Dec 2019 20:13:40 +0000 (15:13 -0500)
commitf81c41a812c07ca01ee05d60bf6c1551157161d5
tree8adc2a98167539b4c662bcc30c70a77a6eb5e50d
parentbb134c531629978a3f2a9c6bb603a4404c906f08
turnip: emit_compute_driver_params fixes

Offset was wrong, it is in vec4 not dwords.

There's a hole between DP_NUM_WORK_GROUPS_Z and DP_LOCAL_GROUP_SIZE_X so
use the IR3 enums.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3162>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3162>
src/freedreno/vulkan/tu_cmd_buffer.c